General Category > LisaList2

Serial A Baud Rate correction when PFG installed but NOT using MacWorks Plus II

<< < (2/2)

sigma7:
After checking the Hardware Reference and SCC Manuals, I see I have miscalculated baud rate errors that arise due to the whole number nature of the divisor.

I had been simply dividing the clock frequency by the baud rate and rounding to find the closest divisor. However, the 8530 SCC actually uses the following formula for the Time Constant divisor:

  TC = ( ClockFrequency / (CM * 2 * Baud Rate) ) - 2

Where CM is a selectable Clock Mode factor selected from 4 values [1, 16, 32, 64], usually 1 IIRC.

This results in slightly different values, so I'll recalculate the tables and edit them in place above if possible.

Edit:
Changes were made to the posts above in an attempt to correct the error.

Navigation

[0] Message Index

[*] Previous page

Go to full version