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 20:55
Read: times


 
#185398 - Your maths look fine
Responding to: ???'s previous message
As you have already noticed, the RCAP2 method will produce 31250 baud from 1MHz upwards for whole MHz values. It happens that 11.059 is pretty near 11 MHz.

The only reason for using 'baud-friendly' crystals is when you want all the friendly bauds: 9600, 19200, ... 230400.

You can get 9600 baud with many crystals. 230400 is less easy.

The Chinese STC12C5Axxx single-clockers can clock their UARTs at faster speeds.
They even have two UARTs. So can several other 8051 variants.

If you are only using Midi and not RS232, use whole MHz. e.g. 8, 12, 16, 20, 24MHz
Otherwise choose 11.059 or 22.118 MHz

David.

List of 6 messages in thread
TopicAuthorDate
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      

Back to Subject List