S32K1 SPI interrupt with RTD

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

S32K1 SPI interrupt with RTD

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

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