| ??? 07/17/07 06:56 Read: times |
#141946 - AT89S52 Responding to: ???'s previous message |
I recall (can not recall which) a derivative where 'ET2' was not the 'standard' bit.
I'm working with a AT89S52. I've even tried the direct addresses of the bits in the SFRs (0xAD for ET2, 0xCA for TR2). The ISR is as simple as possible:
org 0x2B
TIMER2:
CLR TF2
CPL P3.5
RETI
Regards, Jack Braun |
| 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 |



