Hi,
I'm having serious issues with the Z180 timers... My code sets up mode two interrupts, then writes to the Timer Reload Registers HIGH and LOW, and then set the bits in tthe Timer Control Register to enable the timer interrupt (TIE0) and Timer Down Count Enable (TDE0)
Then the code ends in a loop (the main task just loops). The interrupt service routine increments register A and outputs it to a parallel port so I can view activity of BIT 0 on a scope. I get the square waveform on my scope as expected but if I change the value in the Timer Reload Registers the frequency does not change.
I'm using the SC126 with the Z8S18033VSC version of the CPU as supplied with the kit and running at 18.432 MHz.
I'm completely out of ideas after scouring the internet and reading different versions of Z180 documentation to find ERRATA but can not find any on the timers so I wonder if anybody else has had this issue and has a possible solution.
Thanks
Nick