??? 07/16/07 08:01 Read: times |
#141917 - AutoReload Timer2 |
Hi,
I don't get an interrupt from Timer2: mov RCAP2L, #F4h mov RCAP2H, #D0h mov T2CON, #4 ;or setb TR2 setb EA setb ET2 T2MOD is #0 (reset value). What is missing? |
Topic | Author | Date |
AutoReload Timer2 | 01/01/70 00:00 | |
Missing interrupt handler software | 01/01/70 00:00 | |
AutoReload Timer2 | 01/01/70 00:00 | |
which deerivative? | 01/01/70 00:00 | |
AT89S52 | 01/01/70 00:00 | |
as a quick hardware test... | 01/01/70 00:00 | |
Your program is OK. Look for hardware problem | 01/01/70 00:00 | |
Sorry, I didn't look in the thread before posting | 01/01/70 00:00 | |
Timer 2 is missing! | 01/01/70 00:00 | |
Maybe you're right... | 01/01/70 00:00 | |
Well, then the die must be wrong | 01/01/70 00:00 | |
maybe ... | 01/01/70 00:00 | |
Yes, all ports tested and o.k. | 01/01/70 00:00 | |
stick another chop on and see | 01/01/70 00:00 | |
Another chop/chip? | 01/01/70 00:00 | |
ah, OK![]() | 01/01/70 00:00 |