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.

F28032 SFO issue using SFO_TI_Build_V6b.lib

Hi Team,

  My customer reported an issue while using SFO_TI_Build_V6b.lib in F28032: customer called SFO() prototype periodic, return value of prototype SFO() will reported an issue, and the HRPWM may not affected after returned an issue(2). could you kindly give comments on below items:

   1) which will impact the return value to Error while calling SFO()?

   2) if SFO() reported an error, what should be done in software: using the default MEP or others?

   3) for periodic SFO() calling, what's the suggestion about the period? and what's the suggestion for calling SFO() in which place?

Expect for your reply, thanks.

Best Regards/Benjamin

  • Hi Benjamin,

    What frequency are they running the system and PWM clock at (note the PWM clock is the clock to the module, not necessarily the TBCLK frequency)? Typically a SFO error occurs if the SYSCLK is too slow.

    In general, the SFO should not be reporting errors an error. We should do the debug to determine the cause of the error and fix the system to avoid that. What you choose for the default is really going to depend on your system and what the typical HRMSTEP value is for your application. Voltage and temperature have a great impact on the HRMSTEP value. For an application which maintains a fairly constant voltage and temperature, the SFO will not have to be called very frequently. If your application is changing temperature often, then it should be called as often as the temperature may vary.

    Sorry for the non-specific answers, but it really depends on the application.

    Regards,

    Kris
  • Hi Kris,
    Very appreciated for your feedback.
    They running the system clock and PWM clock is the same with 60Mhz; and now is required customer to monitor the voltage and temperature for further analysis.
    Actually the temperature increased very slowly and the F28032 power supply is very stable(the ripple is less than 50mV). Do you means the customer don't call the SFO() but only called during initialization?

    Best Regards
    Benjamin