This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F28069M: STARTUP DELAY IN CODE

Part Number: LAUNCHXL-F28069M

Tool/software: Code Composer Studio

Hi team,

I am running lab 11e (hall to fast transition ) on LAUNCHPAD F28069M. 

The problem is I have flashed the code in device, but there is a small 2second delay before the code starts.

I have enabled the system flag and the identity flag in the code itself.

What could be possible ways to reduce this startup time ?

Please guide me .

  • I'm not sure what you mean by "before the code starts." Do you mean before the motor starts spinning or is there some evidence that it's stuck in boot ROM or something?

    If it's the former, the delay could be caused by the ADC offset calibration. It can take a while. You could try disabling it so runOffsetCalculation() won't run and you can set gOffsets_I_pu.value[] and gOffsets_I_pu.value[] to appropriate values in code instead.

    Whitney
  • Hello Whitney,

    Yes I figured out that the offset calculations slowed down the main program start.

    I bypassed the recalculation functions.

    Now working fine .

    Thank you,

    Jesal