S32K1 SPI interrupt with RTD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K1 SPI interrupt with RTD

885 Views
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

 

 

Labels (1)
Tags (3)
0 Kudos
1 Reply

875 Views
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 Kudos