Serial Port 1 Mode 4 (Spi Master) - CMOSTEK CMT2380F17 Manual

Ultra low power sub-1ghz wireless mcu
Table of Contents

Advertisement

1.8432M
2.7648M
Table 19–9. S1BRG Generated Commonly Used Baud Rates @ FSYSCLK=32.0MHz
Baud Rate
1200
2400
4800
9600
14400
19200
28800
38400
57600
115200
Table 19–10. S1BRG Generated Commonly Used Baud Rates @ FSYSCLK=48.0MHz
Baud Rate
1200
2400
4800
9600
14400
19200
28800
38400
57600
115200
230.4K

19.3 Serial Port 1 Mode 4 (SPI Master)

The Serial Port of CMT2380F17 is embedded Mode 4 to support SPI master engine. The Mode 4 is
selected by SM31, SM01 and SM11. Table 19–11 shows the serial port mode definition in MG82F6D17.。
SM31
0
--
--
--
--
S1BRT, Reload Value of S1BRG
S1TX12 = 0
S1MOD1=0
S1MOD1=1
187
118
221
186
239
222
--
239
--
--
--
--
--
--
--
--
--
--
--
--
S1BRT, Reload Value of S1BRG
S1TX12 = 0
S1MOD1=0
S1MOD1=1
152
48
204
152
230
204
243
230
--
239
--
243
--
--
--
--
--
--
--
--
--
--
Table 19-11. Serial Port 1 Mode Selection
SM01
SM11
Mode
0
0
Rev0.1 | 236/347
--
--
Error
S1MOD1=0
0.64%
-0.79%
2.12%
48
2.12%
152
--
187
--
204
--
221
--
230
--
239
--
Error
S1MOD1=0
0.16%
0.16%
0.16%
0.16%
100
2.12%
152
0.16%
178
--
204
--
217
--
230
--
243
--
Description
0
shift register
CMT2380F17
--
--
--
255
S1TX12 = 1
S1MOD1=1
--
--
--
--
--
48
118
152
186
204
222
--
239
S1TX12 = 1
S1MOD1=1
--
--
--
--
--
--
--
48
100
152
178
204
230
--
243
Baud Rate
SYSCLK/12 or SYSCLK/4
www.cmostek.com
--
0.0%
Error
--
--
0.16%
0.16%
0.64%
0.16%
-0.79%
0.16%
2.12%
2.12%
Error
--
--
--
0.16%
0.16%
0.16%
0.16%
0.16%
0.16%
0.16%
0.16%

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CMT2380F17 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents