ZL-BLE-002 Datasheet HardWare Version V1.1 2023/03/24 1. ZL-BLE-002 Features ZL-BLE-002 Adopting Zhuhai Jieli Technology Co.,LTD plan(AC6321A4), The main purpose is to make users more convenient. High performance 32-bit RISC CPU RISC 32-bit CPU DC-96MHz operation 73KB data RAM 8KB I-cache 2way 1KB Rocache 1way 64 Vectored interrupts 8 Levels interrupt priority Flexible I/O 25 GPIO pins All GPIO pins can be programmable as input or output individually All GPIO pins are internal pull-up/pull-down selectable individually CMOS/TTL level schmitt triggered input External wake up/interrupt on all GPIOs Peripheral Feature Two Full Speed USB OTG controller Four Multi-function 32-bit timers, support capture and PWM mode Three full-duplex advanced UART(DMA) Three SPI interface supports host and device mode (DMA) One IIC interface supports host and device mode RTC,with alarm clock and time base to wake up the chip 16-bit PWM generator for motor driving Three IQ Encoder 16 channels 10-bit ADC 1 channel 8 levels Low Power Detector Embedded PMU support low power mode 2 Crystal Oscillator Watchdog Power-on reset Bluetooth Feature CMOS single-chip fully-integrated radio and baseband Compliant with Bluetooth V5.0+BR+EDR+BLE specification Bluetooth Piconet and Scatternet support Meet class2 and class3 transmitting power requirement Support GFSK and /4 DQPSK all packet types Provides +8dbm transmitting power Receiver with -92dBm sensitivity Support: att / gap / gatt / ftms / Hrs profile Power Supply LDOIN is 4.5V to 5.5V VBAT is 1.8V to 3.4V VDDIO is 1.8V to 3.4V Temperature Operating temperature: -20 to +85 Storage temperature: -65 to +150 2. Pin Definition 2.1 Pin Assignment 2.2 Pin Description Table 2-1 ZL-BLE-002 Pin Description I/O Type Function Name LDOIN/PP0 VBAT P P Charge Power 5V LDO Power Other Function PWM3: Timer3 PWM Output;
UART0_TXD: Uart0 Data Out(D);
UART0_RXD: Uart0 Data In(D);
PB0 I/O GPIO
(High Voltage ) PA9/P00 I/O GPIO
(pull up)
[High Voltage(P00)]
PA8 I/O GPIO PA7 I/O GPIO PA6 I/O GPIO USB0DM I/O USB0DP I/O GPIO
(pull down) GPIO
(pull down) PA5 I/O GPIO PA4 I/O GPIO PA3 I/O GPIO PA2 I/O GPIO PA1 I/O GPIO CLKOUT0;
UART1_TXB: Uart1 Data Out(B);
TMR2CK;
Long Press Reset;
ADC8: ADC Channel 8;
TMR3: Timer3 Clock In;
SPI1_DOA: SPI1 Data Out(A);
IIC_SDA_C: IIC SDA(C);
ADC4: ADC Channel 4;
UART1_RXC: Uart1 Data In(C);
PWMCH1L;
TMR1: Timer1 Clock In;
SPI1_CLKA: SPI1 Clock(A) ;
IIC_SCL_C: IIC SCL(C);
ADC3: ADC Channel 3;
UART1_TXC: Uart1 Data Out(C);
PWMCH1H;
CAP0: Timer0 Capture;
SPI1_DIA: SPI1 Data In(A);
UART0_RXA: Uart0 Data In(A);
TMR1CK;
SPI2_DOB: SPI2 Data Out(B);
IIC_SDA_A: IIC SDA(A);
ADC11: ADC Channel 11;
UART1_RXD: Uart1 Data In(D);
SPI2_CLKB: SPI2 Clock(B);
IIC_SCL_A: IIC SCL(A);
ADC10: ADC Channel 10;
UART1_TXD: Uart1 Data Out(D);
TMR0: Timer0 Clock In;
SPI2_DIB: SPI2 Data In(B);
ADC2: ADC Channel 2;
UART0_TXA: Uart0 Data Out(A);
TMR0CK;
PWM1: Timer1 PWM Output;
IIC_SDA_D: IIC SDA(D);
UART2_RXA: Uart2 Data In(A);
CAP2: Timer2 Capture;
IIC_SCL_D: IIC SCL(D);
ADC1: ADC Channel 1;
UART2_TXA: Uart2 Data Out(A);
PWMCH0L;
CAP3: Timer3 Capture;
Q-decoder0_ 1;
UART0_RXC: Uart0 Data In(C);
UART1_RTS;
PWM0: Timer0 PWM Output;
Q-decoder0_0;
ADC0: ADC Channel 0;
UART0_TXC: Uart0 Data Out(C);
UART1_CTS;
CLKOUT1;
UART2_TXB: Uart2 Data Out(B);
UART2_RXB: Uart2 Data In(B);
PWMCH0H;
32K_OSCI;
32K_OSCO;
SPI2_DOA: SPI2 Data Out(A);
UART2_RXC: Uart2 Data In(C);
SPI2_CLKA: SPI2 Clock(A) ;
ADC12: ADC Channel 12;
UART2_TXC: Uart2 Data Out(C);
TMR3CK;
SPI2_DIA: SPI2 Data In(A);
UART1_RXA: Uart1 Data In(A);
PWMCH3L;
TMR2: Timer2 Clock In;
Q-decoder2_0;
SPI1_DIB: SPI1 Data In(B);
ADC9: ADC Channel 9;
UAR1_TXA: Uart1 Data Out(A);
PWMCH3H;
SPI1_DOB: SPI1 Data Out(B) ;
IIC_SDA_B: IIC SDA(B);
ADC6: ADC Channel 6;
UART2_RXD: Uart2 Data In(D);
SPI1_CLKB: SPI1 Clock(B) ;
IIC_SCL_B: IIC SCL(B);
ADC5: ADC Channel 5;
UART2_TXD: Uart2 Data Out(D);
UART0_RXB: Uart0 Data In(B);
PWMCH2L;
Q-decoder1_1;
MCLR;
UART0_TXB: Uart0 Data Out(B);
PWMCH2H;
Q-decoder1_0;
PWM2: Timer2 PWM Output;
ADC7: ADC Channel 7;
UART1_RXB: Uart1 Data In(B);
LVD;
PA0 I/O PB9 PB8 PB7 I/O I/O I/O GPIO
(High Voltage) GPIO GPIO GPIO
(High Voltage) PB6 I/O GPIO PB5 I/O GPIO
(High Voltage) PB4 I/O GPIO USB1DM I/O USB1DP I/O GPIO
(pull down) GPIO
(pull down) PB3 I/O GPIO
(High Voltage ) PB2 I/O PB1 I/O GPIO
(pull up) GPIO
(pull up) Gnd P Gnd 3. Electrical Characteristics 3.1 Absolute Maximum Ratings Table 3-1 Symbol Topt Tstg VBAT LDO_IN V3.3IO Parameter Operating temperature Storage temperature Supply Voltage Charge Input Voltage 3.3V IO Input Voltage Min
-40
-65
-0.3
-0.3
-0.3 Max
+85
+150 3.4 6 3.6 Unit C C V V V Note : The chip can be damaged by any stress in excess of the absolute maximum ratings listed below. 3.2 Recommended Operating Conditions Table 3-2 Symbol Parameter Min Typ Max Unit Test Conditions VBAT Voltage Input 1.8 LDOIN Voltage Input 4.5 VDDIO Voltage output 1.8 BTAVDD Voltage output 1 3.3 5.0 3.0 1.3 3.4 5.5 3.4 1.4 V V V V
VBAT= 3.3V, 60mA loading DC-DC mode: 40mA loading
60 mA VBAT = 3.3V IVDDIO Loading current 3.3 Battery Charge Table 3-3 Symbol Parameter Min Typ Max Unit Test Conditions LDO_IN Charge Input Voltage 4.5 5 5.5 4.15 4.2 4.25 V V
VCharge ICharge Charge Voltage Charge Current ITrikl Trickle Charge Current 20 200 mA Charge current at fast charge mode 20 45 70 mA VBAT <VTrikl 3.4 IO Input/Output Electrical Logical Characteristics Table 3-4 Symbol VIL VIH VOL VOH IO input characteristics Typ Max Unit Test Conditions Parameter Low-Level Input Voltage High-Level Input Voltage Min
-0.3 0.7*
VDDIO
0.3* VDDIO VDDIO+0.3 IO output characteristics Low-Level Output Voltage High-Level Output Voltage
2.7
0.33
V V V V VDDIO = 3.3V VDDIO = 3.3V VDDIO = 3.3V VDDIO = 3.3V 3.5 Internal Resistor Characteristics Table 3-5 Port Drive Strength Internal Pull-Up Resistor Internal Pull-Down Resistor Comment drive_select[11] 24mA drive_select[10] 24mA
(with 120ohm res) drive_select[01] 8mA drive_select[00] 8mA
(with 120ohm res) 10K 10K 8mA 4mA 4mA 10K 1.5K 180K 10K 15K 15K PA1-PA9, PB4,PB6, PA0,PB5, PB7 USB0DP USB0DM 1. PA9&PB2 default pull up 2. USB0DM&USB0DP default pull down 3. Internal pull-up/pull-
down resistance |
accuracy 20%
4.PA0,PB5,PB7 can pull-
up resistance to 5V 3.6 BT Characteristics 3.6.1 Transmitter Basic Data Rate Table 3-6 Parameter RF Transmit Power RF Power Control Range 20dB Bandwidth Adjacent Channel
+2MHz
-2MHz
+3MHz Min Type Max Unit Test Conditions 4 20 950
-40
-38
-44 6 dBm dB KHz dBm dBm dBm 25 Power Supply VBAT=3.3V
-3MHz
-35 dBm Enhanced Data Rate Table 3-7 Parameter Min Typ Max Unit Test Conditions Relative Power
/4 DQPSK Modulation Accuracy DEVM RMS DEVM 99%
DEVM Peak
+2MHz
-2MHz
+3MHz
-3MHz Adjacent Channel Transmit Power 3.6.2 Receiver Basic Data Rate Table 3-8 Parameter Sensitivity Min Co-channel Interference Rejection Adjacent Channel Interference Rejection
+1MHz
- 1MHz
+2MHz
-2MHz
+3MHz
-3MHz
- 1 7 12 17
-40
-38
-44
-35 Typ
-92
-9
+5
+2
+37
+36
+40
+35 dB
dBm dBm dBm dBm 25, Power Supply VBAT=3.3V 2441MHz Max Unit Test Conditions dBm dB dB dB dB dB dB dB 25, Power Supply VBAT=3.3V 2441MHz Enhanced Data Rate Table 3-9 Parameter Sensitivity Min Co-channel Interference Rejection Adjacent Channel Interference Rejection
+1MHz
- 1MHz
+2MHz
-2MHz
+3MHz
-3MHz Typ
-92
-9
+5
+2
+37
+36
+40
+35 Max Unit Test Conditions dBm dB dB dB dB dB dB dB 25, Power Supply VBAT=3.3V 2441MHz 4. FTMS Protocol Main functions of the module is Send FTMS device data to APP, the app must support FTMS protocol. There are two way to get FTMS device data:
Fitness device trigger pulse to the module, and then the module calculate the FTMS data. after that, the module send the data to the app. Fitness device send device data to module by uart, the module send the ftms data to app by FTMS protocol. In pulse mode:
We should set the gpio parameter. Pull up or pull down. get the informaton: Circumference, resistance .
3.6 100
(2 1)
=0
(2 1) Circumference: mm,The distance between two pulses,it is a const value. Speed: 0.01km/h.
, : ms. When Ftms APP connect to the smart device, the app will send start command. And then the smart device will start calc sport data. Elapsed time Timer will run. the smart device start calc the sport data base on the Pulse. Speed, distance, calories etc. The Calculation method hava many type, the customer can Provide Calculation method, we Try to achieve as much as possible. As it should be, the smart device can get the sport data from uart. The protocol Similar to Ble Ftms. Be continued 5. Heart Rate Service The Heart Rate data capture method similar to ftms(Pulse mode). It calc the interval betwin two pulse. And then calc the Heat Rate, the unit is Beat per mintus.
60 1000
(2 1) if the device use uart mode to capture data. It will get the heart rate directly. 6. Federal Communications Commission Statement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modifications not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and the receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. In order to comply with FCC RF Exposure requirements, this device must be installed to provide at least 20 cm separation from the human body at all times. The FCC rules that are applicable to the modular transmitter is FCC Part 15 Subpart C For final host product:
Label and compliance information: advise host manufacturers to provide a physical / e-label stating, Contains FCC ID: 2BA9M-ZLBLE002 with finished product. Part 15 Subpart B disclaimer: final host product still requires Part 15B compliance testing with the modular transmitter installed. Summary ITEM Model Name Center Frequency MAX. Gain Polarization Azimuth Beam Pattern Impedance Antenna Length Manufacture Antenna Specification ANT SPEC 2.4G ANT Horizontal Vertical 2400MHz 2450MHz 2500MHz 2400MHz 2450MHz 2500MHz
-1.26
-0.76
-0.58
-5.25
-2.46
-1.86
-0.58dB Horizontal and Vertical Omni-directional 50 Ohm 38.20mm ZHUHAI JIELI TECHNOLOGY CO.,LTD Antenna Photo & Length (mm) Horizontal: 2400 MHz 2450 MHz 2500 MHz Power (dBm) Max: 0 Min: -40 Scale: 5/div Frequency
(MHz) 2400 2450 2500 Max
-1.26174
-0.765802
-0.585582 Gain(dB) Min
-30.0801
-36.5604
-22.0315 Avg
-7.18716
-7.48023
-6.59127 Vertical: 2400 MHz 2450 MHz 2500 MHz Power (dBm) Max: 0 Min: -30 Scale: 5/div Frequency
(MHz) 2400 2450 2500 Max
-5.2537
-2.4652
-1.86120 Gain(dB) Min
-22.1424
-24.5837
-29.5214 Avg
-12.4294
-10.4702
-9.20432 ANT Test LabsAttestation of Global Compliance Co., Ltd.