MC9S08QG8

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

MC9S08QG8

1,133 Views
Ali2006
Contributor II
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.
 
 
Labels (1)
0 Kudos
1 Reply

217 Views
daniel1
Contributor I
Dear ALI I'm sorry that I can't help you ,but may be could you please send me  an example of use of Adc and PWM.thank's zeevbs@yahoo.com
 
0 Kudos