MCU Products

MCU Products

Professional microcontroller solutions for your applications

Overview

The device is a Flash Memory 8-bit high performance RISC architecture microcontroller device with Continuous Glucose Monitoring (CGM) AFE module that specifically designed for CGM applications.

For memory features, the Flash Memory offers users the convenience of Flash Memory multiprogramming features. Other memory includes an area of RAM Data Memory as well as an area of true EEPROM memory for storage of non-volatile data such as serial numbers, calibration data etc. By using the In Application Programming technology, users have a convenient means to directly store their measured data in the Flash Program Memory as well as having the ability to easily update their application programs.

Analog features include a multi-channel 24-bit Delta Sigma A/D converter, three 12-bit D/A converters and three internal operational amplifiers. Multiple and extremely flexible Timer Modules provide timing, pulse generation and PWM generation functions. Communication with the outside world is catered for by including fully integrated SPI and UART interface functions, two popular interfaces which provide designers with a means of easy comminucation with external peripheral hardware. Protective features such as an internal Watchdog Timer and Low Voltage Reset coupled with excellent noise immunity and ESD protection ensure that reliable operation is maintained in hostile electrical environments.

A full choice of internal high and low oscillator functions are provided including three fully integrated system oscillators which require no external components for their implementation. The ability to operate and switch dynamically between a range of operating modes using different clock sources gives users the ability to optimise microcontroller operation and minimise power consumption.

With regard to CGM applications, the device has integrated many of the functions required by these products. These include functions such as Internal Reference Voltage generator, 24-bit Delta Sigma A/D converter, 12-bit D/A Converters and operational amplifiers, etc. The inclusion of flexible I/O programming features, 16-bit Cyclic Redundancy Check function, Time Base functions along with many other features enhance the versatility of the device to suit for CGM applications.

Documents

BH66F2455v100

Contains electrical characteristics, register descriptions, and system architecture. Please refer to it before solution design and software development.

QFN24

Includes package dimensions, pad layout, and assembly requirements. Please use it for PCB layout and process evaluation.

BMHB2020:BH66F2455 CGM Dev Board Resources

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

BestHealth CGM Continuous Glucose Monitoring Dev Board BMHB2020 — User Guide

Platform: BH66F2455 (3.0V AFE) + HT32F67593 (BLE MCU) Version Date: 2026-08-17

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.

1. Directory Layout
project-root/
├── 1.doc/                    # Documents and references
├── 2.code_AFE/               # AFE firmware and drivers
├── 2.code_BLE/               # BLE firmware and stack
├── 3.board/                  # Board-level and PCB files
└── README.md                 # This guide
2. 1.doc — Documents and References

Product documentation, protocols, chip datasheets, and evaluation tools for understanding the system and starting secondary development.

