SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Data frames are the most complex frames. As the name indicates, these frames are used to transfer data. Table 32-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 32-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.