SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
The format of the response is as illustrated in Figure 30-14. There are two types of fields in a response: data and checksum. The data field consists of exactly one data byte, one start bit, and one stop bit, for a total of 10 bits. The LSB is transmitted first. The checksum field consists of one checksum byte, one start bit and one stop bit. The checksum byte is the inverted modulo-256 sum over all data bytes in the data fields of the response.
The format of the response is a stream of N data fields and one checksum field. Typically N is from 1 to 8, with the exception of the extended command frames (Section 30.3.1.6). The length N of the response is indicated either with the optional length control bits of the ID Field (this is used in standards earlier than LIN 1.x); see Table 30-7, or by LENGTH value in SCIFORMAT[18:16] register; see Table 30-8. The SCI/LIN module supports response lengths from 1 to 8 bytes in compliance with LIN 2.0.
ID5 | ID4 | Number of Data Bytes |
---|---|---|
0 | 0 | 2 |
0 | 1 | 2 |
1 | 0 | 4 |
1 | 1 | 8 |
SCIFORMAT[18:16] | Number of Bytes |
---|---|
000 | 1 |
001 | 2 |
010 | 3 |
011 | 4 |
100 | 5 |
101 | 6 |
110 | 7 |
111 | 8 |