S32K312 SPI EXAMPLE

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

S32K312 SPI EXAMPLE

Jump to solution
1,576 Views
LEEYM
Contributor III

In the code below, the slave is sending an interrupt signal.

However, there is no separate IRQ in the PIN configuration, and I wonder how the master judges the interrupt signal request signal.

So, if you have a location or function to judge, please let me know.

 

LEEYM_0-1748562990541.png

LEEYM_1-1748562999763.png

 

this example name : Lpspi_FLEXIO_IP_TRANSFER_S32K312

0 Kudos
Reply
1 Solution
1,546 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you refer to Lpspi_Ip_UpdateTransferMode function, this does not send any interrupt signal on pin etc. It just updates mode a driver services transfer. For interrupt mode the driver will call peripheral interrupt (if enabled properly) and transferred bytes/words are processed in this interrupt.

PetrS_0-1748605054953.png

BR, Petr

 

View solution in original post

0 Kudos
Reply
2 Replies
1,547 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you refer to Lpspi_Ip_UpdateTransferMode function, this does not send any interrupt signal on pin etc. It just updates mode a driver services transfer. For interrupt mode the driver will call peripheral interrupt (if enabled properly) and transferred bytes/words are processed in this interrupt.

PetrS_0-1748605054953.png

BR, Petr

 

0 Kudos
Reply
1,507 Views
LEEYM
Contributor III

THANKS YOUR ANSWER ABOUT MY QUESTION.

AND.. I HAVE MORE QUESTION ABOUT INTERRUPT..

 

If I write an interrupt signal with a GPIO pin, can I just recognize it if I input it with LOW, HIGH, and the IP over there is in interrupt mode? Or should I set it up separately?

And if I set the IP setting to folding mode, do I just think of it as continuing to send and receive signals without any other signals? Periodically

0 Kudos
Reply