??? 01/10/12 00:12 Read: times |
#185404 - It Works!!! Responding to: ???'s previous message |
Excellent news. I modified the pre-existing code I had to use timer 2 instead of timer 1 as the BRG. I then preloaded RCAP2H and RCAP2L with 0xFF and 0xF8 respectively and low and behold it works with MIDI.
MIDI is in fact the only serial protocol I work with. Good to know that timer 2 can be used as a BRG and it works in 16 bit auto-reload as I tend to stock mainly 8 and 16MHz crystals for my PIC uC stuff. |
Topic | Author | Date |
31.25K Baud Rate w/Crystals Other Than 6, 12 or 24MHz | 01/01/70 00:00 | |
Use Timer2 since a S52 has a timer2 | 01/01/70 00:00 | |
Timer2 Baud Rate | 01/01/70 00:00 | |
Your maths look fine | 01/01/70 00:00 | |
I just got the calculator out | 01/01/70 00:00 | |
It Works!!! | 01/01/70 00:00 |