Ali2006

MC9S08QG8

Discussion created by Ali2006 on Dec 12, 2006
Latest reply on Dec 27, 2006 by Zeev Ben-Shabetai
Hello,
 
Does anyone know how to set the initial state of the Output compare pin when using a timer channel as output compare for the MC9S08QG8. 
 
I've tried Clearing the TPMC1SC register.. their by clearing MSxA bit while the ELSA bits are 00 which used to work in the TIM08 modules and is detailed in the TIM08 reference manual, but this little S08 does not seem to work that way. 
 
Basically I have an application that uses output compare, but the initial state should be HIGH.  Every time I turn on the output compare it sets the output pin to LOW. 
 
Any suggestions, or recommendations greatly appreciated.
 
Thanks.
 
 

Outcomes