NuMicro® NUC029LEE/NUC029SEE32-bit Arm® Cortex® -M0 MicrocontrollerAug, 2018 Page 348 of 497 Rev 1.00NUMICRO® NUC029LEE/NUC029SEE TECHNICAL REFERENCE MANUALSOUT(from UART TX)IR_SOUT(encoder output)IR_SIN(decorder input)SIN(to UART RX)0 0 1 0 1 1 1 0 0 111Bit cycle width3/16 bit widthSTOP BITSTART BITIrDATX TimingIrDARX Timing0 1 0 0 1 0 1 0 0START BIT STOP BIT3/16 bit width1Figure 6.13-9 IrDA TX/RX Timing Diagram6.13.5.8 LIN (Local Interconnection Network) ModeThe UART0~UART2 supports LIN function. Setting FUN_SEL (UA_FUN_SEL[1:0]) to ’01’ toselect LIN mode operation. The UART0~UART2 supports LIN break/delimiter generation andbreak/delimiter detection in LIN master mode, and supports header detection and automaticresynchronization in LIN Slave mode.6.13.5.8.1 Structure of LIN FrameAccording to the LIN protocol, all information transmitted is packed as frames; a frame consists ofa header (provided by the master task) and a response (provided by a slave task), followed by aresponse (provided by a slave task). The header (provided by the master task) consists of a breakfield and a sync field followed by a frame identifier (frame ID). The frame identifier uniquelydefines the purpose of the frame. The slave task is appointed for providing the responseassociated with the frame ID. The response consists of a data field and a checksum field. TheFigure 6.13-10 is the structure of LIN Frame.Data 1 Data 2 Data N CheckSumProtectedIdentifierfieldHeaderResponsespace ResponseInter-framespaceFrameFrame slotSynchfieldBreakFieldFigure 6.13-10 Structure of LIN Frame