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.

TMS320F28377S: TMS320F28377S

Part Number: TMS320F28377S

Hello,

I have an code portion running slower than the watchdog period. That code portion is composed of mainly equations. The watchdog period (time) is 9us and code portion's runningperiod is about 16us. Kindly advise on what I can do to reduce the code portion's running period so that it will be less or equal to the watchdog period?

Regards,

Olutayo

  • Olutayo,

              The WD has a pre-scaler (WDCR.WDPS.2:0) that you can program for the longest timeout. Not sure how you got the 9us number. Even at the fastest rate, the timeout period is 13.1 ms:

    10 MHz/512 = 19531.25 Hz.

    19531.25 Hz/256 = 76.29 Hz

    1/76.29=13.1 ms.

  • Thank you for your advice Hereesh.

    The watchdog is programmed to work with the swiching cycle. That is, It's period Twd should be less or equal to the switching Period Ts. So I chose Ts = 10us & Twd = 0.9Ts. My equation period must then run in less or equal to Twd. It is now running at a period of 16us.

    Therefore, I think it's not a prescalling issue.

  • Olutayo,

                    I presume we both are talking about the same watchdog here, i.e. the one on our device, the one shown in page 126 of www.ti.com/lit/SPRUHM8. If so, my previous reply is still valid.

    Kindly advise on what I can do to reduce the code portion's running period so that it will be less or equal to the watchdog period?

    We are happy to clarify the behavior of any of the modules on the chip but we regret we cannot provide help with your application.