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,
Hello,
The transfer data length of CSI operation of SAU module on RL78/G13 can be 7 or 8 bits. 16 bits is not possible.
Regards
Hi AZ-Renesas
So I can't to communicate with AFE031 by using RL78/G13 ?
Is it possible to try any different way to communicate with AFE031 like continuous transfer mode or anything can help ?
or any other microcontroller are here in RL78 with 16 bit SPI ?
Continuous transfer mode is supported by G13:
Could this mode communicate with your device ?
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 via SPI.
But the matter is which one 8 bit we need to send first ( I was face success when I sent MSB side 8 bit data first after I sent LSB side 8 bit data ) and in our AFE031 Chip having a three supply input pins like below DVDD , AVDD , PA_supply. We are not expect even that necessary to give a power to PA_supply for read and write operations in registers. So Once I get success when I give a power to PA_supply pin.
Now it work on both single transfer and continuous transfer mode also
Thanks for your support.