LIN Master Mode Break generation

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

LIN Master Mode Break generation

Jump to solution
763 Views
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!

Labels (1)
0 Kudos
Reply
1 Solution
741 Views
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.

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

View solution in original post

0 Kudos
Reply
1 Reply
742 Views
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 Kudos
Reply