TIDUE74F April 2018 – March 2026
Table 3-6 lists the C28x CPU cycles required to execute T-Format library functions from RAM. This data was collected using:
| Cycles: -O2 -mf2 | |||
|---|---|---|---|
| Function | CRC Calculation(1) | TX CRC by VCRC(2) RX CRC by CLB(3) |
TX and RX CRC by C28x Lookup Table(4) |
| setupCommandReadEEPROM | Transmit | 266 | 264 |
| setupCommandWriteEEPROM | Transmit | 280 | 291 |
| setupCommandReadoutOrReset | N/A | 231 | 222 |
| spiRxISR | N/A | 418 | 418 |
| startOperation | N/A | 19 | 14 |
| receiveDataID0_1_7_8_C | Receive | 41 | 118 |
| receiveDataID2 | Receive | 35 | 81 |
| receiveDataID3 | Receive | 64 | 218 |
| receiveDataID6 | Receive | 57 | 101 |
| receiveDataIDC | Receive | 53 | 97 |
| updateEncoderID | N/A | 1 | 1 |
| updatePositionsOrTurns | N/A | 18 | 18 |
Table 3-7 lists the code-size, in 16-bit words, corresponding to each of the library source files. The C28x lookup-table takes 256 words of RAM or Flash that is not reflected in this table.
| Code-Size: -O2 -mf2 | ||
|---|---|---|
| Source File | TX CRC: VCRC RX CRC: CLB |
TX and RX CRC: C28x Lookup Table |
| pm_tformat_source | 936 | 923 |
| clb_config | 480 | 246 |
| pm_tformat_crc | 26 | 148 |
| pm_tformat_crc_vcrc | 14 | N/A |