Mccnt malfunction

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Mccnt malfunction

1,109件の閲覧回数
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 件の賞賛
返信
0 返答(返信)