RL78/G13 - 16 bit data transfer over SPI

Hi,

I am using RL78/G13 microcontroller. I need to communicate with AFE031 (powerline data transfer chip) over SPI . In AFE031 registers have read and write operations are need to transfer 16 bit data. But our controller have a 8 bit data transfer at a time .

I was tried to split data in two no of 8 bit data to send in buffer. But I can't get the expect output from the registers. I received as 255 at all time. I can't get output. 

Is that problem occurred due to the 8 bit data transfer over SPI or that is not necessary?

Is it possible to transfer 16 bit data over SPI ?

Please help to find that problem.

Thanks,

Top Replies

  • in reply to AZ_Renesas +1 verified

    Hi

    It was work's .But the problem is not depended on 16 bit transfer SPI peripheral with communicate 8 bit transfer SPI MCU. Once I sent data as 2 no of 8 bit data can success the read registers…