LIN driver alters GPIO in UART mode

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

LIN driver alters GPIO in UART mode

763 次查看
ianchuter
Contributor II

Hi 

I have an application running which communicates successfully using the LIN driver on a S9KEAZN16AMLH, however, while the LIN is communicating, the GPIO state is cleared apparently randomly - this stops if the LIN communication stops. The LIN is using UART, so does anyone know why it would be altering the GPIO state?

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

625 次查看
ianchuter
Contributor II

Hi

Thanks for your reply. This turned out to be an issue with my code - if the interrupt occurred at a certain point the GPIO was being left in a mess - I've restructured this part of my application and it can now ride out the interrupts without issue. 

0 项奖励
回复

625 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lan,

   Thanks for your updated information.

   If you still have question about it, just let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

625 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi lan Chuter,

   Do you mean when the LIN UART pin works, the according GPIO input status also changing?

  If yes, the phenomena is correct, because even you configure the pin to other modules function, the GPIO input status also works, it is correct.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复