KL series LIN slave simply usage sharing

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

KL series LIN slave simply usage sharing

KL series LIN slave simply usage sharing

1 Abstract

     LIN (Local Interconnect Network) is a concept for low cost automotive networks, which complements the existing portfolio of automotive multiplex networks. LIN is based on the UART/SCT protocol. It can be used in the area of automotive, home appliance, office equipment, etc. The UART module in NXP kinetis L series contains the LIN slave function, it can be used as the LIN slave device in the LIN bus. Because there is few LIN slave KL sample code for the customer’s reference in our website, now this document mainly take KL43 as an example, explain how to use the FRDM-KL43 board as the LIN slave node to communicate with the LIN master device. LIN master use the specific LIN module: PCAN-USB Pro FD. Master send the publisher ID and subscriber ID, slave give the according LIN data response. This document will share the according code, hardware connection and the test result.

2 LIN bus basic knowledge review

        For the convenient to understand the LIN bus, this chapter simply describe the basic knowledge for LIN bus. Mainly about the LIN topology and the LIN frame.

2.1 LIN bus topology structure

      LIN bus just use the simple low cost single-wire, it uses single master to communicate with multiple slaves. The bus voltage is 12V, the speed can up to 20 kbit/s. LIN network can connect 16 nodes, but in the practical usage, normally use below 12 nodes.

186555_186555.pngpastedImage_2.png

Figure 2-1. LIN bus topology

2.2 LIN bus frame structure     

    LIN Frame consists of a header (provided by the master task) and a response (provided by a slave task).

    Master send publisher frame: Master send header+ data +checksum; slave just receive.

    Master send subscriber frame: Master send header; slave receive send data +checksum.

    The following figure is the structure of a LIN frame:

186554_186554.pngpastedImage_3.png

Figure 2-2. LIN frame structure

     LIN frame is constructed of one Break field, sync byte field (0X55), PID, data and checksum.

2.2.1 Break filed and break delimiter

Break filed is consist of break and break delimiter. Break should at least 13 nominal bit times of dominant value (low voltage). The break delimiter shall be at least one nominal bit time long (high voltage).

186535_186535.pngpastedImage_6.png

Figure 2-3. break field

2.2.2 Sync byte field

Sync is a byte field with the data value 0X55. The byte field is the standard UART protocol.

186556_186556.pngpastedImage_10.png

Figure 2-4. The sync byte field

2.2.3 Protected identifier field

A protected identifier field consists of two sub-fields: the frame identifier and the parity. Bits 0 to 5 are the frame identifier and bits 6 and 7 are the parity.    

ID value range: 0x00-0x3f, 64 IDs in total. It determine the frame categories and direction.

186557_186557.pngpastedImage_12.png

Figure 2-5. The sync byte field

P0 = ID0 xor ID1 xor ID2 xor ID4

P1 = -(ID1 xor ID3 xor ID4 xor ID5)

-is NOT

 ID can be split in three categories:

 

Frame categories

Frame ID

Signal carrying frame

Unconditional frame

0x00-0x3B

Event triggered frame

Sporadic frame

Diagnostic frame

Master request frame

0x3c

Slave response frame

0x3d

Reserved frame

 

0x3e,0x3f

 

 

2.2.4 DATA

      A frame carries between one and eight bytes of data. The number of data contained in a frame with a specific frame identifier shall be agreed by the publisher and all subscribers.

     For data entities longer than one byte, the entity LSB is contained in the byte sent first and the entity MSB in the byte sent last (little-endian). The data fields are labeled data 1, data 2,... up to maximum data 8.

2.2.5 checksum 

The checksum contains the inverted eight bits sum with carry over all data bytes or all data bytes and the protected identifier.       

Classic checksum: Checksum calculation over the data bytes.

Enhanced checksum: Checksum calculation over the data bytes and the protected identifier byte.

 Method: eight bits sum with carry is equivalent to sum all values and subtract 255 every time the sum is greater or equal to 256, at last, the sum data do bitwise invert.  In the receive side, do the same sum, but at last, don’t do invert, then add the received checksum data, if the result is 0XFF, it is correct, otherwise, it is wrong.

3 KL43 LIN slave example

   This chapter use KL43 as the LIN slave, and communicate with the specific LIN master device, realize the LIN data sending and receiving.

3.1 Hardware prepare

Hardware: FRDM-KL43TRK-KEA8PCAN-USB Pro FD

      LIN bus voltage is 12V, but the FRDM-KL43 don’t have the LIN transceiver, so we need the external LIN transceiver connect the KL43 uart, to realize the LIN voltage switch. Here we use the TRK-KEA8 on board LIN transceiver MC33662LEF for the KL43. The MC33662LEF circuit is like this:

   186558_186558.pngpastedImage_14.png

