I have come across a problem when using T1 in 8bit pwm mode. According to the 8515 data sheets, clearing bits 5,4 of TCCR1A should disconnect OC1B , however it does not . I use this output as a motor drive (buffered of course) and the only way that I can stop the motor is to completely disable the pwm by clearing bits 1,0 of TCCR1A. This causes other dramas as the counter can then run past 0xff and has to be reset before I can restart pwm in 8bit mode. Does anyone know why OC1B behaves like this?
Joined: Thu. Feb 22, 2001
Posts: 72 View posts
Location: Gold Coast , QLD, Australia