2.1 Product & Dev Board Documents
File / DirectoryDescription
CGM_BH66F2455_HT32F67593_Demo_Board 使用说明-V0.1.pdfDev board user guide (required reading)
@健康量測產品-產品推廣-CGM_BH66F2455_HT32F67593.pdfProduct and solution introduction (download upon request — contact service@e-besthealth.com)
CGM_BLE协议_V0.5.pdfCGM BLE communication protocol
2.2 Evaluation Tools
FileDescription
HT CGM 二维码生成工具.htmlCGM QR-code generator (web page, open directly in a browser)
HT CGM 功耗评估工具.urlShortcut to the online power estimation tool (https://www.e-besthealth.com/tools/power-estimator)
2.3 Chip & Component Datasheets
Path / FileDescription
相关器件Datasheet/Main chip and key component datasheets
BH66F2455v120.pdf / simBH66F2455v120.pdfBH66F2455 AFE datasheet (English / Simplified Chinese)
HT32F67593_Datasheet_v100.pdf / simHT32F67593_Datasheet_v100.pdfHT32F67593 datasheet (English / Simplified Chinese)
3.0V_宇锋CR920.pdfYufeng CR920 3.0V coin-cell battery datasheet
C42379496_陶瓷天线_CW201-02_规格书_WJ1477289.PDFCW201-02 ceramic antenna datasheet
MDT-Switch-Sensors-TMR1369-Datasheet-CN-V1.0.1.pdfMDT TMR1369 magnetic switch sensor datasheet
NTC热敏电阻_NTCG064BF473FTBX_规格书_WJ269337.PDF / ntcg064bf473ftbx.csvNTC 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 and CGM_BLE协议_V0.5.pdf (BLE protocol), then consult the datasheets as needed.

3. 2.code_AFE — AFE Firmware and Drivers

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.

3.1 Directory Overview
2.code_AFE/
└── BH66F2455_Driver/
    ├── application/              # Application layer (e.g. IAP/ISP)
    ├── application_projects/     # CGM application projects (flashable to the AFE)
    ├── board/                    # Board configuration
    ├── driver/                   # Low-level drivers
    ├── example/                  # Example projects (ADC, NTC, current, UART, timers, etc.)
    └── application_projects/doc/ # AFE communication protocol document
3.2 AFE Communication Reference (for host / BLE integration)
  • Interface: UART
  • Parameters: 38400 bps, 8N1, no parity
  • Data: little-endian; request-response; inter-frame gap must exceed 50 ms
  • Frame format: header(1) + length(1) + cmd(1) + data(9) + LRC(1), fixed total length 0x0D; header 0x55 (master→slave), 0xAA (slave→master)

Common commands:

CommandDescription
0xB0Parameter read/write (firmware version, ADC sample rate/gain, VREF, DAC1O/2O/3O, AFE restart count, etc.)
0xC1Voltage calibration (DACVREF, electrode count, DAC1O/2O/3O)
0xC2Current calibration (WE1/WE2 feedback resistors and K1/K2)
0xD1Measurement command (battery voltage, temperature resistance, WE1 current, WE2 current — one type per request)
0xF0Restart count read/erase (kept for compatibility, debug use)

Detailed frame definitions and examples: 2.code_AFE/BH66F2455_Driver/application_projects/doc/BH66F2452_55_CGM_AFE通信协议.md

3.3 Build and Programming
  • Projects use Holtek's format (.pjtx / .OPT); open and build with the official Holtek HT-IDE. The latest IDE ships with the BH66F2455 CFG configuration — no extra patch is needed.
  • Refer to Holtek's programming guide for BH66F2455.
4. 2.code_BLE — BLE Firmware and Stack

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.

4.1 Directory Overview
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 (V0.4 B499: 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.)
4.2 CGM-Related Projects and Firmware
  • 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_V0.4_B499_cgm_profile.hex (full image), release/BH_CGM_HT32_V0.4_B499_bin2B3F866C.bin (OTA upgrade package)
4.3 Build and Programming
  • 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/.
5. 3.board — Board-Level and PCB Files

Complete PCB design files of the BMHB2020 dev board V1.0, for hardware reference and redesign.

FileDescription
SCH_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.pdfSchematic PDF
PCB_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.pdfPCB layout PDF
BOM_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.xlsxBill of materials
Gerber_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.zipGerber production files
PickAndPlace_BH66F2455_HT32F67593_CGM_DevBoard_V1.0.xlsxPick-and-place coordinates
ProPrj_BH66F2455+HT32F67593_CGM_DevBoard_V1.0.epro2EasyEDA Pro project file
3D正面/3D背面/3D侧面_.png, 实物图_.png3D renders and photos of the board

Tip: verify the schematic and PCB revision (V1.0) before referencing them in your own design.

6. Quick Start Guide
  1. Read the docs
  • 1.doc/CGM_BH66F2455_HT32F67593_Demo_Board 使用说明-V0.1.pdf
  • 1.doc/CGM_BLE协议_V0.5.pdf
  1. 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/).
  1. AFE firmware
  • Open the CGM application project under 2.code_AFE/BH66F2455_Driver/, build and flash with the Holtek IDE;
  • When integrating with BLE or a host, strictly follow the AFE protocol framing (UART 38400 8N1, inter-frame gap > 50 ms).
  1. BLE firmware
  • Open and build the project under 2.code_BLE/projects/application/cgm_profile/, or directly flash the V0.4 firmware under 2.code_BLE/release/;
  • Pair with the app following the CGM BLE protocol (default advertising name "BH CGM HT32").
  1. Power estimation & selection
  • Use the online tool linked by 1.doc/HT CGM 功耗评估工具.url to estimate system power consumption.
7. Version & Contact
  • Resource pack version: based on the BestHealth CGM BH66F2455 + HT32F67593 (BMHB2020 V1.0) design as of 2026-08-17.
  • BLE firmware version: V0.4 (Build 499), see 2.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
