Hi,
i'm using K20 TSI with TSS Ver 3.1 without OS. Before the mainloop the application is calling TSS1_Configure(), but it returns with error code TSS_ERROR_CONFSYS_HWRECALIB_PENDING which is caused by the following line:
/* Configures System SystemConfig Register */ u8Result |= TSS_SetSystemConfig(System_SystemConfig_Register, TSS_SYSTEM_EN_MASK | TSS_DC_TRACKER_EN_MASK);
Looking at TSSAPIRM show me the meaning:
The configuration is not successful because the hardware recalibration is in progress.
In my TSS configuration the option "Automatic HW Recalibration" under "Code size reduction" is activated. If i disable this option, the problem disappear.
How can i avoid this error?
HI Stefan
I am little bit confuse, if you disable the "Code size reduction" the problem disappear?
This can be due the code size reduction only set the minimum part of the library and also reduced the code, so probably this is not enable some function used on the HW recalibration.
Are you using processor expert to generate your code?
also you can check tha sample code that is instal on the TSS folde, normally is on the following folder
C:\Freescale\Freescale_TSS_3_1\examples\TWRKXX_DEMO\build\cw10
I hope this will help you.
Have a great day,
Vicente
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------