S32K144 SPI Slave Mode Example

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

S32K144 SPI Slave Mode Example

2,077 次查看
chenguangjiang
Contributor I

Can anyone provide an example code for the SPI slave mode? The Design Studio only has code for Master mode configuration. I have trouble in setting the configuration registers and also the interrupt.

I am trying to use an external master to acquire information from the S32K144. The master device will manage the clock and chip select.

Thank you!

标记 (3)
0 项奖励
1 回复

1,340 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
There is LPSPI_transfer_S32K144 SDK example in S32DS.
The example uses two on board instances of LPSPI, one master and one slave.
The slave sends ADC results to the master.
Unfortunately, there is no non-SDK SPI slave example.

Regards,
Daniel

0 项奖励