Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/01/09 13:38
Read: times


 
#162973 - Timer2 problem on P89C668
Hello all,

For an old project I'm using a Philips P89C668HBBD. I want to use timer 2 in 16 bit autoreload mode.
I use the Bascom-8051 compiler which normally handles all the timer config.
Now it's not working and I want to use assembler to setup the timer to trace were it is going wrong.

But I don't know any assembler. Can someone give me an example on timer2 on a 89C668? I haven't found a suitable example which covers the 668.

When I use another 8052 dervivate (like 89C51RD2) everything works fine so it's possible the problem has something to do with the T2 interrupt vector. This is 3B for a 668 and 2B for an RD2.
I don't know how to check this.

Thanks in advance,

Peter

No replies in thread

Back to Subject List