cancel
Showing results for 
Search instead for 
Did you mean: 

Timer interrupt and software reset

hanky
Associate II
Posted on December 22, 2005 at 07:22

Timer interrupt and software reset

1 REPLY 1
hanky
Associate II
Posted on December 21, 2005 at 12:18

Hey,

I noticed that if I try to generate software reset from Timer0 interrupt handler, the controller won't boot.

The code I used to generate reset is:

RCCU->CCR |= 0x808;

RCCU->SMR |= 0x02;

Same code works when the reset is generated for example from main().

What's the reason for this behaviour? Is this a bug or a feature? :o

Noticed also that Reference Manual says that bit 11 (EN_HALT) in RCCU_CCR register is not Read-Write. Is this a document bug?

Regards,

Hanky