TIDUE73A April 2018 – November 2024
Table 3-5 lists the C28x CPU cycles required to execute BiSS-C library functions from RAM. This data was collected using the ERAD module and the following compiler settings:
Function | Cycles -O2 -mf2 | Notes |
---|---|---|
PM_bissc_setupSCDTransaction | 369 | |
bissc_setupCDTest | 23 | |
PM_bissc_receivePosition | 552 | Depends on the resolution of the encoder. An encoder with 12 multiturn and 20 single turn bits was used for this measurement. |
PM_bissc_doCDTasks | 39 (min), 225 (max) | The maximum cycles occur when a register read or register write has completed. |
PM_bissc_startOperation | 39 | |
PM_bissc_setFreq | 73 | |
bissc_getCRC | 90 | |
bissc_spiRxISR | 497 |
Table 3-6 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.
Source File | Code Size -O2 --mf2 |
---|---|
pm_bissc_source | 910 |
pm_bissc_crc | 49 |
clb_config | 463 |