??? 12/09/05 09:42 Read: times |
#104956 - it's not interrupt, actually Responding to: ???'s previous message |
Hi,
Thank you for all suggest. I made a mistake, actually, it's not "interrupt" I'd like to generate, but "external clock". I have read the datasheet of AT89S52 section 12 page 16 about Programmable Clock Out. Using 16 MHz oscillator, it can generate maximum 4 MHz. If I use 12 MHz, it may generate maximum 3 MHz and I only need 1MHz maximum. Still I have a problem. I have cleared C/T2# and set T2OE and set TR2, but the P1.0 didn't give clock as it should. Anybody know why? Thank you. |
Topic | Author | Date |
Timer 2 interrupt of AT89S52 | 01/01/70 00:00 | |
A lot of interrupts | 01/01/70 00:00 | |
useless | 01/01/70 00:00 | |
it's not interrupt, actually | 01/01/70 00:00 | |
post your program here | 01/01/70 00:00 | |
here is the program | 01/01/70 00:00 | |
t2mod=2; | 01/01/70 00:00 | |
still the same | 01/01/70 00:00 | |
I asked almost same question but! | 01/01/70 00:00 | |
I also generate PWM | 01/01/70 00:00 | |
the point is | 01/01/70 00:00 | |
the point is I just made it | 01/01/70 00:00 | |
retry | 01/01/70 00:00 | |
Thanks a lot JW![]() | 01/01/70 00:00 |