LIN Master Mode Break generation

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN Master Mode Break generation

Jump to solution
60 Views
wangyanjun
Contributor I

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!

Labels (1)
0 Kudos
1 Solution
39 Views
FelipeGarcia
NXP TechSupport
NXP TechSupport

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.

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

View solution in original post

0 Kudos
1 Reply
40 Views
FelipeGarcia
NXP TechSupport
NXP TechSupport

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.

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

View solution in original post

0 Kudos