| Serial Baud Rates | Index |
A BrainStem module has several baud rate settings, with each represented by a different code. The baud rate generator in the microcontroller hardware is configured to match the desired baud rate as closely as possible. Since the baud rate generator has a limited number of possible rates, the actual baud rate will differ slightly from the desired baud rate. In some cases, this can effect communication with external serial devices. The desired baud rates and actual baud rates are listed below.
Changes to the serial baud rate do not take place immediately. Otherwise a user would immediately lose contact with the module. Instead, the new baud rate code is stored temporarily in RAM. After changing the serial baud rate with the cmdVAL_SET command, the user must issue a cmdVAL_SAV command to write the new baud rate code to the EEPROM. The module will initialize itself with the new baud rate at the next reset or power-up. After changing the baud rate in the module, a user may need to close any open host applications and reconfigure them to use the new baud rate.
In the table below, an asterisk denotes baud rate values that are available in the newest modules and GP 1.0 modules starting with Build 9.
A double asterisk denotes baud rate values that are available in GP 1.0 modules starting with Build 15. Baud Rate Code 7 configures a module for the MIDI baud rate.
| Note: | BrainStem host software only supports baud codes 0-6. |
| Baud Rate Code | Desired Rate | Actual Rate | Difference |
| 0 | 2400 | 2441 | +1.73% |
| 1 | 4800 | 4808 | +0.16% |
| 2 | 9600 | 9615 | +0.16% |
| 3 | 19200 | 19231 | +0.16% |
| 4 | 38400 | 38462 | +0.16% |
| 5* | 57600 | 58140 | +0.94% |
| 6* | 115200 | 113636 | -1.36% |
| 7** | 31250 | 31250 | 0.00% |