6 Hardware Interface for Memory Programming
- To enter Memory Programming mode
- To enter Test mode
- Communicate
- Calibrate
The level of a hardware pin P2_0 determines the operation or mode of the BM70/71 module. The user must sample the pin when the RST_N pin goes active. The RST_N signal must be active for a minimum time to ensure the pin P2_0 logic level is latched into the IC correctly. When the BM70/71 module enters the applicable mode, communication over the UART interface becomes active. The data or protocol used to communicate between the host MCU and the BM70/71 module is based on the mode the BM70/71 module enters after a reset.
- Memory Programming mode – Pin P2_0 is latched by the BM70/71 module to a logic level ‘
0
’. - Application or Run mode (where general Bluetooth Low Energy operation is available) – Pin P2_0 is latched by the BM70/71 module to a logic level ‘
1
’. For more details on Run/Application mode, refer to the BM70/71 Bluetooth® Low Energy Module User’s Guide (DS50002542).
P2_0 Logic Level | Mode | Protocols Enabled |
---|---|---|
0-Low |
|
|
1-High | Application or Run | BM70 command set |
The preceding table provides details about the two protocols and two modes available, when the pin P2_0 is at logic level of ‘0
’. The header value and the data payload of the protocol packet determine what type of mode/protocol the host MCU is setting the BM70/71 module into.