background image

Chengdu Ebyte Electronic Technology Co.,Ltd.                                                                                                                                                E73-TBX User Manual 

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

     

                                                                                                                                     

 

 

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 

 

 

Summary of Contents for E73-TBA

Page 1: ...E73 TBA E73 TBB User Manual nRF52810 nRF52832 Test Suite ...

Page 2: ... 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 Blu...

Page 3: ...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 butt...

Page 4: ...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 4...

Page 5: ...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 ...

Page 6: ...Chengdu Ebyte Electronic Technology Co Ltd E73 TBX User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 5 1 3 3 User button Reserve 2 user buttons 1 3 4 User LED Reserve 2 user LED ...

Page 7: ...evelopment 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 ...

Page 8: ...t 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 ...

Page 9: ...le 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 Toolb...

Page 10: ...ngdu 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 ...

Page 11: ...hen 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 ...

Page 12: ... 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 ...

Page 13: ...echnology Co Ltd E73 TBX User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 12 10 We click 1 button 2 button and 3 button on the mobile APP terminal the PC serial port will receive the corresponding data ...

Page 14: ...Chengdu Ebyte Electronic Technology Co Ltd E73 TBX User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 13 ...

Page 15: ...fer 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 sel...

Page 16: ...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 th...

Page 17: ... 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 ...

Page 18: ...ognize 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 ...

Page 19: ...ogram 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 ...

Page 20: ...012 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 ...

Page 21: ... smart home wireless sensor networks and other fields 3 2 The difference between traditional Bluetooth and low power Bluetooth We call Bluetooth Classic as traditional Bluetooth The main difference are below points 1 Transmitting power 2 Communication distance 3 Data transmission rate 4 The traditional Bluetooth has CLASS1 CLASS2 CLASS3 version which have higher transmission power longer communica...

Page 22: ... and is transmitted in bits which inevitably involves byte order issue For each byte transmission it always starts at the lowest bit For example 0x80 is sent as 00000001 0x01 is sent as 10000000 At the same time most byte fields are sent from low bytes The sending sequence of 0x010203 is110000000 100000010000000 Since the packet capture software may not fully know which data is sent from the low b...

Page 23: ...adcast type is universal connectable broadcast type is 0 The address type is public address and both TxAdd and RxAdd are 0 The length field indicates that the length of ADV AdvData and the address of the broadcasting device are set by myself ble_gap_addr_t add addr_type BLE_GAP_ADDR_TYPE_PUBLIC addr 0x01 0x02 0x03 0x04 0x05 0x06 Because the address is 48 bit address LSB format So the real address ...

Page 24: ...s length of a small piece of data AD type indicates the meaning of AD Data data The definition of AD type can be one of the following figures The following 0B indicates that the length of this piece of data is 11 bytes that is 09 4E 6F 72 64 69 63 5F 48 52 4D According to above table 09 indicates that AD type is a complete local name We defined Nordic_HRM hexadecimal as 4E 6F 72 64 69 63 5F 48 52 ...

Page 25: ...ontroller Bit 4 Support for BLE and BR EDR for Same Device Capable Host Bit 5 7 reserved That is the 06 data indicates that the connection function of the device is the normal discovery mode and does not support classic Bluetooth 07 indicates 03 0D 18 0F 18 0A 18 belongs to this section According to above table The 03 following data represents the complete 16bit uuid list ble_uuid_t adv_uuids 0x18...

Page 26: ...rameter necessary Gatt_init GATT initialization necessary Services_init Establishment of Bluetooth service Advertising_init broadcast data initialization necessary Conn_params_init Connection parameter initialization if you do not need to update the connection parameters after the connection It can be unnecessary 5 Peripheral TIMER The nRF52832 series SoC has five TIMERs the corresponding number i...

Page 27: ...012 2019 Chengdu Ebyte Electronic Technology Co Ltd 26 5 1 Structure of TIMER Timer block diagram TIMER consists of the following components 1 Counting clock source There are 1M and 16M clock sources 2 Clock source divider Used to set the crossover the range is 0 9 power of 2 ...

Page 28: ...pped by the STOP task can be started by re executing the START task When TIMER is in timed mode the TIMER internal counter counts once every pulse of the FTIMER clock The frequency of the FTIMER clock can be calculated as follows The corresponding COMPARE n event is triggered when the value of the internal counter is equal to the value set in CC n n 1 5 If we enable the interrupt an interrupt will...

Page 29: ...d 28 5 2 Introduction of each register This register can associate TASK with EVENT For example COMPARE n _CLEAR can clear the count value of the internal counter when the internal counter is equal to CC n Interrupts allow the setting of registers When set to 1 the corresponding COMPARE n event produces a COMPARE n interrupt ...

Page 30: ...hengdu Ebyte Electronic Technology Co Ltd E73 TBX User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 29 Close COMPARE n interrupt Timing counting mode setting TIMER digit setting ...

Page 31: ...icable 3 Set the value of the CC n register 4 Enable interruption interrupt mode 5 Enable the START task 6 COMPARE EVENT arrives clears the value of the internal counter clears the interrupt interrupt mode Revision History Version Date Explain Operator 1 0 2019 3 5 Initial Version A11 About us Website www ebyte com Sales info cdebyte com Support support cdebyte com Tel 86 28 61399028 Ext 812 Fax 8...

Reviews: