| ??? 06/03/03 20:29 Read: times |
#47435 - T2 compare or byte overflow in 80C592? |
I want to use the toggle output of Port 4.7 of a Philips 80C592 when matching of CM2 and T2 occurs...
Normally this happens every 2^16 cycles i.e every 65536 machine cycles, when the 16-bit T2 counter overflows.. I want the toggle to occure evey 2^8 i.e every 256 cycles when the lower byte overflows, with this rate being constant... I tried to do that by enabling the T2 Comparator2 interrupt, setting CML2 (lower byte of CM2)to 0xff, and adding to it 0xff in every ISR... It doesn't work... Should I try instead using the byte overflow option?My problem is that i can't reset T2 after every interrupt..How can I make this toggling rate constant? Any suggestions will be welcomed cause my mind is stacked after long hours... Cheers Giannis |
| Topic | Author | Date |
| T2 compare or byte overflow in 80C592? | 01/01/70 00:00 | |
| RE: T2 compare or byte overflow in 80C592? | 01/01/70 00:00 | |
| RE: T2 compare or byte overflow in 80C592? | 01/01/70 00:00 | |
| RE: T2 compare or byte overflow in 80C592? | 01/01/70 00:00 | |
| RE: T2 compare or byte overflow in 80C592? | 01/01/70 00:00 | |
RE: T2 compare or byte overflow in 80C592? | 01/01/70 00:00 |