Figure 3-1. LIN transceiver schematic

3.1.1 FRDM-KL43 and TRK-KEA8 connections

     FRDM-KL43 need to connect the UART port to the LIN transceiver. The connection shows in this table:

No.

FRDM-KL43

TRK-KEA8

note

1

J1-2

J10-5

UART0_RX

2

J1-4

J10-6

UART0_TX

3

J3-14

J14-1

GND

3.1.2 TRK-KEA8 and LIN master connections

        LIN bus is using the signal wire.  TRK-KEA8 J14_4 is the LIN wire, it should connect with the LIN wire in PCAN-USB Pro FD. GND also need to connect together.

       TRK-KEA8 P1 need a 12V DC supplier. Master also need 12V DC supplier.

3.1.3 Object connection picture

 186562_186562.pngpastedImage_19.png

Figure 3-2. Object connections

3.2 Software flow chart and code

     Now describe how to realize the LIN master and the LIN slave data transfer. LIN master send a publisher frame, the slave will receive the according data. LIN master send a subscriber frame, the slave will send the data to the master. The code is based on the KSDK2.2_FRDM-KL43 lpuart, add the LIN operation code.

 3.2.1 Software flow chart

 186559_186559.pngpastedImage_20.png

     

Figure 3-3. Software flow chart

 

3.2.2 software code

    Code is based on KSDK2.2_FRDM-KL43 lpuart project, add the LIN operation code, the added code is list as follows:

void LPUART0_IRQHandler(void)

{

     if(LPUART0->STAT & LPUART_STAT_LBKDIF_MASK)

     {

       LPUART0->STAT |= LPUART_STAT_LBKDIF_MASK;// clear the bit

       Lin_BKflag = 1;

       cnt = 0;

       state = RECV_SYN;

       DisableLinBreak;    

     }

    if(LPUART0->STAT & LPUART_STAT_RDRF_MASK)

     {

                 rxbuff[cnt] = (uint8_t)((LPUART0->DATA) & 0xff);        

         switch(state)

         {

            case RECV_SYN:

                          if(0x55 == rxbuff[cnt])

                          {

                              state = RECV_PID;

                          }

                          else

                          {

                              state = IDLE;

                              DisableLinBreak;

                          }

                          break;

            case RECV_PID:

                          if(0xAD == rxbuff[cnt])

                          {

                              state = RECV_DATA;

                          }

                          else if(0XEC == rxbuff[cnt])

                          {

                              state = SEND_DATA;

                          }

                          else

                          {

                              state = IDLE;

                              DisableLinBreak;

                          }

                          break;

            case RECV_DATA:

                          recdatacnt++;

                          if(recdatacnt >= 4) // 3 Bytes data + 1 Bytes checksum

                          {

                              recdatacnt=0;

                              state = RECV_SYN;

                              EnableLinBreak;

                          }

                          break;

         default:break;

                         

         }        

         cnt++;

     }    

}

void uart_LIN_break(void)

{

    LPUART0->CTRL &= ~(LPUART_CTRL_TE_MASK | LPUART_CTRL_RE_MASK);   //Disable UART0 first

    LPUART0->STAT |= LPUART_STAT_BRK13_MASK; //13 bit times

LPUART0->STAT |= LPUART_STAT_LBKDE_MASK;//LIN break detection enable

LPUART0->BAUD |= LPUART_BAUD_LBKDIE_MASK;

   

    LPUART0->CTRL |= (LPUART_CTRL_TE_MASK | LPUART_CTRL_RE_MASK);

    LPUART0->CTRL |= LPUART_CTRL_RIE_MASK;

    EnableIRQ(LPUART0_IRQn);   

}

int main(void)

{

    uint8_t ch;

    lpuart_config_t config;

    BOARD_InitPins();

    BOARD_BootClockRUN();

    CLOCK_SetLpuart0Clock(0x1U);

    LPUART_GetDefaultConfig(&config);

    config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;

    config.enableTx = true;

    config.enableRx = true;

    LPUART_Init(DEMO_LPUART, &config, DEMO_LPUART_CLK_FREQ);

    uart_LIN_break();

    while (1)

    {

       if(state == SEND_DATA)

       {

          while((LPUART0->STAT & LPUART_STAT_TDRE_MASK) == 0); // hex mode

                  LPUART0->DATA = 0X01;

          while((LPUART0->STAT & LPUART_STAT_TDRE_MASK) == 0); // hex mode

                  LPUART0->DATA = 0X02;

          while((LPUART0->STAT & LPUART_STAT_TDRE_MASK) == 0); // hex mode

                  LPUART0->DATA = 0X10;//Checksum   0X10 correct, 0xaa is wrong

          recdatacnt=0;

          state = RECV_SYN;

          EnableLinBreak;

       }

    }

}

 

 

