Mccnt malfunction

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mccnt malfunction

726 Views
shaz
Contributor I

hello

the MCCNT is not couting despite the configuration :

bset TSSCR1,TFFCA

movb #$c7,MCCTL

movw #15000,MCCNT

the counter MCCNT is set with the decimal value i chose 15000 and does not count down at all as i checked its location in the memory, i checked the register MCFLG and the bit MCZF is always zero.

no interrupt is launched since MCCNT does not reach 0 and ISR cannot be executed.

any hint 

0 Kudos
Reply
0 Replies