S32K312 SPI EXAMPLE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,591件の閲覧回数
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 件の賞賛
返信
1 解決策
1,561件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,562件の閲覧回数
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 件の賞賛
返信
1,522件の閲覧回数
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 件の賞賛
返信