LIN Master Mode Break generation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LIN Master Mode Break generation

ソリューションへジャンプ
748件の閲覧回数
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 解決策
726件の閲覧回数
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 返信
727件の閲覧回数
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 件の賞賛
返信