Ebyte E73-TBA User manual

E73-TBA/E73-TBB User Manual
nRF52810/nRF52832 Test Suite

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
1
Contents
1. Development Board Hardware Introduction..................................................................................................................... 2
1.1 Brief Introduction ................................................................................................................................................... 2
1.2 Principle Description .............................................................................................................................................. 3
1.2.1. Chip Introduction........................................................................................................................................ 3
1.3 Development Board Circuit Diagram Introduction................................................................................................. 4
1.3.1. Power circuit............................................................................................................................................... 4
1.3.2. USB to Serial Circuit .................................................................................................................................. 4
1.3.3.User button................................................................................................................................................... 5
1.3.4. User LED.................................................................................................................................................... 5
1.3.5. Extended pin header.................................................................................................................................... 6
1.4. Development Board Interface Description............................................................................................................. 6
1.4.1. External antenna connection....................................................................................................................... 6
1.4.2. Power Supply and Serial Port ..................................................................................................................... 7
1.4.3. Program Download Interface...................................................................................................................... 7
1.4.4. Pin Definition.............................................................................................................................................. 8
1.5. Development Board Open-Box Testing................................................................................................................. 8
1.5.1. Packing List ................................................................................................................................................ 8
1.5.2. Open-Box Testing....................................................................................................................................... 8
2. Development tool introduction ....................................................................................................................................... 14
2.1. Description of program burning........................................................................................................................... 14
2.2. Instructions for NRFGO STUDIO....................................................................................................................... 15
1) ERASE ALL................................................................................................................................................... 17
2) Program SoftDevice ....................................................................................................................................... 17
3) Program Application....................................................................................................................................... 18
2.3. Introduction to debugging simulation burning tool.............................................................................................. 19
3. Basic knowledge of Bluetooth 4.X BLE......................................................................................................................... 20
3.1. What is BLE ........................................................................................................................................................ 20
3.2. The difference between traditional Bluetooth and low-power Bluetooth ............................................................ 20
3.3. The working status of the device and the type of Bluetooth device..................................................................... 21
3.4. Analysis of Bluetooth Broadcasting .................................................................................................................... 21
3.4.1. Preface ...................................................................................................................................................... 21
3.4.2. BLE Broadcast Data Structure.................................................................................................................. 21
3.4.3. Packet capture analysis ............................................................................................................................. 22
4. The Program Structure of Bluetooth in SDK.................................................................................................................. 24
5. Peripheral TIMER .......................................................................................................................................................... 25
5.1. Structure of TIMER............................................................................................................................................. 26
5.2. Introduction of each register ................................................................................................................................ 28
5.3. Design of the program ......................................................................................................................................... 30
Revision History................................................................................................................................................................. 30
About us.............................................................................................................................................................................. 30

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
2
1. Development Board Hardware Introduction
1.1 Brief Introduction
With the continued popularity of smart wear and IOT Internet of Things, more and more companies and individuals
have begun to develop wearable products and IoT products. In order to facilitate the development of multi-protocol SoC
based on nRF52832/nRF52810 series for R&D personnel, founders and students, EBYTE developed nRF52832/nRF52810
test board, which has below features:
⚫NRF52832/nRF52810 chip with low power consumption, high performance and multi-protocol on board.
⚫Support MESH networking
⚫Support BLE 5.0
⚫Integrated high performance USB to serial chip
⚫Two user buttons
⚫Two user LEDs
⚫An NFC Antenna Interface
⚫Compact size: 28*52.5MM, easy to carry
⚫IPEX interface, external antenna
⚫Reserved SWD interface for external JLINK debugger

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3
1.2 Principle Description
Block diagram of E73-TBX principle
1.2.1. Chip Introduction
NRF52832 chip is a new multifunctional SoC chip with 32-bit CORTEX-M4 core, which supports Bluetooth BLE,
ANT+, 2.4G private protocols, launched by NORDIC. Compared with the previous generation chip nRF51, the chip has
the characteristics of faster speed, lower power consumption and stronger function. The following are the main features of
nRF52832 chip:
⚫Integrated high performance 2.4G RF transceiver supporting multiple protocols
⚫32/64MHZ external clock
⚫On-chip integration 512KB FLASH, 64 KB RAM
⚫7.7mA TX at +4dBm
⚫Air compatible NRF24L series, NRF24AP series, NRF51 series SoC
⚫20 PPI channels
⚫Settable transmit power: -20dBm-4dBm
⚫Ultra-low standby current: 400nA
⚫Receiving sensitivity - 96 dBm (BLE)
⚫Integrated NFC, support near-field detection and wake-up, support OOB pairing
⚫Integrated BALUN
⚫Integrated PDM, IIS interface
⚫3X4 channel PWM output
⚫12BIT 200KSPS ADC

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
4
1.3 Development Board Circuit Diagram Introduction
1.3.1. Power circuit
After the 5V power comes in from the USB port, it is protected by a self-recovery fuse, and a stable 3.3V voltage is output
through the ME6211.
1.3.2. USB to Serial Circuit

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
6
1.3.5. Extended pin header
The remaining GPIO and NFC interfaces are brought out.
1.4. Development Board Interface Description
1.4.1. External antenna connection
The IPEX antenna mount is reserved on the E73-TBX. If users need to use the external antenna, please solder the last
matching capacitor of the module to the position inside the circle, and then plug the external copper tube or rubber antenna
into the IPEX seat. The antenna selection part of the corresponding module manual can be seen in detail.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
7
Choose: Onboard PCB antenna Choose: IPEX interface
1.4.2. Power Supply and Serial Port
The USB port on the development board provides 5V power for the development board, and it is also the
communication port of the onboard USB to serial port chip CH340G and PC. The development board supports USB port
and JLINK debugger power supply. But please don't both supply power at the same time.
1.4.3. Program Download Interface
The development board has reserved 4-wire SWD interface, support common debugging tools such as JLINK
V8, JLINK V9. It’s not recommend to use JLINK OB, which is bad for NRF52 and unstable.
The position of the debug port is as follows: there is a pin definition on the back of the test board, please check,
pay attention: VCC=3.3V

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
8
1.4.4. Pin Definition
1.5. Development Board Open-Box Testing
1.5.1. Packing List
E73-TBX test board x 1(E73-TBA/E73-TBB called E73-TBX)
MICRO USB cable x 1
1.5.2. Open-Box Testing
When received the packet, please check whether all parts are include. When shipped, the development board burns
bluetooth transparent transmission program already. The below testing method is to ensure whether the board is well or not
via the data transmission function between PC serial port and APP.
1) Install the serial port assistant in the computer and install nRF Toolbox in Phone. Run the nRF Toolbox in phone,
and find the icon of “UART” as below:

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
9
2) After clicking “UART”, there’s 9 buttons. We can set the icons of buttons ourselves. Also We can set the data
contents that APP sends when clicking on these icons. Click “EDIT” to enter the editing of the button icon and the
editing of the sent content.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
10
3) We set the first button icon to "1"; when the button is pressed, the content sent is set to
"12345678901234567890".
4) We set the second button icon to "2"; when the button is pressed, the content sent is set to
"09876543210987654321"
5) We set the third button icon to "3" and set the send content to "inforlink_nRF52832 E73TBM01".
6) After editing, click “DONE” to exit the setting interface.
7) Connect the development board to the computer with the USB cable. The red LED is flashing, indicating
that a Bluetooth broadcast is being sent.
8) Click on the “CONNECT” link and a Bluetooth device named “Nordic UART” will be found. Click to
establish a connection.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
11
9) Run the PC serial port assistant software, set the parameters as shown below. In the sending data window,
enter the data "1234567890", click Send, we can see the data sent by PC in the LOGO area of APP.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
14
2. Development tool introduction
2.1. Description of program burning
1)Different SDK versions only correspond to the specified protocol stack version. Please refer to the RELEASE NOTE
attached to the SDK for the correspondence between the SDK and the protocol stack. See below:
2) Be clear when the protocal stack can be burned.
The nRF5X of NORDIC has a feature that the chip work as SoC to run Bluetooth, or work as a normal MCU.
3) Please do not select readback protection when burning the program during development. Use nRFgo Studio to burn the
program, do not select the readback protection. Otherwise, It will be failed when you burn the program in MDK.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
15
2.2. Instructions for NRFGO STUDIO
One end of JLINK V9 is plugged into the USB port of the computer, and the other end is connected to the SWD burning
interface of the test board. After double-clicking the nRFgo Studio icon on the start menu or desktop, the following interface
appears:
Please notice the two circles in above picture. If the font in the first small circle shows black, which means JLINK V9
burner is detected by computer, and the driver is installed already. If it’s grey, which means JLINK is failed to connected
to computer, then check below:
4) Whether JLINK V9 is on good condition
5)Whether USB cable is ok
6) The VCC and GND is on the correct connection in case of overcurrent
7) Whether the USB port of PC is loose
8) Whether it indicates abnormal information in the second circle in above picture as below:

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
16
If our computer installed the JLINK aleady, the above issue will occur if we install another version JLINK. The solution
is to update the registry manually.
Press the WIN + R key, enter regedit in the pop-up dialog box, and return. The following interface will appear:
Find the HKEY_CURRENT_USER/Software/J-Link/V630b, then to revise InstallPath.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
17
If the 64-bit system does not recognize the NRF52810 chip, it can be solved by direct installation.
Here are the steps for using nRFgo Studio to Burn Programs:
1) ERASE ALL
Erase the chip before burning it. After it succeeds, the bottom of the Logo prompt will prompt Erase complete.
2) Program SoftDevice
Click Browser, find the path to the HEX file you want to burn, double-click it, and then click Program.

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
18
3) Program Application
It’s same to program SoftDevice
We finished all the introduction on how to use NRFgo Studio to burn the protocol stack and application. Here’s
another point need to be noticed that the protocol stack and application burning are in sequential order. Users can
burn the HEX to the development board to be familiar with it:

Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
19
2.3. Introduction to debugging simulation burning tool
We’d advise users to choose JLINK V9 because it has better speed stability. And we need to configure some settings as
below:
Select Option for Target xxxx under Project.
This manual suits for next models
1
Table of contents
Other Ebyte Motherboard manuals

Ebyte
Ebyte ESP32-C3-MINI-1 User manual

Ebyte
Ebyte E104-BT5011A-TB User manual

Ebyte
Ebyte ESP32-S3-MINI Series User manual

Ebyte
Ebyte E104-BT5010A-TB User manual

Ebyte
Ebyte E104-BT5010A-TB User manual

Ebyte
Ebyte E77-400MBL-01 User manual

Ebyte
Ebyte MBL Series User manual

Ebyte
Ebyte ESP32-S3-WROOM Series User manual

Ebyte
Ebyte E30-900MBL-01 User manual

Ebyte
Ebyte MBL Series User manual