Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/12 17:12
Read: 380 times


 
#185404 - It Works!!!
Responding to: Konstantinos L. Angelis'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.

List of 6 messages in thread
TopicAuthorDate
31.25K Baud Rate w/Crystals Other Than 6, 12 or 24MHz      Jon Wilder      01/09/12 11:22      
   Use Timer2 since a S52 has a timer2      David Prentice      01/09/12 11:41      
      Timer2 Baud Rate      Jon Wilder      01/09/12 12:49      
         Your maths look fine      David Prentice      01/09/12 13:55      
            I just got the calculator out      KONSTANTINOS L. ANGELIS      01/09/12 14:27      
               It Works!!!      Jon Wilder      01/09/12 17:12      

Back to Subject List