cancel
Showing results for 
Search instead for 
Did you mean: 

ST72F321BR9 TIMER PROBLEM

Posted on May 28, 2007 at 06:14

ST72F321BR9 TIMER PROBLEM

1 REPLY 1
Posted on May 28, 2007 at 06:14

When I use the input capture mode on timer A the MCU go in reset.

The code sequence is:

_asm(''rim'')

(PORT INIZIALIZATION)

TACR2 = 0x08; //fcpu/8

TACR1 = 0x80; //''IC'' interrupt

_asm(''rim'')

AT THIS POINT THE MCU RESET.

I use the same code on ST7C334N4 and work good.

Now, what is the problem?