NuMicro® NUC029LEE/NUC029SEE32-bit Arm® Cortex® -M0 MicrocontrollerAug, 2018 Page 351 of 497 Rev 1.00NUMICRO® NUC029LEE/NUC029SEE TECHNICAL REFERENCE MANUALWhen software enables the break detection function by setting LIN_BKDET_EN(UA_LIN_CTL[10]), the break detection circuit is activated. The break detection circuit is totallyindependent from the UART0/UART1 receiver.When the break detection function is enabled, the circuit looks at the input UART_RX pin for astart signal. If UART LIN controller detects consecutive dominant is greater than 11 bits dominantfollowed by a recessive bit (delimiter), the LIN_BKDET_F (UA_LIN_SR[8]) flag is set at the end ofbreak field. If the LIN_IEN (UA_IER[8]) bit is set to 1, an interrupt LIN_INT (UA_ISR[15]) will begenerated. The behavior of the break detection and break flag are shown in the Figure 6.13-12.LIN Bus IDLECapture Strobe0DelimiterLIN_BKDET_F1 2 3 4 5 6 7 8 9 10 11Case 2: Break signal is long enough to break detect and LIN_BKDET_F has been set.LIN Bus IDLECapture Strobe0DelimiterLIN_BKDET_F1 2 3 4 5 6 7 8 9 10 11Case 1: Break signal is not long enough to ignore this break signal and LIN_BKDET_F is not set.Figure 6.13-12 Break Detection in LIN ModeLIN break and delimiter detectionThe LIN master can transmit response (master is the publisher of the response) and receiveresponse (master is the subscriber of the response). When the master is the publisher of theresponse, the master sends response by writing the UA_THR register. If the master is thesubscriber of the response, the master will receive response from other slave node.LIN Frame ID and Parity FormatThe LIN frame ID value in LIN function mode is shown, the frame ID parity can be generated bysoftware or hardware depends on IDPEN (UART_LINCTL[9]) = 1.If the parity generated by hardware, user fill ID0~ID5, (UART_LINCTL [29:24] )hardware willcalculate P0 (UART_LINCTL[30]) and P1 (UART_LINCTL[31]), otherwise user must filled frameID and parity in this field.