S32K312 SPI EXAMPLE

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

S32K312 SPI EXAMPLE

跳至解决方案
1,632 次查看
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.pngLEEYM_0-1748562990541.png

LEEYM_1-1748562999763.pngLEEYM_1-1748562999763.png

 

this example name : Lpspi_FLEXIO_IP_TRANSFER_S32K312

0 项奖励
回复
1 解答
1,602 次查看
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.pngPetrS_0-1748605054953.png

BR, Petr

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,603 次查看
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.pngPetrS_0-1748605054953.png

BR, Petr

 

0 项奖励
回复
1,563 次查看
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 项奖励
回复