Im trying to use Watchdog Timer interrupt in R8C/tiny(RENESAS) micro
controller. I have done all the settings whatever is there in manual. But
I couldn't get it.
Im getting the watchdog timer reset function and Iam trying to reset it
only once, even that i didn't get.
I made all settings. I don't know that interrupt function is not all
working.
Can I get any solution ....
Reply by Paul E. Bennett●September 28, 20072007-09-28
jagadeesh wrote:
> Im trying to use Watchdog Timer interrupt in R8C/tiny(RENESAS) micro
> controller. I have done all the settings whatever is there in manual. But
> I couldn't get it.
>
> Im getting the watchdog timer reset function and Iam trying to reset it
> only once, even that i didn't get.
>
> I made all settings. I don't know that interrupt function is not all
> working.
>
> Can I get any solution ....
The document states that you can only set PM12 to a logic one (select reset
mode) and there is no way to reset it from within the programme. Are you
wishing to use the interrupt or reset function?
You might find you need a write to both registers WDTR and WDTS (0x000D and
0x000E) to initialise and restart the watchdog count down.
Chapter 11 of the "RC8/10 Group Hardware Manual" describes it.
--
********************************************************************
Paul E. Bennett...............<email://Paul_E.Bennett@topmail.co.uk>
Forth based HIDECS Consultancy
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.