SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
ERR_ID provides an error code for users. A list of errors defined for SpinTAC Velocity Control and the solutions for these errors are shown in Table 13-2.
ERR_ID | Problem | Solution |
---|---|---|
1 | Invalid sample time value | Set cfg.T_sec within (0, 1] |
2 | Invalid reference maximum value | Set cfg.VelMax within (0, 1] |
3 | Invalid reference minimum value | Set cfg.VelMin within (0, 1] |
4 | Invalid control signal maximum value | Set cfg.OutMax within (0, 1] |
5 | Invalid control signal minimum value | Set cfg.OutMin within [-1, 0) |
16 | Invalid inertia maximum value | Set cfg.InertiaMax as a positive _iq24 value |
17 | Invalid inertia minimum value | Set cfg.InertiaMin within (0, cfg.InertiaMax] |
18 | Invalid bandwidth maximum value | Set cfg.BwMax within [0, min(2000, 0.2/cfg.T)] |
19 | Invalid bandwidth minimum value | Set cfg.BwMin within [0, cfg.BwMax] |
32 | Invalid axis ID | Set cfg.Axis within {ST_AXIS0, ST_AXIS1} |
1012 | Invalid inertia value | No action. Inertia will be saturated by the bound [cfg.InertiaMin, cfg.InertiaMax] |
1014 | Bandwidth × Inertia is greater than 2000 | No action. The actual bandwidth is saturated by the value of 2000/Inertia |
1016 | Friction is out of bounds | No action. The friction will be saturated by the adjusted friction bounds [0, 5] |
4001 | Invalid SpinTAC license | Use a chip with a valid license |
4003 | Invalid ROM version | Use a chip with a valid ROM version or use the SpinTAC library that is compatible with the current ROM version. |