Hello everyone,
I'm trying to perform continuous transfer as SPI master. In Section 14.5.2 of JN516x Integrated Peripherals API document, it says "Continuous SPI transfers can be initiated by calling the function vAHI_SpiContinuous() instead of vAHI_SpiStartTransfer()." vAHI_SpiContinuous() does not take any parameter that will be sent over SPI. Replacing vAHI_SpiStartTransfer with vAHI_SpiStartContinuous does not make sense at all. Can anyone explain to me the right way of performing full-duplex continuous SPI transfers?
Hi,
I hope you are doing great.
Unfortunately, This function can be used to enable/disable continuous read mode. So, in this case, you will see invalid data and waiting for the Slave data. You have to specify the data length.
Value in range 0-31 indicating data length for transfer:
Regards,
Mario