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.

RM48L952: Hercules RM48L952zwt RTI/Watchdog Increase Service Time

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Hi,

  We are using the rm48l952zwt on hercules board. We have implemented the watchdog on RTI, and with a scope can see it is serviced every 200msec. Can we manually or change via Halcogen to service it every 100msec?  Thank you.

  • I am a little confused by your question. HALCoGen provides the function calls for the digital watchdog, but there is no default utilization. The timeout period is set by a user call to dwdInit(uint16 dwdPreload).
  • Hi Bob. Thank you. I inherited the code, and saw that my colleague did not configure the rti as the dwd (watchdog feature in rm48). he just used it as an RTI and just created a watchdog global flag that he sets and clears as a form of kicking it (I am trying to find him to ask him why he did not use the dwd feature option). That aside, we toggled a pin when the rti triggered and on a scope saw that is going off once every 200msec. We need it to go off every 100msec. How can that be done?  Thank you.

  • Hi Bob. Found original thread by my team member. e2e.ti.com/.../1899082 he got it running at 200msec. but we need it running at 100msec.
  • Hi Tammy.

    If you can open the HALCoGen file for this project and go to the "RTI -> RTI Compare" tab. There you will probably see one of the compares set with a 200ms period. Change it to 100ms, and then select "File -> Generate Code". If the code was written properly, only the HALCoGen generated parts will be changed. Then recompile your project in CCS.

  • Hi Bob,

    There was a "10.000" there and I changed it to 100 and 200 but nothing changes. Is it possible there can be a value hardcoded that overrides the Halcogen value? What can I grep for? Thank you again.
  • Hi Bob, BTW we are using Halcogen 4.3.00 if that is relevant as to why modifying HalCoGen as you guided above results in no change to rate ISR is going off. If there is a register I can grep for in the code then I can look up the phsyical values going into the RM48 registers to compare to what values they ought to be.Could the RTI counter settings impacting this?