Resources
BMHB2020:BH66F2455 CGM Dev Board Resources
- CGM Continuous Glucose Monitoring Dev Board BMHB2020 ,, based on the BH66F2455 (3.0V) AFE + HT32F67593 (BLE MCU) platform.
- The AFE is based on BH66F2455 (3.0V platform). It handles analog signal acquisition (battery voltage, temperature resistance, WE1/WE2 currents, etc.), communicating with the BLE MCU (HT32F67593) or a host over UART.
- The BLE side uses HT32F67593, running a BLE 5.1 stack. It talks to phones / apps over BLE, and to the AFE over UART, forming the full CGM link. The default advertising name is "BH CGM HT32", declaring the standard CGM Service (UUID 0x181F), with CGMS-compatible mode supported.
Quick Start
Platform: BH66F2455 (3.0V AFE) + HT32F67593 (BLE MCU)
Version Date: 2026-11-02
This document is the user guide for the BestHealth CGM (Continuous Glucose Monitoring) development board BMHB2020 (board rev. V1.0) and its companion software resources, based on the BH66F2455 (3.0V) AFE + HT32F67593 (BLE MCU) platform.
Downloads: The website offers the BH66F2455 and HT32F67593 chip datasheets (public), the BMHB2020 quick start guides (download after email-code verification, without business approval) and the complete resource package. All other materials listed in this document are included in the complete resource package, which requires an application and business approval (service@e-besthealth.com).
project-root/
├── 1.doc/ # Documents and references
├── 2.firmware_AFE/ # Prebuilt AFE firmware
├── 2.code_BLE/ # BLE firmware and stack
└── 3.board/ # Board-level and PCB filesProduct documentation, protocols, chip datasheets, and evaluation tools for understanding the system and starting secondary development.
| File / Directory | Description |
|---|---|
BMHB2020_Quick_Start_CN_V1.0.pdf / BMHB2020_Quick_Start_EN_V1.0.pdf | BMHB2020 Dev Board Quick Start Guides V1.0 (Chinese / English) (read first for initial use; download after email-code verification, without business approval) |
BH66F2455_HT32F67593_CGM_DevBoard_User_Guide_CN_V0.3.pdf / BH66F2455_HT32F67593_CGM_DevBoard_User_Guide_EN_V0.3.pdf | Dev board user guides V0.3 (Chinese / English) (required reading) |
@健康量測產品-產品推廣-CGM_BH66F2455_HT32F67593.pdf | Product and solution introduction (included in the complete resource package) |
BH66F2455_AFE_Protocol_CN_V1.3.pdf / BH66F2455_AFE_Protocol_EN_V1.3.pdf | AFE communication protocols V1.3 (Chinese / English) |
CGM_BLE_Protocol_CN_V2.0.pdf / CGM_BLE_Protocol_EN_V2.0.pdf | CGM BLE communication protocols V2.0 (Chinese / English) |
| File | Description |
|---|---|
HT CGM 二维码生成工具.html | CGM QR-code generator (web page, open directly in a browser) |
HT CGM 功耗评估工具.url | Shortcut to the online power estimation tool (https://www.e-besthealth.com/tools/power-estimator) |
| Path / File | Description |
|---|---|
相关器件Datasheet/ | Main chip and key component datasheets |
BH66F2455v120.pdf / simBH66F2455v120.pdf | BH66F2455 AFE datasheet (English / Simplified Chinese) |
HT32F67593_Datasheet_v100.pdf / simHT32F67593_Datasheet_v100.pdf | HT32F67593 datasheet (English / Simplified Chinese) |
3.0V_宇锋CR920.pdf | Yufeng CR920 3.0V coin-cell battery datasheet |
C42379496_陶瓷天线_CW201-02_规格书_WJ1477289.PDF | CW201-02 ceramic antenna datasheet |
MDT-Switch-Sensors-TMR1369-Datasheet-CN-V1.0.1.pdf | MDT TMR1369 magnetic switch sensor datasheet |
NTC热敏电阻_NTCG064BF473FTBX_规格书_WJ269337.PDF / ntcg064bf473ftbx.csv | NTC thermistor datasheet and R-T characteristic table |
USB-UART/ | Components of the isolated USB-UART debug circuit (B0505XT-1WR3 isolated DC-DC, CA-IS3722CHS digital isolator, HT42B534 USB-UART bridge, HT73Lxx LDO) |
Recommended reading order: start with the dev board user guide, AFE communication protocol, and CGM BLE communication protocol, then consult the datasheets as needed.
The AFE is based on BH66F2455 (3.0V platform). It handles analog signal acquisition (battery voltage, temperature resistance, WE1/WE2 currents, etc.), communicating with the BLE MCU (HT32F67593) or a host over UART.
2.firmware_AFE/
├── CGM_AFE_BH66F2455_V0.16_UART_B29F_OPxO-DACxO.MTP # Prebuilt AFE firmware
├── HOPE5000_使用手册_v150--20260813_sc.pdf # HOPE5000 Chinese user guide
└── HOPE5000_User_Guide_v150--20260813_en.pdf # HOPE5000 English user guide- Interface: UART
- Parameters: 38400 bps, 8N1, no parity
- Data: little-endian; request-response. Wait for the complete response before sending the next command; do not use a fixed delay alone to determine completion.
- Frame format: ordinary requests and normal responses are 13 bytes (0x0D): header(1) + length(1) + cmd(1) + data(9) + LRC(1). C1/C2 failures return a 6-byte E0 response; headers are 0x55 (master→slave) and 0xAA (slave→master).
Common commands:
| Command | Description |
|---|---|
| 0xB0 | Parameter read/write (firmware version, ADC sample rate/gain, VREF, DAC1O/2O/3O, restart count read/clear at 0x08, internal feedback resistor control at 0x09, and restore all at 0x0A) |
| 0xC1 | Voltage calibration (DACVREF, electrode count, DAC1O/2O/3O) |
| 0xC2 | Current calibration (WE1/WE2 feedback resistors and K1/K2) |
| 0xD1 | Measurement command (battery voltage, temperature resistance, WE1 current, WE2 current — multiple items can be combined using a bitmask; parse valid fields using the actual measurement mask in the response) |
Detailed frame definitions and examples: 1.doc/BH66F2455_AFE_Protocol_EN_V1.3.pdf
- Program the prebuilt
.MTPfirmware in2.firmware_AFE/according to the dev board user guide. - HOPE5000 programming instructions: [English manual](2.firmware_AFE/HOPE5000_User_Guide_v150--20260813_en.pdf) / [Chinese manual](2.firmware_AFE/HOPE5000_使用手册_v150--20260813_sc.pdf).
The BLE side uses HT32F67593, running a BLE 5.1 stack. It talks to phones / apps over BLE, and to the AFE over UART, forming the full CGM link. The default advertising name is "BH CGM HT32", declaring the standard CGM Service (UUID 0x181F), with CGMS-compatible mode supported.
2.code_BLE/
├── libraries/ # Precompiled BLE libraries (boot2 / patch / rom)
├── projects/ # Buildable projects
│ ├── application/cgm_profile/ # CGM product firmware (Keil and HT32-IDE projects)
│ └── libraries/ # boot2 / patch library projects
├── release/ # Firmware release (V2.1: full-image hex and OTA bin)
├── sources/ # Source code
│ ├── ble5.1/ # BLE 5.1 stack
│ ├── boards/ # Board definitions
│ ├── components/ # Common components (OTA, Flash, timing, HCI, IPC, etc.)
│ ├── device/ # Device support (CMSIS, startup files, etc.)
│ ├── drivers/ # Peripheral drivers
│ ├── mem_cfg/ # Memory configuration
│ ├── patch/ # Patches and extensions
│ └── projects_source/ # Application project sources (application/cgm_profile, etc.)
├── third_party/ # Third-party configuration (CMSIS Pack)
└── tools/ # Firmware tools (bin2array, boot2_pkg, flash_algorithm, fw_upgrade, mlog, etc.)- CGM product firmware project:
projects/application/cgm_profile/(project_keil/project_HT32-IDE) - Application source:
sources/projects_source/application/cgm_profile/ - Released firmware:
release/BH_CGM_HT32_V2.1_8C00_cgm_profile.hex(full image),release/BH_CGM_HT32_V2.1_8C00_binADB0C1B7.bin(OTA upgrade package)
- Open the project under
projects/application/cgm_profile/in Keil or HT32-IDE and build. - Flash with J-Link or Holtek programming tools; firmware packaging and upgrade scripts are under
tools/.
Complete PCB design files of the BMHB2020 dev board V1.0, for hardware reference and redesign.
| File | Description |
|---|---|
SCH_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.pdf | Schematic PDF |
PCB_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.pdf | PCB layout PDF |
BOM_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.xlsx | Bill of materials |
Gerber_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.zip | Gerber production files |
PickAndPlace_BH66F2455_HT32F67593_CGM_DevBoard_V1.0.xlsx | Pick-and-place coordinates |
ProPrj_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.epro2 | EasyEDA Pro project file |
3D正面/3D背面/3D侧面_.png, 实物图_.png | 3D renders and photos of the board |
Tip: verify the schematic and PCB revision (V1.0) before referencing them in your own design.
For first use of a preprogrammed and calibrated BMHB2020 board, start with 1.doc/BMHB2020_Quick_Start_EN_V1.0.pdf (Chinese version: 1.doc/BMHB2020_Quick_Start_CN_V1.0.pdf). Follow the guide in order: power and jumper setup → app installation and sign-in → QR scanning, connection and pairing → four-position current measurement → TXT / Excel data review. No firmware rebuild or reprogramming is required for this initial test.
The firmware programming and project configuration steps below are for reprogramming or secondary development; follow them as needed.
- Read the docs
1.doc/BH66F2455_HT32F67593_CGM_DevBoard_User_Guide_EN_V0.3.pdf1.doc/BH66F2455_AFE_Protocol_EN_V1.3.pdf1.doc/CGM_BLE_Protocol_EN_V2.0.pdf
- Prepare hardware
- Use the BMHB2020 dev board or your own board (see
3.board/); - Confirm the power supply (3.0V, e.g. Yufeng CR920 coin cell) and components such as the antenna / NTC / TMR sensor (see
1.doc/相关器件Datasheet/).
- AFE firmware
- Use the prebuilt AFE firmware (
.MTP) in2.firmware_AFE/and follow the dev board user guide to flash it; - When integrating with BLE or a host, use UART 38400 8N1 and follow the AFE protocol framing; wait for the complete response before sending the next command.
- BLE firmware
- Open and build the project under
2.code_BLE/projects/application/cgm_profile/, or directly flash the V2.1 firmware under2.code_BLE/release/; - Pair with the app following the CGM BLE protocol (default advertising name "BH CGM HT32").
- Power estimation & selection
- Use the online tool linked by
1.doc/HT CGM 功耗评估工具.urlto estimate system power consumption.
- Resource pack version: based on the BestHealth CGM BH66F2455 + HT32F67593 (BMHB2020 V1.0) design as of 2026-11-02.
- BLE firmware version: V2.1 (
0x0201), see2.code_BLE/release/. - Technical support: tony@e-besthealth.com (project contact)
- Business inquiries: service@e-besthealth.com
- Website: https://www.e-besthealth.com
- Address: Office 301, Building 10, Xinzhu Garden, No.4 Xinzhu Road, Songshan Lake, Dongguan, Guangdong, China
- Phone: +86-769-26261311
The materials in this repository — including hardware schematics, PCB files, source code, and documents — are provided solely for customer reference and evaluation. Before using these materials in product design, mass production, or commercial deployment, customers are responsible for conducting full functional testing, reliability validation, and regulatory certification. BestHealth Electronics Inc. (悠健电子(东莞)有限公司) shall not be liable for any direct or indirect losses arising from the customer's use of these materials in production, sale, or operation — including but not limited to yield issues, field failures, product recalls, or end-customer claims. These materials are provided "as is" without warranty of any kind, express or implied.
All materials in this repository (including but not limited to hardware design files, source code, documents, trademarks, and logos) are the intellectual property of BestHealth Electronics Inc. (悠健电子(东莞)有限公司), protected by applicable laws. Customers are granted only the right to use these materials for reference and evaluation. Reverse engineering, resale, redistribution, or unauthorized public release is prohibited without prior written consent.
© 2026 BestHealth Electronics Inc. (悠健电子(东莞)有限公司) All Rights Reserved.
This README is a directory-level user guide for fast navigation. Refer to the individual PDFs and source code for protocol and register details.