LIN Master Mode Break generation

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

LIN Master Mode Break generation

跳至解决方案
1,039 次查看
wangyanjun
Contributor II

The Manual said:

wangyanjun_0-1610606300005.png

My questions are:

1. In LIN master mode, the break signal is not continuous, and after 13 bit time, tx pin will restore to high automatically, is this right?

2. In LIN master mode, if DELTARXBRK interrupt is enabled, there will be 2 times interrupt, first is after 11 bit time from the TXBRKEN is set, second is after 13 bit time when tx pin restore to high. Is this right?

 

Thank you!

标签 (1)
0 项奖励
回复
1 解答
1,017 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi,

1. Yes, that is correct.

2. If you enable DELTARXBRKEN then you can check you can check UART_STAT[DELTARXBRK] and UART_STAT[RXBRK] when LIN break happens. This will be after RX input remains low for 11 bit.

In addition I recommend you to check the following community document from a colleague that provides an example of using LIN master in LPC546x MCUs.

LPC54608 LIN master basic usage sharing - NXP Community

Hope it helps.

Best regards,

Felipe

-------------------------------------------------------------------------------

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 项奖励
回复
1 回复
1,018 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi,

1. Yes, that is correct.

2. If you enable DELTARXBRKEN then you can check you can check UART_STAT[DELTARXBRK] and UART_STAT[RXBRK] when LIN break happens. This will be after RX input remains low for 11 bit.

In addition I recommend you to check the following community document from a colleague that provides an example of using LIN master in LPC546x MCUs.

LPC54608 LIN master basic usage sharing - NXP Community

Hope it helps.

Best regards,

Felipe

-------------------------------------------------------------------------------

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 项奖励
回复