changeset 61:7941a5e06d6a

cp2102/baudtab-{gsm,std}: two important baud rate tables of interest
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 21:11:41 +0000
parents ae8075bcc029
children f5db4e03efb2
files cp2102/baudtab-gsm cp2102/baudtab-std
diffstat 2 files changed, 72 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cp2102/baudtab-gsm	Mon Sep 11 21:11:41 2023 +0000
@@ -0,0 +1,37 @@
+# This CP2102 baud rate table is the version that is needed for talking
+# to 13 MHz GSM devices (16x UART clock input) faster than 115200 bps:
+# standard baud rates 230400/460800/921600 have been replaced with
+# GSM-specific (13 MHz based) 203125/406250/812500.
+
+baud-entry  0: 1500000 = FFF0, FFFA, 1, 0	# 1500000 baud, 12 us
+baud-entry  1: 1500000 = FFF0, FFFA, 1, 0	# 1500000 baud, 12 us
+baud-entry  2: 1200000 = FFEC, FFF8, 1, 0	# 1200000 baud, 16 us
+baud-entry  3:  812500 = FFE2, FFF4, 1, 0	# 800000 baud, 24 us
+baud-entry  4:  576000 = FFD6, FFF0, 1, 0	# 571428 baud, 32 us
+baud-entry  5:  500000 = FFD0, FFEE, 1, 0	# 500000 baud, 36 us
+baud-entry  6:  406250 = FFC5, FFE9, 1, 0	# 406779 baud, 46 us
+baud-entry  7:  256000 = FFA2, FFDC, 1, 0	# 255319 baud, 72 us
+baud-entry  8:  250000 = FFA0, FFDC, 1, 0	# 250000 baud, 72 us
+baud-entry  9:  203125 = FF8A, FFD3, 1, 0	# 203389 baud, 90 us
+baud-entry 10:  153600 = FF64, FFC5, 1, 0	# 153846 baud, 118 us
+baud-entry 11:  128000 = FF44, FFB9, 1, 0	# 127659 baud, 142 us
+baud-entry 12:  115200 = FF30, FFB2, 1, 0	# 115384 baud, 156 us
+baud-entry 13:   76800 = FEC8, FF8B, 1, 0	# 76923 baud, 234 us
+baud-entry 14:   64000 = FE89, FF73, 1, 0	# 64000 baud, 282 us
+baud-entry 15:   57600 = FE5F, FF63, 1, 0	# 57553 baud, 314 us
+baud-entry 16:   56000 = FE53, FF5F, 1, 0	# 55944 baud, 322 us
+baud-entry 17:   51200 = FE2B, FF50, 1, 0	# 51172 baud, 352 us
+baud-entry 18:   38400 = FD8F, FF15, 1, 0	# 38400 baud, 470 us
+baud-entry 19:   28800 = FCBF, FEC7, 1, 0	# 28811 baud, 626 us
+baud-entry 20:   19200 = FB1E, FE2B, 1, 0	# 19200 baud, 938 us
+baud-entry 21:   16000 = FA24, FE0C, 1, 0	# 16000 baud, 1.000 ms
+baud-entry 22:   14400 = F97D, FE0C, 1, 0	# 14397 baud, 1.000 ms
+baud-entry 23:    9600 = F63C, FE0C, 1, 0	# 9600 baud, 1.000 ms
+baud-entry 24:    7200 = F2FB, FE0C, 1, 0	# 7200 baud, 1.000 ms
+baud-entry 25:    4800 = EC78, FE0C, 1, 0	# 4800 baud, 1.000 ms
+baud-entry 26:    4000 = E890, FE0C, 1, 0	# 4000 baud, 1.000 ms
+baud-entry 27:    2400 = D8F0, FE0C, 1, 0	# 2400 baud, 1.000 ms
+baud-entry 28:    1800 = CBEB, FE0C, 1, 0	# 1800 baud, 1.000 ms
+baud-entry 29:    1200 = B1E0, FE0C, 1, 0	# 1200 baud, 1.000 ms
+baud-entry 30:     600 = 63C0, FE0C, 1, 0	# 600 baud, 1.000 ms
+baud-entry 31:     300 = B1E0, FE0C, 4, 0	# 300 baud, 1.000 ms
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cp2102/baudtab-std	Mon Sep 11 21:11:41 2023 +0000
@@ -0,0 +1,35 @@
+# This CP2102 baud rate table is the standard one these chips ship with,
+# supporting "standard" baud rates up to 921600 bps.
+
+baud-entry  0: 1500000 = FFF0, FFFA, 1, 0	# 1500000 baud, 12 us
+baud-entry  1: 1500000 = FFF0, FFFA, 1, 0	# 1500000 baud, 12 us
+baud-entry  2: 1200000 = FFEC, FFF8, 1, 0	# 1200000 baud, 16 us
+baud-entry  3:  921600 = FFE6, FFF6, 1, 0	# 923076 baud, 20 us
+baud-entry  4:  576000 = FFD6, FFF0, 1, 0	# 571428 baud, 32 us
+baud-entry  5:  500000 = FFD0, FFEE, 1, 0	# 500000 baud, 36 us
+baud-entry  6:  460800 = FFCC, FFEC, 1, 0	# 461538 baud, 40 us
+baud-entry  7:  256000 = FFA2, FFDC, 1, 0	# 255319 baud, 72 us
+baud-entry  8:  250000 = FFA0, FFDC, 1, 0	# 250000 baud, 72 us
+baud-entry  9:  230400 = FF98, FFD9, 1, 0	# 230769 baud, 78 us
+baud-entry 10:  153600 = FF64, FFC5, 1, 0	# 153846 baud, 118 us
+baud-entry 11:  128000 = FF44, FFB9, 1, 0	# 127659 baud, 142 us
+baud-entry 12:  115200 = FF30, FFB2, 1, 0	# 115384 baud, 156 us
+baud-entry 13:   76800 = FEC8, FF8B, 1, 0	# 76923 baud, 234 us
+baud-entry 14:   64000 = FE89, FF73, 1, 0	# 64000 baud, 282 us
+baud-entry 15:   57600 = FE5F, FF63, 1, 0	# 57553 baud, 314 us
+baud-entry 16:   56000 = FE53, FF5F, 1, 0	# 55944 baud, 322 us
+baud-entry 17:   51200 = FE2B, FF50, 1, 0	# 51172 baud, 352 us
+baud-entry 18:   38400 = FD8F, FF15, 1, 0	# 38400 baud, 470 us
+baud-entry 19:   28800 = FCBF, FEC7, 1, 0	# 28811 baud, 626 us
+baud-entry 20:   19200 = FB1E, FE2B, 1, 0	# 19200 baud, 938 us
+baud-entry 21:   16000 = FA24, FE0C, 1, 0	# 16000 baud, 1.000 ms
+baud-entry 22:   14400 = F97D, FE0C, 1, 0	# 14397 baud, 1.000 ms
+baud-entry 23:    9600 = F63C, FE0C, 1, 0	# 9600 baud, 1.000 ms
+baud-entry 24:    7200 = F2FB, FE0C, 1, 0	# 7200 baud, 1.000 ms
+baud-entry 25:    4800 = EC78, FE0C, 1, 0	# 4800 baud, 1.000 ms
+baud-entry 26:    4000 = E890, FE0C, 1, 0	# 4000 baud, 1.000 ms
+baud-entry 27:    2400 = D8F0, FE0C, 1, 0	# 2400 baud, 1.000 ms
+baud-entry 28:    1800 = CBEB, FE0C, 1, 0	# 1800 baud, 1.000 ms
+baud-entry 29:    1200 = B1E0, FE0C, 1, 0	# 1200 baud, 1.000 ms
+baud-entry 30:     600 = 63C0, FE0C, 1, 0	# 600 baud, 1.000 ms
+baud-entry 31:     300 = B1E0, FE0C, 4, 0	# 300 baud, 1.000 ms