I want to know if someone have problems with the timer of this mcu. When start my program the timer goes at one frequency, but if I want to change this frequency it doesn't change. I want to know if the TBUCV register (0036h) or the TBUCSR register (0037h) were in the correct memory position. Thank you
I don't use in cascade mode, because I need a 1 Mhz clock, more or less, but now with TBUCV with #$fa and TBUCSR with #$18, I generate a 13 KHz clock. Thank you
Your register setting seems to be ok except TBUCV should be 0xfb in place of 0xfa for 1 Mhz. 0xfa setting produce 800 Khz but you are getting only 13khz, so check the following points-
1) Check the fcpu on the MCO pin. 2) Check the registers are programmed correctly(specially prescaler)