Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 BluNor BC832 is a powerful, highly flexible, ultra low power Bluetooth Low Energy (BLE) using Nordic nRF52832 SoC. With an ARMCortexTM M4F MCU, 512KB flash, 64KB RAM, embedded 2.4GHz multi-protocol transceiver, and an integrated chip antenna. It allows faster time to market with reduced development cost. For applications needing limited number of IO pins, prototyping and production are easier using 16 castellated pins. Additional 24 LGA (Land Grid Array) pins provide full access to 32 GPIOs of nRF52832. Specifications:
Nordic nRF52832 with ARM Cortex M4F. 20 channel CPU independent Programmable Complete RF solution with integrated antenna Peripheral Interconnect (PPI). Integrated DC-DC converter Quadrature Demodulator (QDEC) Serial Wire Debug (SWD) Nordic SoftDevice Ready 128-bit AES HW encryption 5 x 32 bits, 3 x 24 bits Real Time Counters Over-the-Air (OTA) firmware update
(RTC) Flash/RAM: 512KB/64KB. NFC-A tag interface for OOB pairing 32 General purpose I/O pins Receiver Sensitivity: -96 dBm 12 bit/200KSPS ADC TX power: +/- 0 dBm; programmable +4dBm 3 SPI Master/Slave (8Mbps) to -20dBm in 4 dB steps. Low power comparator Sizes: 7.8x8.8x1.2mm Two 2-wire Master/Slave (I2C compatible) Hybrid pins: 16 castellated and 24 LGA. I2S audio interface Integrated chip antenna UART (with CTS/RTS and DMA) Operation voltage: 1.7V to 3.6V Operation temperature: -40C to +85C IoT (Internet of Things) Sensors Applications Wearable Beacons/Proximity Fitness/Sports Smart toys Connected appliances Lighting products Home and building automation Key fobs Wrist watches Wireless charger Interactive entertainment devices 1 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 ModelSummaries module SoC Flash/RAM BT Antenna FCC ID Canada IC ID BC832 nRF52832-CIAA 512KB/64KB chip Pending Pending 2 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Table Of Contents 1. Introduction .................................................................................................................................................. 4 2. Codes Development Using Nordic Tools .................................................................................................... 4 Easy, fast and safe code development ............................................................................................................... 4 Over-The-Air DFU ................................................................................................................................................ 5 SoftDevices .......................................................................................................................................................... 5 Development Tools .............................................................................................................................................. 5 3. Product Overview ........................................................................................................................................ 6 Block Diagram ...................................................................................................................................................... 6 Mechanical Drawing ............................................................................................................................................. 9 BC832 Photo ........................................................................................................................................................ 9 Pin Assignments of BC832 ................................................................................................................................ 10 Pin Functions ..................................................................................................................................................... 11 Mounting BC832 on the Host PCB .................................................................................................................... 12 4. AT Commands ........................................................................................................................................... 13 Brief description of AT commands ..................................................................................................................... 13 Command mode ................................................................................................................................................. 13 Data Mode .......................................................................................................................................................... 15 5. BC832 Evaluation Board ........................................................................................................................... 16 Communicating with a PC ................................................................................................................................. 16 Communicating with a Host Processor.............................................................................................................. 16 To be provided ................................................................................................................................................... 16 Suggestion for Battery Power Application ......................................................................................................... 17 6. Miscellaneous ............................................................................................................................................ 17 8.Contact Us .................................................................................................................................................... 17 3 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 1. Introduction BluNor BC832 is powerful, highly flexible, ultra low power Bluetooth Low Energy (BLE) modules using Nordic nRF52832 SoCs. With an ARMCortexTM M4F MCU, 512KB flash, 64KB RAM, embedded 2.4GHz multi-
protocol transceiver, and an integrated antenna, it allows faster time to market with reduced development cost. The following is a block diagram of BC832. Antenna circuit and main clock are integrated. All 32 GPIOs of nRF52832 can be accessed from main board. For lower power consumption at idle state, a 32.768 kHz crystal is added on the main board. Connection to an external NFC (Near Field Communication) antenna is provided. 2. Codes Development Using Nordic Tools Development tools by Nordic and other third party development tools recommended by Nordic should be used . Easy, fast and safe code development Nordic development environment for nRF52832 offers a clean separation between application code development and embedded protocol stacks. This means compile, link and run time dependencies with the embedded stack and associated debugging challenges are removed. The Bluetooth low energy is a pre-
compiled binary, leaving application code to be compiled stand-alone. The embedded stack interface uses an asynchronous and event driven model removing the need for RTOS frameworks. 4 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Over-The-Air DFU The nRF52832 is supported by an Over-The-Air Device Firmware Upgrade (OTA DFU) feature. This allows for in the field updates of application software and SoftDevice. SoftDevices The Nordic protocol stacks are known as SoftDevices and complement the nRF52 Series SoCs. All nRF52 Series are programmable with software stacks from Nordic. This bring maximum flexibility to application development and allows the latest stack version to be programmed into the SoC. SoftDevices available from Nordic:
S132: Bluetooth low energy concurrent central/peripheral/observer/broadcaster stack. Development Tools Nordic Semiconductor provides a complete range of hardware and software development tools for the nRF52 Series devices. nRF52 DK board is recommended for firmware development. 5 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 3. Product Overview Brief description of nRF52832 SoC is provided. For full description of the SoC, please download from Nordic Semiconductor website. https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy Block Diagram 6 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 The following is a block diagram of Nordic nRF52832 Bluetooth Low Energy (BLE) SoC. The 32 bit ARM Cortex M4F MCU with hardware supports for DSP instructions and floating point operations, code density and execution speed are higher than other Cortex M MCU. The Programmable Peripheral Interconnect (PPI) system provides a 20-channel bus for direct and autonomous system peripheral 7 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 communication without CPU intervention. This brings predictable latency times for peripheral to peripheral interaction and power saving benefits associated with leaving CPU idle. The device has 2 global power modes ON/OFF, but all system blocks and peripherals have individual power management control which allows for an automatic switching RUN/IDLE for system blocks based only on those required/not required to achieve particular tasks. The NFC block supports NFC-A tags with proximity detection and Wake-on-field from low power mode. The NFC enables Out-Of-Band (OOB) Bluetooth pairing of devices and thus greatly simplifying deployment. 8 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Mechanical Drawing The following is a mechanical drawing of BC832. Two types of pins are available to meet different application requirements. 16 castellated pins for application needing limited number of IOs. SMT equipment is not required for soldering castellated pins. 24 LGA (Land Grid Array) pins to access all 32 GPIOs of nRF52832 when needed. BC832 Photo 9 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Pin Assignments of BC832 The followings are BC832 pin assignment. Pin functions are in a table in next section. Please refer to Nordic nRF52832 Product Specifications for detailed descriptions and features supported. http://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.1.pdf BC832 nRF52832CIAA pin# pin name 1 GND 2 P20 3 SWDIO 4 SWDCLK 5 P18 6 P13 7 P12 8 P11 9 P03/AIN1 10 P21/RESET 11 P00/XL1 12 P01/XL2 13 P02/AIN0 14 P27/SCL 15 P26/SDA 16 VDD A1 P28 A2 P17 A3 P04 A4 P06 A5 P08 B1 P25 B2 P29 B3 P31 B4 P05 pin#
C5 G2 G1 F1 H2 G4 H6 F4 D6 H1 D7 C7 C6 B4 D3 A7 A3 G3 E6 F7 G7 B3 A4 B5 E7 pin name VSS P0.20 SWDIO SWDCLK P0.18 P0.13 P0.12 P0.11 P0.03 P0.21 P0.00 P0.01 P0.02 P0.27 P0.26 VDD P0.28 P0.17 P0.04 P0.06 P0.08 P0.25 P0.29 P0.31 P0.05 Descriptions Ground GPIO, LED pin on EV-BC832 GPIO, connection for 32.768kHz crystal Serial Wire Debug I/O GPIO, LED pin on EV-BC832 GPIO, button pin on EV-BC832 UART TX UART RX GPIO, Analog input 1 configured as reset on EV-BC832 GPIO, connection for 32.768kHz crystal GPIO, connection for 32.768kHz crystal GPIO, Analog input 0 GPIO, configured as I2C SCL on EV-BC832 GPIO, configured as I2C SDA on EV-BC832 DC power supply, 1.7V to 3.6V GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO 10 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 B5 P07 C1 P24 C2 P22 C3 P30 C4 P15 C5 P09 D1 P23 D2 P19 D3 P16 D4 P14 D5 P10 F6 E1 F2 A5 H4 G6 E2 F3 H3 H5 G5 P0.07 P0.24 P0.22 P0.30 P0.15 P0.10 P0.23 P0.19 P0.16 P0.14 P0.10 GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO Pin Functions 11 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Mounting BC832 on the Host PCB The following figure shows recommended mounting of BC832 module on the host PCB. For the best Bluetooth range performance, the antenna area of module shall extend 3.2 mm outside the edge of a ground plane. antenna area of module. The next choice is to place module on a corner of host PCB. No ground place directly below the 3.2x7.8mm For wearable, it is acceptable to place a coin battery directly below the antenna area of module. Bluetooth range is reduced but acceptable when pairing with a smartphone on the antenna side. Bluetooth signal is blocked on the battery side. 12 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 4. AT Commands BC832 module is available with firmware supporting AT commands. Part number is BC832-AT. Brief description of AT commands
Each command line consists of a prefix, a body and a terminator.
All command lines begin with the prefix AT (ASCII 065, 084) or at (ASCII 097, 116).
The body is a string of characters in the ASCII range 032-255. Control characters other than
<CR>(carriage return; ASCII 013) and <BS> (back space; ASCII 008) in a command line are ignored.
The terminator is <CR>.
There is no distinction between upper-case and lower-case characters. A command line can have a maximum length of 80 characters. It is automatically discarded if the input is longer. Corrections are made
AT command is case-insensitive, following /r/n for end code.
The default baud rate is 9600 one stop bit and no parity Command mode When P0.02 of nRF52832 (pin 13 of BC832) is pulled high, it is set to AT command mode. In AT command mode, the host processor communicates with the processor on BC832. Command Response Parameter example AT OK or FAIL AT+RESET OK or FAIL AT+VERSION?
OK
+VERSION:<param>
AT+NAME?
+NAME:<param> OK AT+NAME=<param>
OK or FAIL 13 none none Software version number Device name AT/r/n OK/r/n OK/r/n AT+RESET/r/n AT+VERSION?/r/n
+VERSION140804 OK/r/n AT+NAME?/r/n
+NAME:EZPro OK/r/n AT+NAME=Fanstel/r/n Device name Or AT_Name=Fanstel/r/n Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 AT+UART?
+UART:<param>,<param2>,<param3>
OK OK/r/n Baud rate, AT+UART?/r/n Stop bit,
+UART:115200,1,0 Parity OK/r/n AT+UART=115200/r/n
+UART:115200,1,0 OK/r/n AT+UART=<parm>
+UART:<parm>
Baud rate 9600 default 1200 2400 4800 19200 38400 57600 115200 230400 460800 921600 1000000 Device MAC address AT+ADDR?/r/n
+ADDR:abb5:cd:604ace OK/r/n none none none AT+REGISTER/r/n OK/r/n AT+QUITREGISTER/r/n OK/r/n AT+RX?/r/n
+NAME:EZPro/r/n
+UART:115200,1,1/r/n
+ADDR:abb5:cd:604ace
/r/n AT+DEFAULT/r/n AT+ADDR?
+ADDR:<param> OK AT+REGISTER OK or FAIL AT+QUITREGISTER OK or FAIL AT+RX?
+Name:<parm>
+UART:<parm>
+ADDR:<parm>
AT+DEFAULT OK or FAIL none OK/r/n 14 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 AT_RFPW?
+RFPW:parm
+4~-8 1:+0 default AT+RFPW?/r/n
+RFPW:-4 OK/r/n AT+RFPW= 1/r/n 0:+4 2:-4 3:-8 OK/r/n 0:+4 1:+0 2:-4 3:-8 P00-P05 AT+PIO=05, 0\r\n 1=High ,0=l ow OK/r/n P00-P05 AT+PIS=05, 1\r\n 1=output, 0=input OK/r/n AT_RFPW=<parm>
OK or FAIL
+4~-8 AT+PIO=<param><param1> OK or FAIL AT+PIS=<param><param1> OK or FAIL Data Mode When P0.02 of nRF52832 (pin 13) of BC832 is pulled low, it is set to data mode. In data model, BC832 provides transparent data transfer between the host processor and a remote device, for example, a smartphone. 15 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 5. BC832 Evaluation Board Communicating with a PC A quick and easy way to evaluate BC832 is to use a PC as the host processor. Connect the development board EV-BC832 to a PC with an USB cable. Then,
Set S1, BC832 is set to command mode. PC will communicate with BC832.
Set switch S1 to the other position, BC832 is set to data mode. PC will communicate with a remote device through BC832 Bluetooth wireless connection. Docklight is a testing, analysis and simulation tool for serial communication protocols (RS232, RS485/422 and others). It allows you to monitor the communication between two serial devices or to test the serial communication of a single device. Docklight significantly increases productivity in a broad range of industries, including automation and control, communications, automotive, equipment manufacturers, and embedded /
consumer products. Docklight is easy to use and runs on almost any standard PC using Windows 10, Windows 8, Windows 7, Windows Vista or Windows XP operating system. Docklight software can be downloaded from the following:
http://www.docklight.de/download_en.htm Communicating with a Host Processor To be provided 16 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Suggestion for Battery Power Application Standby current consumption is important for battery-powered product. We suggest adding a 32.768 kHz crystal and 2 capacitors as shown in the upper left corner of the evaluation board schematics. The 32MHz main clock wont be active at idle state to save power.
DONT USE A MODULE WITH INTERNAL ANTENNA INSIDE A METAL CASE.
USE A MODULE WITH EXTERNAL ANTENNA INSIDE A METAL CASE. ANTENNA MUST BE OUTSIDE OF A o AVOID RUNNING ANY SIGNAL LINE BELOW MODULE WHENEVER POSSIBLE, o NO GROUND PLANE BELOW ANTENNA, o IF POSSIBLE, CUT-OFF THE PORTION OF MAIN BOARD PCB BELOW ANTENNA.
CONNECT MODULE GROUND TO BATTERY GROUND.
6. Miscellaneous METAL CASE.
FOR PCB LAYOUT:
8.Contact Us United States:
Fanstel Corp. Tel. 1 480-948-4928 Fax. 1-480-948-5459 Email: module@fanstel.com Website: www.fanstel.com Taiwan:
Fanstel Corp. 7466 E. Monte Ctisto Ave. Scottsdale AZ 85260 10F-10, 79 Xintai Wu Road Xizhu, New Taipei City, Taiwan 22101 79 10 10, 22101 Tel. 886-2-2698-9328 Fax. 886-2-2698-4813 Email: tp@fanstel.com Website: www.fanstel.com 17 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 China:
Fanstel Technologies Corp. 11 Jiale Street Ping-Dih, Long-Gang, Shen Zhen, GD 518117
() 11 Tel. 86-755-8409-0928 Fax. 86-755-8409-0973 QQ. 3076221086 Email: sz@fanstel.com Website: www.fanstel.com Federal Communications Commission (FCC) Statement 15.21 You are cautioned that changes or modifications not expressly approved by the part responsible for compliance could void the users authority to operate the equipment. 15.105(b) 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 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. 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 of the device. 18 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 FCC RF Radiation Exposure Statement 1) This Transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. 2) This equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed. Note: The end product shall has the words Contains Transmitter Module FCC ID: X8WBC832 19 Bluetooth Low Energy (BLE) 4.2 Micro Module BC832Ver1.0Nov.2016 Canada, Industry Canada (IC) This Class B digital apparatus complies with Canadian ICES-003 Cet appareil numrique de classe B est conforme la norme NMB-003. This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the Le present appareil est conforme aux CNR d'Industrie Canada applicables auxappareils radio exempts de licence.L'exploitation est autorise aux deux conditions suivantes:
(1) l'appareil ne doit pas produire de brouillage, et
(2) l'utilisateur de l'appareil doit accepter tout brouillage adiolectrique subi, mme si le brouillage est susceptible d'en compromettre le fonctionnement. Canada, avis d'Industry Canada (IC) Le prsent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est autorise aux deux conditions suivantes : (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radiolectrique subi, mme si le brouillage est susceptible d'en compromettre le fonctionnement."
(Modular approval) End Product Labeling:
The final end product must be labeled in a visible area with the following: Contains IC: 4100A-BC832. Caution: Exposure to Radio Frequency Radiation. To comply with RSS 102 RF exposure compliance requirements OEM statement The Original Equipment Manufacturer (OEM) must ensure that the OEM modular transmitter must be labeled with its own FCC ID number. This includes a clearly visible label on the outside of the final product enclosure that displays the contents shown below. If the FCC ID is not visible when the equipment is installed inside another device, then the outside of the device into which the equipment is installed must also display a label referring to the enclosed equipment The end product with this module may subject to perform FCC part 15 unintentional emission test requirement and be properly authorized. This device is intended for OEM integrator only. 20