4 KL43 LIN slave test result

  Master defines two frames:

Unconditional ID

Protected ID

Direction

Data

checksum

0X2C

0XEC

subscriber

0x01,0x02

0x10

0X2D

0XAD

Publisher

0x01,0x02,0x03

0x4c

   Now, master send 0X2C and 0X2D data, give the test result and the according waveform.

4.1 LIN master configuration

Uart baud rate is: 9600bps

186561_186561.pngpastedImage_22.png

4.2  Send ID 0X2C and 0X2D frame

 

186569_186569.jpgpastedImage_1.jpg

    From the PC software of LIN master, we can find 0X2D ID can send the data successfully, and 0X2C ID can receive the correct data (0x01, 0x02) and checksum (0x10) from the KL43 LIN slave side.

4.2.1 0X2D ID frame oscilloscope waveform and debug result

186564_186564.pngpastedImage_24.png

 

186570_186570.jpgpastedImage_2.jpg

   From the debug result, we can find the buff can receive the correct ID, data and checksum from the LIN master.  

 4.2.2 0X2C ID frame oscilloscope waveform

186566_186566.pngpastedImage_26.png

4.2.3 0X2C ID SLAVE send back the wrong checksum

 

186571_186571.jpgpastedImage_3.jpg

  From the PC software, we can find if the KL43 code modify the checksum to the wrong data 0XAA, then the PC software will display the checksum error.

This is the according oscilloscope waveform for the wrong checksum data.

186568_186568.pngpastedImage_28.png

From all the above test result. We can find, KL43 as the LIN slave, it can receive the correct data from the LIN master, and when LIN master send the subscriber ID, kl43 also can send back the correct LIN data to the master. More detail, please check the attached code project.

BTW, LIN spec can be downloaded from this link:

http://www.cs-group.de/wp-content/uploads/2016/11/LIN_Specification_Package_2.2A.pdf

 

