HS6620D Data Sheet V3.0
HS6620D Data Sheet V3.0
HS6620D Data Sheet V3.0
HunterSun HS6620D
Version 3.0
2019/5/15
1
HS6620D Bluetooth Low Energy Application
Table of Contents
HunterSun HS6620D...................................................................................................................................................1
Table of Contents.................................................................................................................................................... 2
List of table............................................................................................................................................................. 4
List of figure........................................................................................................................................................... 5
1 System Overview....................................................................................................................................................7
1.1. General Description.................................................................................................................................... 7
1.2. Features.......................................................................................................................................................7
1.3. Chip Applications....................................................................................................................................... 8
1.4. System Function Block Diagram............................................................................................................. 10
2 Chip Description................................................................................................................................................... 11
2.1 Pin Definition............................................................................................................................................11
2.2 Pin Description......................................................................................................................................... 12
3 Electrical Characteristics...................................................................................................................................... 14
3.1 Absolute Maximum Ratings.....................................................................................................................14
3.2 Recommend Operating Conditions.......................................................................................................... 14
3.3 Battery Charger.........................................................................................................................................15
3.4 Radio Characteristics................................................................................................................................15
3.4.1 BLE Transmitter....................................................................................................................................... 15
3.4.2 BLE Receiver............................................................................................................................................16
3.5 Power Consumption................................................................................................................................. 17
4 Chip Function Description....................................................................................................................................18
4.1 Radio Transceiver..................................................................................................................................... 18
4.1.1 Bluetooth Radio Receiver.........................................................................................................................18
4.1.2 Bluetooth Radio Transmitter.................................................................................................................... 18
4.1.3 Frequency Synthesizer..............................................................................................................................18
4.2 Bluetooth Baseband Unit..........................................................................................................................18
4.3 Peripherals................................................................................................................................................ 19
4.3.1 SPI.............................................................................................................................................................19
4.3.2 UART........................................................................................................................................................20
4.3.3 I2C............................................................................................................................................................ 21
4.3.4 Timer.........................................................................................................................................................21
4.3.5 GPIO......................................................................................................................................................... 21
4.3.6 I2S interface..............................................................................................................................................22
4.3.7 Quadrature Decoders................................................................................................................................ 22
4.3.8 Keyboard Controller................................................................................................................................. 22
4.3.9 General Purpose (GP) ADC......................................................................................................................23
2
HS6620D Bluetooth Low Energy Application
4.4 Power Management.................................................................................................................................. 23
4.4.1 Power Management (PMU)......................................................................................................................24
4.4.2 Battery Charger.........................................................................................................................................24
5 Software................................................................................................................................................................ 25
5.1 Protocol Stack...........................................................................................................................................25
6 Package Information.............................................................................................................................................27
6.1 Package Information.................................................................................................................................27
7 Application Circuit............................................................................................................................................... 29
3
HS6620D Bluetooth Low Energy Application
List of table
4
HS6620D Bluetooth Low Energy Application
List of figure
5
HS6620D Bluetooth Low Energy Application
Revision History
version summery date author
1.0 Initial version 2018-03-13
6
HS6620D Bluetooth Low Energy Application
1 System Overview
The HS6620D is a power-optimized true system-on-chip (SoC) solution for both Bluetooth low energy
and proprietary 2.4-GHz applications. It integrates a high performance and low power RF transceiver with
Bluetooth baseband and rich peripheral IO extension. HS6620D also integrates a power management to
provide high-efficient power management. It targets 2.4-GHz Bluetooth low energy systems, proprietary
2.4-GHz systems, Human-Interface Devices (keyboard, mouse, and remote control), sports and leisure
equipment, mobile phone accessories and consumer electronics.
HS6620D on-chip Bluetooth system compliant with version 4.2, support all Bluetooth standard 4.2
feature.
The chip integrates 48Mhz high-performance MCU, DMA, GPIO, I2S, i2C, SPI, UART, TIMER, RTC,
watch dog, supports 24Mhz external crystal, integrates multi-purpose 12 bit ADC.
The HS6620D integrates on chip 256KB ROM, 128K SRAM and supports user defined IDE system, on
chip SFLASH MCU development and JTAG software upgrade.
1.2. Features
• RF transceiver
• -93 dBm sensitivity Bluetooth® low energy
• TX Power -20 to +2 dBm
• 10mA peak RX, 10mA peak TX (0dBm)
• Active-mode MCU: 108 µA/MHz
• RSSI (1 dBm resolution)
• CPU
• ARM® Cortex™-M3, max 48MHz
• Serial Wire Debug (SWD)
• Memory
• 128KB SRAM
• 256KB ROM
• 1MB SFLASH
• Clocks
• 24MHz crystal, 24MHz RC, 32.768KHz crystal, 32.768KHz RC
7
HS6620D Bluetooth Low Energy Application
• Link Controller
• BT 4.2 LE PHY, link controller
• Proprietary 2.4-GHz link controller
• Power Management
• Deep sleep power 5uA
• Supply voltage range 2.7V to 3.6V
• Built-in charger
• Software
• Full compliant with BLE version 4.2, complete power-optimized stack, including controller and
host
• Supports mesh network
• Network processor interface for applications running on an external microcontroller
• Sample applications and profiles
• Supports 6LowPAN
• Supports OTA
• SWD interface
• Peripherals
• four channels DMA
• Two UART interface, one share with 7816 interface
• I2S interface
• Up to 31 bits general-purpose I/O GPIO
• I2C master or slave interface
• Two SPI master or slave interface
• Watchdog to prevent system dead lock
• RTC
• Three 32bit timers
• Keyboard controller, up to 8x18
• Three way QDEC
• Eight single-end or differential-end 12bits GP-ADC
• AES HW encryption
The HS6620D integrated circuit has a fully integrated radio transceiver and baseband processor for
Bluetooth® Smart. It can be used as an application processor as well as a data pump in fully hosted systems.
8
HS6620D Bluetooth Low Energy Application
9
HS6620D Bluetooth Low Energy Application
HS6620D is a low power Bluetooth wireless transceiver chip. The chip integrates Bluetooth base band,
PHY and proprietary 2.4GHz protocol. The MCU accesses system hardware resource by AHB bus, ROM,
RAM, DMA, SFLASH, GPIO exchange data through AHB bus, and all other peripheral is accessed through
AHB to APB Bridge and APB bus.
10
HS6620D Bluetooth Low Energy Application
2 Chip Description
The HS6620D is in the 6mmx6mm QFN48 package. The chip pin definition is as below:
11
HS6620D Bluetooth Low Energy Application
12
HS6620D Bluetooth Low Energy Application
34 GPIO30 Digital Digital GPIO Note 1
35 GPIO16 Digital Digital GPIO Note 1
36 GPIO17 Digital Digital GPIO Note 1
37 GPIO18 Digital Digital GPIO Note 1
38 GPIO22 Digital Digital GPIO Note 1
39 VDD_IO Power Digital IO power
40 GPIO11 Digital Digital GPIO Note 1
41 GPIO12 Digital Digital GPIO Note 1
42 GPIO13 Digital Digital GPIO Note 1
43 RESETN Digital Reset signal It must be connected to high, if not
used
44 VBUS Power Connect to USB power
45 VBAT_CHG Power Output to charger battery
46 VDCDC_D Power Output of the DCDC
converter 1.5V(typ)
47 VDCDC_RF Power Connect to VDCDC_D on
PCB 1.5V(typ)
48 NC NC NC
Table 1 HS6620D pin definition
Note 1: All digital peripheral pins can be programmed to any GPIO
13
HS6620D Bluetooth Low Energy Application
3 Electrical Characteristics
HS6620D could be damaged by extra stress in excess of the absolute maximum ratings working conditions,
please be sure the design is follow this rule.
Rating Min Max Unit
-40 120 ºC
Storage Temperature
2000 - V
ESD Human Body Mode
200 - V
Machine Mode
500 - V
Charge Device Mode
14
HS6620D Bluetooth Low Energy Application
- 35 - mA
Battery trickle charge current (BAT_IN < trickle charge
voltage threshold)
- 100 - mA
Maximum Battery Fast Charge Current
- 2.9 - V
Trickle Charge Voltage Threshold
- - -
Float Voltage
- 10 -
Battery Charge Termination Current, % of Fast Charge %
Current
- - -
Standby Mode
- 600 - uA
Supply current to charger only
- 600 - uA
Battery Current
15
HS6620D Bluetooth Low Energy Application
Parameter Min Typ Max BLE Unit
Specification
- 2 - dBm
Maximum RF transmit power -
-18 - 2 - dBm
RF power control range
2.7 3 3.7 - dB
RF power range control resolution
- - ≤-20 dBm
ACP Note: F = F0±2MHz
- - ≤-30 dBm
F0=2440MHz F = F0±>3MHz
100% >99.9%
∆f2max maximum modulation
0.84 >0.8
∆f2avg/∆f1avg
16
HS6620D Bluetooth Low Energy Application
-93 -90 -81 dBm
⑴ ⑵
≤-70
Sensitivity--PSR9 37byte package
- 10 0 dBm
Maximum received signal
- 9 -21 dB
I/C co-channel
- - 1 -15 dB
Adjacent channel F = F0+1MHz
- - -3 -15 dB
selectivity I/C Note: F = F0 -1MHz
- - 21 15 dB
F0=2440MHz F = F0+2MHz
- - 23 15 dB
F = F0-2MHz
- - 33 27 dB
F = F0+3MHz
- - 34 27 dB
F = F0-3MHz
17
HS6620D Bluetooth Low Energy Application
The Radio Transceiver implements the RF part of the Bluetooth Low Energy protocol. Together with the
Bluetooth 4.2 PHY layer, this provides a reliable wireless communication. All RF blocks are supplied by on-chip
low-drop out-regulators (LDO’s). The Bluetooth LE radio comprises the Receiver, Transmitter, Synthesizer, Rx/Tx
combiner block, and Biasing LDO’s.
The HS6620D receiver is a low IF down conversion architecture. The RF signal passes first through an
integrated transformer, which is shared between receiver and transmitter. The transformer drives a differential
variable-gain LNA, which amplifies the signal before it passes through a low-IF down conversion mixer stage.
Following the mixer is a third-order complex BPF, which performs channel selection and image rejection. The
IF signal is then digitized by two noise-shaping SAR ADCs before further signal processing in the digital
domain.
The HS6620D transmitter is a direct modulating architecture. The digital baseband signals directly
modulate VCO and divider of PLL, which is called two-point modulation. After a 3-stage B-class power amplifier,
the radio signal is output through antenna.
The HS6620D Frequency synthesizer is fully integrated sigma delta fractional-N PLL to lock the VCO to a
reference crystal oscillator. The synthesizer uses a number of integrated linear regulators for better isolation to
the blocks respectively.
The BLE (Bluetooth Low Energy) core is a qualified Bluetooth 4.2 baseband controller compatible with
18
HS6620D Bluetooth Low Energy Application
Bluetooth Smart specification and it is in charge of packet encoding/decoding and frame scheduling.
Features:
• All device classes support (Broadcaster, Central, Observer, Peripheral)
4.3 Peripherals
4.3.1 SPI
The Serial Peripheral Interface (SPI) bus is a synchronous serial communication interface specification
used for short distance communication, primarily in embedded systems. The HS6620D integrate 2 SPI
interfaces, they can work in either master or slave mode and also support DMA or software mode to transfer
data.
The master or slave controller only support point to point connection by hardware, that is, both the SPI
interface has only one CS pin. The connection is shown below the figure:
19
HS6620D Bluetooth Low Energy Application
4.3.2 UART
The UART is modeled after the industry-standard 16550. However, the register address space has been
relocated to 32-bit data boundaries for APB bus implementation.
The UART is used for serial communication with a peripheral, modem (data carrier equipment, DCE) or
data set. Data is written from a master (CPU) over the APB bus to the UART and it is converted to serial form
and transmitted to the destination device. Serial data is also received by the UART and stored for the master
(CPU) to read back.
The UART contains registers to control the character length, baud rate, parity generation/checking, and
20
HS6620D Bluetooth Low Energy Application
interrupt generation. Although there is only one interrupt output signal from the UART, there are several
prioritized interrupt types that can be responsible for its assertion. Each of the interrupt types can be separately
enabled or disabled by the control registers.
HS6620D has 2 UART; the UART0 is a common 2 wire (transmitter and receiver) controller, and the
UART1 support stream control (CTS/RTS). UART1 also supports ISO7816 protocols.
4.3.3 I2C
The I2C is a master or slave interface. It supports 100, 400 and 800 KHz clock rates for controlling EEPROM
and etc. The I2C interface provides several data formats and can fit various I2C peripherals. Sequential read and
write are supported to improve throughputs. The I2C support DMA operation for extra MCU free data transfer. The
I2C work as ether master or slave, but cannot change the working mode after configuration.
The module is shown as below:
4.3.4 Timer
The Timer includes three identical 32-bit Timer Counter channels. Each channel can be independently
programmed to perform a wide range of functions including frequency measurement, event counting, interval
measurement, pulse generation, delay timing and pulse width modulation. Each channel drives an internal
interrupt signal which can be programmed to generate processor interrupts.
4.3.5 GPIO
The I2S have three wires: serial data, word select and serial clock and this interface is used for audio data
transfer. The HS6620D I2S interface supports both master and slave mode and is used for transmit only. The I2S
supports the standard I2S frame format for transmitting data.
This block decodes the pulse trains from a rotary encoder to provide the step and the direction of the
movement of an external device. Three axes (X, Y, Z) are supported.
The integrated quadrature decoder can automatically decode the signals for the X, Y and Z axes of a HID
input device, reporting step count and direction: the channels are expected to provide a pulse train with 90
degrees phase difference; depending on whether the reference channel is leading or lagging, the direction can
be determined.
This block can be used for waking up the chip as soon as there is any kind of movement from the external
device connected to it.
The keyboard controller can be used for debouncing the incoming GPIO signals when implementing
Features:
22
HS6620D Bluetooth Low Energy Application
4.3.9 General Purpose (GP) ADC
The HS6620D is equipped with a high-speed low power 12-bit general purpose Analog-to-Digital
Converter (GPADC). It can operate in unipolar (single ended) mode as well as in bipolar (differential)
mode.
The ADC has its own voltage regulator (LDO) of 1.2 V, which represents the full scale reference
voltage.
Features:
• Chopper function
23
HS6620D Bluetooth Low Energy Application
4.4.1 Power Management (PMU)
• Sleep Mode: No power gating has been programmed; the CPU is idle, waiting for an interrupt. 24M
crystal is on, 32K crystal is on. Peripherals is depending on the programmed enabled value.
• Extended Sleep Mode: All power domains are off except for the always on power domain, the
programmed Bluetooth timer module, 24M crystal is off, 32K crystal is on. The data retention
SRAM retains its data and other SRAM is power off. It is wake by timer or GPIOs.
• Deep Sleep Mode: All power domains are off except for the always on power domain, and all clocks
are off. This mode dissipates the minimum leakage power. It is wake only by GOIOs in this mode.
When Charger circuit is enabled, it will detect the battery voltage and enters the associated mode to charge the
battery, i.e. Trickle, CC or CV mode. When the battery voltage reaches a high threshold, the charger will enter
standby mode and keep monitoring the battery voltage. If the battery voltage drops to a lower threshold, charger
circuit will re-charge the battery again.
24
HS6620D Bluetooth Low Energy Application
5 Software
The HS6620D Software platform includes a qualified Bluetooth Smart single-mode stack on chip.
Numerous Bluetooth Smart profiles for consumer wellness, sport, fitness, and security and proximity
applications are supplied as standard, while additional customer profiles can be developed and added as
needed.
Apart from the protocol stack, the Software platform supports a Hardware Abstraction Layer (HAL)
which enables easy access to peripheral’s features from a programmer’s point of view as presented in the
following figure.
Core drivers are provided for each interface of the HS6620D enabling optimized usage of the hardware’s
capabilities. These drivers are providing an easy to use interface towards the hardware engines without having
to interfere with the register programming directly.
On top of the core drivers, a number of sample drivers are also provided enabling communication with
25
HS6620D Bluetooth Low Energy Application
26
HS6620D Bluetooth Low Energy Application
6 Package Information
27
HS6620D Bluetooth Low Energy Application
28
HS6620D Bluetooth Low Energy Application
7 Application Circuit
29