S32118I/O口产生中断之后 在 中断函数调用SPI读写函数无法跳出读写函数

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

S32118I/O口产生中断之后 在 中断函数调用SPI读写函数无法跳出读写函数

856 Views
liqing
Contributor II

HI NXP TEAM:

 After I initialize the SPI and interrupt, why do I generate an interrupt call function (LPSPI_DRV_MasterTransferBlocking through) I/O, and I can't skip from this function and keep looping through it?

0 Kudos
2 Replies

734 Views
liqing
Contributor II

Thank you! The problem has been solved.

0 Kudos

734 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello li qing,

Could you please share more information about the problem you are facing? If I understood correctly your program never returns from the function LPSPI_DRV_MasterTransferBlocking, correct? This function does not return until the transfer is complete. How are you calling this function?


Have a great day,
TIC

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