8. Disclaimer

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.

9. Intellectual Property

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.

Complete Package

BMHB2020 Complete Resource Package

CGM Dev Board User Guide

HT32F67593 Datasheet

BMHB2020 CGM Dev Board V1.0 Hardware Design Pack (BH66F2455 + HT32F67593)

BH66F2455 AFE Driver & CGM Application Source Code

HT32F67593 BLE Stack & CGM Project Source Code

BH66F2455 AFE Driver & CGM Application Source Code

HT CGM QR-Code Generator (Web Tool)

CGM BLE Communication Protocol

BestHealth CGM Solution Overview

🔬 Development Stage

Tools for development and debugging

💻 Software

IDE-3000

(IDE Software)

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

Documents

IDE-3000

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

HT-IDE3000 User’s Guide

🔧 Hardware

e-LinkPro2

(Debug Hardware)

The e-LinkPro2 function is compatible with the e-Link and which is an online debug adaptor for Holtek's new generation of OCDS architecture Flash MCUs. Together with the HT-IDE3000 software it allows users to program and debug programs on their target boards. The e-LinkPro2 also provides an ICP function for Flash MCUs. When connected to a PC and when used together with the HOPE3000 software the e-LinkPro2 can also be used as a low volume engineering programmer for HT8 Flash MCUs.

Documents

Holtek e-Link for 8-bit MCU OCDS User’s Guide

🏭 Small-scale Production

Tools for small batch programming

💻 Software

IDE-3000

(IDE Software)

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

Documents

IDE-3000

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

HT-IDE3000 User’s Guide

HOPE5000

(Programming Software)

The HOPE5000 is a software designed by Holtek for programming MCUs. The software is connected to the writer via a USB cable to transmit the related programming data.

Documents

HOPE5000

The HOPE5000 is a software designed by Holtek for programming MCUs. The software is connected to the writer via a USB cable to transmit the related programming data.

HOPE5000 User guide

🔧 Hardware

e-Socket

(Programming Hardware)

The e-Socket is a socket which is used together with e-WriterPro. MCUs with the same package types can use the same e-Socket for programming. It is not necessary to purchase individual programming adaptors for different MCUs. The e-Socket is designed with a programming counter which enables the e-WriterPro to remind users when to replace the e-Socket with a new one after a certain amount of times. This function is provided to maintain high programming quality.

e-WriterPro2

(Programming Hardware)

The e-WriterPro2 is an upgraded version programmer of the e-WriterPro, which is fully compatible with the previous version, and it can be used not only as a programming tool for all of Holtek’s OTP and Flash devices during development stage but can also be used for small to medium volume production purposes.

🏢 Mass Production

Tools for high-volume manufacturing

💻 Software

IDE-3000

(IDE Software)

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

Documents

IDE-3000

The HT-IDE3000 is a simulation software specially developed for HOLTEK 8-bit MCUs. When used together with OCDS EV chip, it will implement a series of operations such as single step, full speed, breakpoint setting, RAM monitor, etc.

HT-IDE3000 User’s Guide

🔧 Hardware

GangWriter00-8

(Programming Hardware)

The product is an upgraded gang programmer of Gang-Writer32-8 and Gang-Writer8-8. It is composed of a development board and two programming modules and supports programming both Holtek 8-bit and 32-bit MCUs. Each programming module includes 4 programming interfaces, and one development board can connect up to 4 programming modules. This allows the product to program up to 16 MCUs simultaneously, with support for parallel programming across 2, 4, 6, 8, 12, and 16 sites.

e-Socket

(Programming Hardware)

The e-Socket is a socket which is used together with e-WriterPro. MCUs with the same package types can use the same e-Socket for programming. It is not necessary to purchase individual programming adaptors for different MCUs. The e-Socket is designed with a programming counter which enables the e-WriterPro to remind users when to replace the e-Socket with a new one after a certain amount of times. This function is provided to maintain high programming quality.

e-WriterPro2

(Programming Hardware)

The e-WriterPro2 is an upgraded version programmer of the e-WriterPro, which is fully compatible with the previous version, and it can be used not only as a programming tool for all of Holtek’s OTP and Flash devices during development stage but can also be used for small to medium volume production purposes.

Follow Our WeChat
Scan QR code to follow us on WeChat

Scan QR code to follow us on WeChat

+86-769-26261311service@e-besthealth.com