Attached is the code and the pdf version of this document:

 

 

             

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1118367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKL%20series%20LIN%20slave%20simply%20usage%20sharing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin-bottom%3A%206.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2014.0pt%3B%22%3E%3CSTRONG%3E1%20Abstract%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2011.5pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LIN%20(Local%20Interconnect%20Network)%20is%20a%20concept%20for%20low%20cost%20automotive%20networks%2C%20which%20complements%20the%20existing%20portfolio%20of%20automotive%20multiplex%20networks.%20LIN%20is%20based%20on%20the%20UART%2FSCT%20protocol.%20It%20can%20be%20used%20in%20the%20area%20of%20automotive%2C%20home%20appliance%2C%20office%20equipment%2C%20etc.%20The%20UART%20module%20in%20NXP%20kinetis%20L%20series%20contains%20the%20LIN%20slave%20function%2C%20it%20can%20be%20used%20as%20the%20LIN%20slave%20device%20in%20the%20LIN%20bus.%20Because%20there%20is%20few%20LIN%20slave%20KL%20sample%20code%20for%20the%20customer%E2%80%99s%20reference%20in%20our%20website%2C%20now%20this%20document%20mainly%20take%20KL43%20as%20an%20example%2C%20explain%20how%20to%20use%20the%20FRDM-KL43%20board%20as%20the%20LIN%20slave%20node%20to%20communicate%20with%20the%20LIN%20master%20device.%20LIN%20master%20use%20the%20specific%20LIN%20module%3A%20PCAN-USB%20Pro%20FD.%20Master%20send%20the%20publisher%20ID%20and%20subscriber%20ID%2C%20slave%20give%20the%20according%20LIN%20data%20response.%20This%20document%20will%20share%20the%20according%20code%2C%20hardware%20connection%20and%20the%20test%20result.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2014.0pt%3B%22%3E%3CSTRONG%3E2%20LIN%20bus%20basic%20knowledge%20review%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2014.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3BFor%20the%20convenient%20to%20understand%20the%20LIN%20bus%2C%20this%20chapter%20simply%20describe%20the%20basic%20knowledge%20for%20LIN%20bus.%20Mainly%20about%20the%20LIN%20topology%20and%20the%20LIN%20frame.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3E2.1%20LIN%20bus%20topology%20structure%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LIN%20bus%20just%20use%20the%20simple%20low%20cost%20single-wire%2C%20it%20uses%20single%20master%20to%20communicate%20with%20multiple%20slaves.%20The%20bus%20voltage%20is%2012V%2C%20the%20speed%20can%20up%20to%2020%20kbit%2Fs.%20LIN%20network%20can%20connect%2016%20nodes%2C%20but%20in%20the%20practical%20usage%2C%20normally%20use%20below%2012%20nodes.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186555_186555.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186555_186555.png%22%20style%3D%22width%3A%20368px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117928iA5C1881AF6D063D5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186555_186555.png%22%20alt%3D%22186555_186555.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%20style%3D%22width%3A%20368px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21353i1721AA030A577C84%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_2.png%22%20alt%3D%22pastedImage_2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%202-1.%20LIN%20bus%20topology%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3E2.2%20LIN%20bus%20frame%20structure%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3BLIN%20Frame%20consists%20of%20a%20header%20(provided%20by%20the%20master%20task)%20and%20a%20response%20(provided%20by%20a%20slave%20task).%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Master%20send%20publisher%20frame%3A%20Master%20send%20header%2B%20data%20%2Bchecksum%3B%20slave%20just%20receive.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Master%20send%20subscriber%20frame%3A%20Master%20send%20header%3B%20slave%20receive%20send%20data%20%2Bchecksum.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20The%20following%20figure%20is%20the%20structure%20of%20a%20LIN%20frame%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186554_186554.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186554_186554.png%22%20style%3D%22width%3A%20362px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117929i197C5E92EB171027%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186554_186554.png%22%20alt%3D%22186554_186554.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_3.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_3.png%22%20style%3D%22width%3A%20362px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21201iE9D1DD22288D0B68%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_3.png%22%20alt%3D%22pastedImage_3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%202-2.%20LIN%20frame%20structure%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LIN%20frame%20is%20constructed%20of%20one%20Break%20field%2C%20sync%20byte%20field%20(0X55)%2C%20PID%2C%20data%20and%20checksum.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2.2.1%20Break%20filed%20and%20break%20delimiter%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%20.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EBreak%20filed%20is%20consist%20of%20break%20and%20break%20delimiter.%20Break%20should%20at%20least%2013%20nominal%20bit%20times%20of%20dominant%20value%20(low%20voltage).%20The%20break%20delimiter%20shall%20be%20at%20least%20one%20nominal%20bit%20time%20long%20(high%20voltage).%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-indent%3A%200.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186535_186535.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186535_186535.png%22%20style%3D%22width%3A%20434px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117930iC0D4B77611F0E468%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186535_186535.png%22%20alt%3D%22186535_186535.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_6.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_6.png%22%20style%3D%22width%3A%20434px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79704iA6E854CA443A4DFD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_6.png%22%20alt%3D%22pastedImage_6.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%202-3.%20break%20field%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2.2.2%20Sync%20byte%20field%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%20.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ESync%20is%20a%20byte%20field%20with%20the%20data%20value%200X55.%20The%20byte%20field%20is%20the%20standard%20UART%20protocol.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-indent%3A%200.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186556_186556.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186556_186556.png%22%20style%3D%22width%3A%20431px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117931i8A167456DFAB402D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186556_186556.png%22%20alt%3D%22186556_186556.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_10.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_10.png%22%20style%3D%22width%3A%20431px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79734i7DEF1D64045BDA9F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_10.png%22%20alt%3D%22pastedImage_10.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%202-4.%20The%20sync%20byte%20field%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2.2.3%20Protected%20identifier%20field%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%20.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2011.5pt%3B%22%3EA%20protected%20identifier%20field%20consists%20of%20two%20sub-fields%3A%20the%20frame%20identifier%20and%20the%20parity.%20Bits%200%20to%205%20are%20the%20frame%20identifier%20and%20bits%206%20and%207%20are%20the%20parity.%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%20.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID%20value%20range%3A%200x00-0x3f%2C%2064%20IDs%20in%20total.%20It%20determine%20the%20frame%20categories%20and%20direction.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-indent%3A%200.15in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186557_186557.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186557_186557.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117932i486ABB2F3C830CCC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186557_186557.png%22%20alt%3D%22186557_186557.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_12.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_12.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21410i9D221DDB3C32B4EF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_12.png%22%20alt%3D%22pastedImage_12.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%202-5.%20The%20sync%20byte%20field%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EP0%20%3D%20ID0%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID1%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID2%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID4%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EP1%20%3D%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E-%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E(ID1%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID3%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID4%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Exor%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID5)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E-%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Eis%20NOT%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EID%20can%20be%20split%20in%20three%20categories%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22j-rte-table%22%3E%3CTABLE%20style%3D%22border%3A%20none%3B%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20colspan%3D%222%22%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22384%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3EFrame%20categories%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3EFrame%20ID%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20rowspan%3D%223%22%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ESignal%20carrying%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EUnconditional%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20rowspan%3D%223%22%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x00-0x3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EEvent%20triggered%20frame%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ESporadic%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20rowspan%3D%222%22%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EDiagnostic%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EMaster%20request%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x3c%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ESlave%20response%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x3d%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EReserved%20frame%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22192%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x3e%2C0x3f%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2.2.4%20DATA%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BA%20frame%20carries%20between%20one%20and%20eight%20bytes%20of%20data.%20The%20number%20of%20data%20contained%20in%20a%20frame%20with%20a%20specific%20frame%20identifier%20shall%20be%20agreed%20by%20the%20publisher%20and%20all%20subscribers.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20For%20data%20entities%20longer%20than%20one%20byte%2C%20the%20entity%20LSB%20is%20contained%20in%20the%20byte%20sent%20first%20and%20the%20entity%20MSB%20in%20the%20byte%20sent%20last%20(little-endian).%20The%20data%20fields%20are%20labeled%20data%201%2C%20data%202%2C...%20up%20to%20maximum%20data%208.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2.2.5%20checksum%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%2010.5pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EThe%20checksum%20contains%20the%20inverted%20eight%20bits%20sum%20with%20carry%20over%20all%20data%20bytes%20%3CSTRONG%3Eor%20%3C%2FSTRONG%3Eall%20data%20bytes%20and%20the%20protected%20identifier.%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%2010.5pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3EClassic%20checksum%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3A%20Checksum%20calculation%20over%20the%20data%20bytes.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%2010.5pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3EEnhanced%20checksum%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3A%20Checksum%20calculation%20over%20the%20data%20bytes%20and%20the%20protected%20identifier%20byte.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%2010.5pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3BMethod%3A%20eight%20bits%20sum%20with%20carry%20is%20equivalent%20to%20sum%20all%20values%20and%20subtract%20255%20every%20time%20the%20sum%20is%20greater%20or%20equal%20to%20256%2C%20at%20last%2C%20the%20sum%20data%20do%20bitwise%20invert.%26nbsp%3B%20In%20the%20receive%20side%2C%20do%20the%20same%20sum%2C%20but%20at%20last%2C%20don%E2%80%99t%20do%20invert%2C%20then%20add%20the%20received%20checksum%20data%2C%20if%20the%20result%20is%200XFF%2C%20it%20is%20correct%2C%20otherwise%2C%20it%20is%20wrong.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3E3%20KL43%20LIN%20slave%20example%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%20This%20chapter%20use%20KL43%20as%20the%20LIN%20slave%2C%20and%20communicate%20with%20the%20specific%20LIN%20master%20device%2C%20realize%20the%20LIN%20data%20sending%20and%20receiving.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.1%20Hardware%20prepare%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EHardware%3A%20FRDM-KL43%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ETRK-KEA8%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EPCAN-USB%20Pro%20FD%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LIN%20bus%20voltage%20is%2012V%2C%20but%20the%20FRDM-KL43%20don%E2%80%99t%20have%20the%20LIN%20transceiver%2C%20so%20we%20need%20the%20external%20LIN%20transceiver%20connect%20the%20KL43%20uart%2C%20to%20realize%20the%20LIN%20voltage%20switch.%20Here%20we%20use%20the%20TRK-KEA8%20on%20board%20LIN%20transceiver%20MC33662LEF%20for%20the%20KL43.%20The%20MC33662LEF%20circuit%20is%20like%20this%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186558_186558.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186558_186558.png%22%20style%3D%22width%3A%20448px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117933i8DB483EC6EE30689%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186558_186558.png%22%20alt%3D%22186558_186558.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_14.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_14.png%22%20style%3D%22width%3A%20448px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79735i02C693BDB21C151E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_14.png%22%20alt%3D%22pastedImage_14.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%203-1.%20LIN%20transceiver%20schematic%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.1.1%20FRDM-KL43%20and%20TRK-KEA8%20connections%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FRDM-KL43%20need%20to%20connect%20the%20UART%20port%20to%20the%20LIN%20transceiver.%20The%20connection%20shows%20in%20this%20table%3A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22j-rte-table%22%3E%3CTABLE%20style%3D%22border%3A%20none%3B%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%2268%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ENo.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22178%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFRDM-KL43%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22170%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3ETRK-KEA8%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22158%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Enote%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%2268%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E1%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22178%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ1-2%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22170%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ10-5%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22158%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EUART0_RX%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%2268%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E2%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22178%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ1-4%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22170%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ10-6%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22158%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EUART0_TX%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%2268%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22178%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ3-14%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22170%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EJ14-1%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22158%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EGND%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.1.2%20TRK-KEA8%20and%20LIN%20master%20connections%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LIN%20bus%20is%20using%20the%20signal%20wire.%26nbsp%3B%20TRK-KEA8%20J14_4%20is%20the%20LIN%20wire%2C%20it%20should%20connect%20with%20the%20LIN%20wire%20in%20PCAN-USB%20Pro%20FD.%20GND%20also%20need%20to%20connect%20together.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20TRK-KEA8%20P1%20need%20a%2012V%20DC%20supplier.%20Master%20also%20need%2012V%20DC%20supplier.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.1.3%20Object%20connection%20picture%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186562_186562.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186562_186562.png%22%20style%3D%22width%3A%20448px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117934i14A800CAD900AB72%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186562_186562.png%22%20alt%3D%22186562_186562.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_19.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_19.png%22%20style%3D%22width%3A%20448px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21587i72F85CE5C5E96028%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_19.png%22%20alt%3D%22pastedImage_19.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%203-2.%20Object%20connections%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.2%20Software%20flow%20chart%20and%20code%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Now%20describe%20how%20to%20realize%20the%20LIN%20master%20and%20the%20LIN%20slave%20data%20transfer.%20LIN%20master%20send%20a%20publisher%20frame%2C%20the%20slave%20will%20receive%20the%20according%20data.%20LIN%20master%20send%20a%20subscriber%20frame%2C%20the%20slave%20will%20send%20the%20data%20to%20the%20master.%20The%20code%20is%20based%20on%20the%20KSDK2.2_FRDM-KL43%20lpuart%2C%20add%20the%20LIN%20operation%20code.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B3.2.1%20Software%20flow%20chart%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186559_186559.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186559_186559.png%22%20style%3D%22width%3A%20507px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117935iA8D5A62E49BD92EC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186559_186559.png%22%20alt%3D%22186559_186559.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_20.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_20.png%22%20style%3D%22width%3A%20507px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79736i195256B66A8EBF91%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_20.png%22%20alt%3D%22pastedImage_20.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%20text-align%3A%20left%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFigure%203-3.%20Software%20flow%20chart%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E3.2.2%20software%20code%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Code%20is%20based%20on%20KSDK2.2_FRDM-KL43%20lpuart%20project%2C%20add%20the%20LIN%20operation%20code%2C%20the%20added%20code%20is%20list%20as%20follows%3A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22j-rte-table%22%3E%3CTABLE%20style%3D%22border%3A%20none%3B%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22575%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3Evoid%20LPUART0_IRQHandler(void)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(LPUART0-%26gt%3BSTAT%20%26amp%3B%20LPUART_STAT_LBKDIF_MASK)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART0-%26gt%3BSTAT%20%7C%3D%20LPUART_STAT_LBKDIF_MASK%3B%2F%2F%20clear%20the%20bit%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lin_BKflag%20%3D%201%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20cnt%20%3D%200%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20RECV_SYN%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DisableLinBreak%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(LPUART0-%26gt%3BSTAT%20%26amp%3B%20LPUART_STAT_RDRF_MASK)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3Brxbuff%5Bcnt%5D%20%3D%20(uint8_t)((LPUART0-%26gt%3BDATA)%20%26amp%3B%200xff)%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20switch(state)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20case%20RECV_SYN%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(0x55%20%3D%3D%20rxbuff%5Bcnt%5D)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20RECV_PID%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20else%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20IDLE%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DisableLinBreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20break%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20case%20RECV_PID%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(0xAD%20%3D%3D%20rxbuff%5Bcnt%5D)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20RECV_DATA%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20else%20if(0XEC%20%3D%3D%20rxbuff%5Bcnt%5D)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20SEND_DATA%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20else%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20IDLE%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DisableLinBreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20break%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20case%20RECV_DATA%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20recdatacnt%2B%2B%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(recdatacnt%20%26gt%3B%3D%204)%20%2F%2F%203%20Bytes%20data%20%2B%201%20Bytes%20checksum%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20recdatacnt%3D0%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20RECV_SYN%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20EnableLinBreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bbreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20default%3Abreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20cnt%2B%2B%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3Evoid%20uart_LIN_break(void)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART0-%26gt%3BCTRL%20%26amp%3B%3D%20~(LPUART_CTRL_TE_MASK%20%7C%20LPUART_CTRL_RE_MASK)%3B%26nbsp%3B%26nbsp%3B%20%2F%2FDisable%20UART0%20first%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART0-%26gt%3BSTAT%20%7C%3D%20LPUART_STAT_BRK13_MASK%3B%20%2F%2F13%20bit%20times%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%209.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3ELPUART0-%26gt%3BSTAT%20%7C%3D%20LPUART_STAT_LBKDE_MASK%3B%2F%2FLIN%20break%20detection%20enable%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20text-indent%3A%209.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3ELPUART0-%26gt%3BBAUD%20%7C%3D%20LPUART_BAUD_LBKDIE_MASK%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART0-%26gt%3BCTRL%20%7C%3D%20(LPUART_CTRL_TE_MASK%20%7C%20LPUART_CTRL_RE_MASK)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART0-%26gt%3BCTRL%20%7C%3D%20LPUART_CTRL_RIE_MASK%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3BEnableIRQ(LPUART0_IRQn)%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3Eint%20main(void)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20uint8_t%20ch%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20lpuart_config_t%20config%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20BOARD_InitPins()%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20BOARD_BootClockRUN()%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20CLOCK_SetLpuart0Clock(0x1U)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART_GetDefaultConfig(%26amp%3Bconfig)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20config.baudRate_Bps%20%3D%20BOARD_DEBUG_UART_BAUDRATE%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20config.enableTx%20%3D%20true%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20config.enableRx%20%3D%20true%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20LPUART_Init(DEMO_LPUART%2C%20%26amp%3Bconfig%2C%20DEMO_LPUART_CLK_FREQ)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20uart_LIN_break()%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20while%20(1)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(state%20%3D%3D%20SEND_DATA)%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20while((LPUART0-%26gt%3BSTAT%20%26amp%3B%20LPUART_STAT_TDRE_MASK)%20%3D%3D%200)%3B%20%2F%2F%20hex%20mode%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3BLPUART0-%26gt%3BDATA%20%3D%200X01%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20while((LPUART0-%26gt%3BSTAT%20%26amp%3B%20LPUART_STAT_TDRE_MASK)%20%3D%3D%200)%3B%20%2F%2F%20hex%20mode%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3BLPUART0-%26gt%3BDATA%20%3D%200X02%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20while((LPUART0-%26gt%3BSTAT%20%26amp%3B%20LPUART_STAT_TDRE_MASK)%20%3D%3D%200)%3B%20%2F%2F%20hex%20mode%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3BLPUART0-%26gt%3BDATA%20%3D%200X10%3B%2F%2FChecksum%26nbsp%3B%26nbsp%3B%200X10%20correct%2C%200xaa%20is%20wrong%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20recdatacnt%3D0%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20state%20%3D%20RECV_SYN%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20EnableLinBreak%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2014.0pt%3B%22%3E%3CSTRONG%3E4%20KL43%20LIN%20slave%20test%20result%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2014.0pt%3B%22%3E%3CSTRONG%3E%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EMaster%20defines%20two%20frames%3A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22j-rte-table%22%3E%3CTABLE%20style%3D%22border%3A%20none%3B%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EUnconditional%20ID%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EProtected%20ID%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EDirection%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EData%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-left%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Echecksum%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0X2C%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0XEC%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3Esubscriber%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x01%2C0x02%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x10%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22border%3A%20solid%20windowtext%201.0pt%3B%20border-top%3A%20none%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0X2D%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0XAD%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EPublisher%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x01%2C0x02%2C0x03%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20style%3D%22border-top%3A%20none%3B%20border-left%3A%20none%3B%20border-bottom%3A%20solid%20windowtext%201.0pt%3B%20border-right%3A%20solid%20windowtext%201.0pt%3B%20padding%3A%200in%205.4pt%200in%205.4pt%3B%22%20width%3D%22115%22%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E0x4c%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%20Now%2C%20master%20send%200X2C%20and%200X2D%20data%2C%20give%20the%20test%20result%20and%20the%20according%20waveform.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E4.1%20LIN%20master%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EUart%20baud%20rate%20is%3A%209600bps%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186561_186561.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186561_186561.png%22%20style%3D%22width%3A%20319px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117936iE276F9A066034589%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186561_186561.png%22%20alt%3D%22186561_186561.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_22.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_22.png%22%20style%3D%22width%3A%20319px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21305i7B377870FDA2C6DB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_22.png%22%20alt%3D%22pastedImage_22.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E4.2%20%26nbsp%3BSend%20ID%200X2C%20and%200X2D%20frame%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%20margin-bottom%3A%200.0001pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186569_186569.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186569_186569.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117937iEA76945EC51C34A4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186569_186569.jpg%22%20alt%3D%22186569_186569.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21451i1EF921700D21691E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.jpg%22%20alt%3D%22pastedImage_1.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20From%20the%20PC%20software%20of%20LIN%20master%2C%20we%20can%20find%200X2D%20ID%20can%20send%20the%20data%20successfully%2C%20and%200X2C%20ID%20can%20receive%20the%20correct%20data%20(0x01%2C%200x02)%20and%20checksum%20(0x10)%20from%20the%20KL43%20LIN%20slave%20side.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E4.2.1%200X2D%20ID%20frame%20oscilloscope%20waveform%20and%20debug%20result%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186564_186564.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186564_186564.png%22%20style%3D%22width%3A%20263px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117938iDF99427F3486650F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186564_186564.png%22%20alt%3D%22186564_186564.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_24.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_24.png%22%20style%3D%22width%3A%20263px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21695i01D2EB2854075CBE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_24.png%22%20alt%3D%22pastedImage_24.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%20margin-bottom%3A%200.0001pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186570_186570.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186570_186570.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117939iFFAEE958B0533742%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186570_186570.jpg%22%20alt%3D%22186570_186570.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79703i06E94358F544F8CC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_2.jpg%22%20alt%3D%22pastedImage_2.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%26nbsp%3B%20From%20the%20debug%20result%2C%20we%20can%20find%20the%20buff%20can%20receive%20the%20correct%20ID%2C%20data%20and%20checksum%20from%20the%20LIN%20master.%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B4.2.2%200X2C%20ID%20frame%20oscilloscope%20waveform%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186566_186566.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186566_186566.png%22%20style%3D%22width%3A%20263px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117940i935508896574260C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186566_186566.png%22%20alt%3D%22186566_186566.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_26.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_26.png%22%20style%3D%22width%3A%20263px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21494iF2361B5D84D63293%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_26.png%22%20alt%3D%22pastedImage_26.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E4.2.3%200X2C%20ID%20SLAVE%20send%20back%20the%20wrong%20checksum%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%20margin%3A%206pt%200in%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22margin%3A%206pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186571_186571.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186571_186571.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117941i16C0D95CA2D77C82%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186571_186571.jpg%22%20alt%3D%22186571_186571.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_3.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_3.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79701iC88B2792E6EACEDD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_3.jpg%22%20alt%3D%22pastedImage_3.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%20From%20the%20PC%20software%2C%20we%20can%20find%20if%20the%20KL43%20code%20modify%20the%20checksum%20to%20the%20wrong%20data%200XAA%2C%20then%20the%20PC%20software%20will%20display%20the%20checksum%20error.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EThis%20is%20the%20according%20oscilloscope%20waveform%20for%20the%20wrong%20checksum%20data.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%200.0001pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186568_186568.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22186568_186568.png%22%20style%3D%22width%3A%20320px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117942i06F192304C896DFE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22186568_186568.png%22%20alt%3D%22186568_186568.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_28.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_28.png%22%20style%3D%22width%3A%20320px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79737i9AA005F852351286%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_28.png%22%20alt%3D%22pastedImage_28.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%206.0pt%200in%206.0pt%200in%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EFrom%20all%20the%20above%20test%20result.%20We%20can%20find%2C%20KL43%20as%20the%20LIN%20slave%2C%20it%20can%20receive%20the%20correct%20data%20from%20the%20LIN%20master%2C%20and%20when%20LIN%20master%20send%20the%20subscriber%20ID%2C%20kl43%20also%20can%20send%20back%20the%20correct%20LIN%20data%20to%20the%20master.%20More%20detail%2C%20please%20check%20the%20attached%20code%20project.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EBTW%2C%20LIN%20spec%20can%20be%20downloaded%20from%20this%20link%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20_jive_internal%3D%22true%22%20class%3D%22%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fhttp%3A%2F%2Fwww.cs-group.de%2Fwp-content%2Fuploads%2F2016%2F11%2FLIN_Specification_Package_2.2A.pdf%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%3C%2FSPAN%3E%3C%2FA%3E%3CA%20href%3D%22http%3A%2F%2Fwww.cs-group.de%2Fwp-content%2Fuploads%2F2016%2F11%2FLIN_Specification_Package_2.2A.pdf%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.cs-group.de%2Fwp-content%2Fuploads%2F2016%2F11%2FLIN_Specification_Package_2.2A.pdf%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3EAttached%20is%20the%20code%20and%20the%20pdf%20version%20of%20this%20document%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1118367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EKinetis%20L%20Series%20MCUs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎06-12-2017 01:41 AM
Updated by: