Stefan Timter

S12 Output COmpare

Discussion created by Stefan Timter on May 20, 2009
Latest reply on May 25, 2009 by Processor Expert



i have a problem with the Output Compare function of my MC9S12C64 µC.


When i set the bit for Channel 6 Output Compare in the TIOS register i get the error Illegal_BP when starting the code.


if i use the bean wizard in codewarrior i can generate a pulse but it has double the length i set. If i set pulse width 2730µs then i will measure 5,4µs.


need help plzz :smileyhappy:

Message Edited by Greeny on 2009-05-20 12:45 PM