S32K1 SPI interrupt with RTD

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

S32K1 SPI interrupt with RTD

1,142 次查看
hns80
Contributor V

I'm trying to modify the Lpspi_Ip_InternalLoopback example to create an interrupt at the end of transmission. 

I can see that the Lpspi_Ip_ConfigType has a field to enable the interrupt with LPSPI_IP_INTERRUPT. 

I do not see any way to enable the interrupt through the peripheral perspective for the SPI driver. Is there a way to enable the interrupt without manually editing the generated code?

hns80_0-1648166945214.png

 

 

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

1,132 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi hns80,

Sorry for the inconvenience we bring you! 
There is currently no way to enable interrupts from the SPI driver's peripheral perspective. This problem has been reported in the system.

IP driver will be in POLLING mode after initialize as default mode, if you want to change to other mode Lpspi_Ip_UpdateTransferMode() should be used.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复