SLAU887 February 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
Structure
Header |
Length |
CMD |
Data |
CRC32 | ||||
---|---|---|---|---|---|---|---|---|
0x80 |
0x02 |
0x00 |
0x52 |
D1 |
C1 |
C2 |
C3 |
C4 |
Description
The command can be used to change the baud rate of the UART interface. The new baud rate will take effect after sending out the BSL acknowledgment for this packet.
The default baud rate of the BSL UART is 9600 bps.
After updating the baud rate, if a wrong BSL password is sent with the Unlock Bootloader command, the baud rate settings will be reverted to default value. Further communication should happen in the default baud rate.
Protected
No
Data
D1 Baud rate as specified in the table.
ID | Baud Rate (bps) |
---|---|
1 | 4800 |
2 | 9600 |
3 | 19200 |
4 | 38400 |
5 | 57600 |
6 | 115200 |
7 | 1000000 |
8 | 2000000 |
9 | 3000000 |
Command Returns
BSL Acknowledgment