SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Data frames are the most complex frames. As the name indicates, these frames are used to transfer data. Table 27-8 shows the general structure of data frames.
Idle State | Preamble | SOF | Frame Type | User Data | Data Words | CRC Byte | Frame Tag | EOF | Postamble | Idle State |
---|---|---|---|---|---|---|---|---|---|---|
1111 | 1001 | 0xxx | xxxx xxxx | 1-16 words | xxxx xxxx | xxxx | 0110 | 1111 |
The frame type field reflects the 4-bit code of the frame type. A list of frame types can be seen in Table 27-5. The number of the data words transmitted is determined by the frame type chosen.
There are four fixed-length data frames supported by the frame type: 1 word, 2 words, 4 words, and 6 words.
Additionally, there is a user-defined data length frame type where the number of data words is fixed by software. Anywhere from 1 to 16 words can be transmitted in this frame type. This length must be configured in the N_WORDS field of the transmitter’s TX_FRAME_CTRL register and receiver’s RX_OPER_CTRL register.