JN5168 SPI master how to perform a continuous transfer?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JN5168 SPI master how to perform a continuous transfer?

636件の閲覧回数
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 返信

590件の閲覧回数
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 件の賞賛