6.6 Host MCU Interface Over UART
The BM83 module supports UART commands, which enable an external MCU to control the BM83 module. The following figure illustrates the UART interface between the BM83 module and an external MCU. An external MCU can control the BM83 module over the UART interface and wake up the module with the MFB and P0_0 pins.
Refer to SPKcommandset tool to get a list of functions supported by the BM83 module and how to use the Config Tool for configuring UART and UART command set tool.
The following figures illustrate the timing sequences of various UART control signals.
- For a byte, write: 0.01 ms x 32 clock x 2 = 640 μs.
- It is recommended to have ramp-down time more than 640 μs during the Power Off sequence to ensure safe operation of the device.
If the BM83 module does not respond to the host MCU’s UART command, the MCU re-sends the UART command. If the BM83 module does not respond within 5 seconds, the MCU forces the system to reset.