JN5168 SPI master how to perform a continuous transfer?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

JN5168 SPI master how to perform a continuous transfer?

620 次查看
sener_yilmaz
Contributor I

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?

0 项奖励
1 回复

574 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 项奖励