Issues with Timer Module, Pulse Accumulator B set to Event Counter Mode - MC9S12DP256B

Discussion created by Guest on Dec 30, 2008
Latest reply on Dec 30, 2008 by kef
Hello,

I am using MC9S12DP256B. I am trying to get Pulse Accumulator A and Pulse Accumulator B working in Event Counter Mode for both A and B. I have function Generator connected to ICO0 and ICO7. Timer Registers are all default except: PACTL = 40h and PBCTL = 40h. Pulse Accumulator A works fine with this setup but Pulse Accumulator B is not counting pulses. I am not sure what I am doing wrong.

 

Also I am using Code Warrior, with what command would I be able to read PACN3 and PACN2 in one clock cycle.

 

Thanks for all the help and Happy New Year everybody.

Ulan



Outcomes