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 in SpinTAC Position Convert and the solutions for these errors are shown in Table 19-2.
ERR_ID | Problem | Solution |
---|---|---|
1 | Invalid sample time value | Set cfg.T_sec within (0, 0.01] |
13 | Invalid position rollover bound value | Set cfg.ROMax_mrev within [2, 100] |
21 | Invalid value for the scaling factor from [MRev] to [ERev] | Set cfg.PolePairs within [1, 32] |
25 | Invalid value for the scaling factor from position in [MRev] to velocity in [pu/s] | Set cfg.erev_TO_pu_ps as a positive IQ24 value |
26 | Invalid input sawtooth position upper bound value | Set cfg.ROMax_erev within [0, 16] |
27 | Invalid input sawtooth position lower bound value | Set cfg.ROMin_erev within [-16, 0] |
37 | Invalid input cfg.OneOverFreqTimeConst | Set cfg.OneOverFreqTimeConst to a positive value |
38 | Invalid input cfg.SampleTimeOverTimeConst | Set cfg.SampleTimeOverTimeConst to a positive value |
1010 | Invalid velocity feedback low pass filter time constant | Set cfg.LpfTime_tick within [1, 100] |
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. |