background image

 PIC-BLE

 PIC-BLE Hardware User Guide

Preface

The PIC-BLE Development Board is a small and easily expandable demonstration and development platform for
Bluetooth

®

 Low Energy (BLE) solutions based on the PIC

®

 microcontroller architecture. It is designed to demonstrate

that the design of a typical BLE application can be simplified by partitioning the task into three blocks:

• Smart – represented by the PIC16LF18456 microcontroller
• Secure – represented by the ATECC608A secure element
• Connected – represented by the RN4870 BLE module

Also, the PIC-BLE Development Board features the following elements:

• The on-board debugger (PKoB nano) supplies full programming and debugging support through Microchip

MPLAB

®

 X IDE. It also provides access to a serial port interface (serial to USB bridge) and one logic analyzer

channel (debug GPIO).

• A mikroBUS

 socket enables the ability to expand the board capabilities with the selection from 450+ sensors

and actuators options offered by MikroElektronika (

www.mikroe.com

) via a growing portfolio of Click board

.

©

 2020 Microchip Technology Inc.

 User Guide

DS50002963B-page 1

Содержание PIC-BLE

Страница 1: ...by the ATECC608A secure element Connected represented by the RN4870 BLE module Also the PIC BLE Development Board features the following elements The on board debugger PKoB nano supplies full programm...

Страница 2: ...pherals 15 4 Hardware Revision History and Known Issues 22 4 1 Identifying Product ID and Revision 22 4 2 Revision 4 22 4 3 Revision 3 22 5 Document Revision History 23 6 Appendix 24 6 1 Schematics 24...

Страница 3: ...SB CDC One logic analyzer channel DGI GPIO USB or Battery Powered 1 2 Board Overview The PIC BLE development board is a hardware platform that is being used to evaluate the PIC16LF18456 microcontrolle...

Страница 4: ...Figure 1 2 PIC BLE Development Board Back Side CR2032 Battery Holder Additional RN4870 GPIO PIC BLE Introduction 2020 Microchip Technology Inc User Guide DS50002963B page 4...

Страница 5: ...ser Switch 0 RN4870 Bluetooth Low Energy Module RA2 RA3 RC0 RC1 RC2 RC3 RA7 PWM INT UART RX UART TX I 2 C SCL I 2 C SDA DATA LED RN4870 P2_2 RN4870 P1_1 BLE STATUS LED ERROR LED CDC RX CDC TX DEBUG GP...

Страница 6: ...the MPLAB X installation guide Build an Application View the default source code that is pre loaded onto the development board Explore modify and build off this source code to create a custom applicat...

Страница 7: ...ithful reproduction of our desktop based program which allows users to easily transition between the two environments MPLAB Code Configurator MPLAB Code Configurator MCC is a free software plug in tha...

Страница 8: ...oader mode The LED blinks slowly during power up Power up The LED is ON Normal operation The LED is ON Programming Activity indicator The LED blinks slowly during programming debugging Drag and drop p...

Страница 9: ...Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of the Windows Device Manager The COM port number can also be found there Info On older Windows s...

Страница 10: ...sion is complete level shifters if available are disabled so the debugger CDC TX line will become high impedance Remember Set up the terminal emulator to assert the DTR signal Without the signal the o...

Страница 11: ...software running on it fails to receive data fast enough an overrun will occur When this happens the last filled buffer frame will be recycled instead of being sent to the USB queue and a full data fr...

Страница 12: ...2 Configuration Words Configuration Words PIC MCU Targets Configuration Word settings included in the project being programmed after program Flash is programmed The debugger will not mask out any bit...

Страница 13: ...used to plot the occurrence of low frequency events on a time axis for example when certain application state transitions occur The figure below shows the monitoring of the digital state of a mechani...

Страница 14: ...source Power disconnect Power consumer Power converter VUSB MIC33050 buck MUX MIC94050 MIC94165 Power MUX Battery Holder CR2032 VCC_P3V3 VBAT VBAT_OUT 0 resistor Target MCU Peripherals mBUS RN4870 0 r...

Страница 15: ...int marked with ISNS in silkscreen J301 To measure the power consumption of the PIC16LF18456 and other peripherals on the board de solder the 0 resistor and connect an ammeter over the Current sense f...

Страница 16: ...le headers and is ready to mount add on boards Table 3 3 mikroBUS Socket Pinout mikroBUS Socket Pin PIC16LF18456 Pin Function Shared Functionality AN RA2 ADCC ANA2 RST RA3 GPIO CS RC0 MSSP SPI CS SCK...

Страница 17: ...ebugger as well as by a physical switch allows the module to be put in a Test Mode where the RN4870 firmware can be updated The module has two of its GPIO pins connected to LEDs By default the BLE LED...

Страница 18: ...C BLE board can be used to authenticate the board with other hardware for secure IoT communication Info 7 bit I2C address 0x58 Table 3 5 ATECC608A Connections ATECC608A Pin PIC16LF18456 Pin Function S...

Страница 19: ...e Temperature Alert Output Operating voltage range 1 7V to 3 6V Operating current 100 A typical Shutdown current 0 2 A typical The MCP9844 temperature sensor is connected to the PIC16LF18456 through I...

Страница 20: ...BLE board that can be controlled by either GPIO or PWM Also there are two LEDs connected directly to the BLE module The LEDs can be activated by driving their connected I O lines to GND Table 3 9 LED...

Страница 21: ...0 1 On Board Debugger Connections The table below shows the connections between the target and the debugger section All connections between the target and the debugger are tri stated as long as the de...

Страница 22: ...is found on the sticker on the bottom side of the PCB Most boards will have the identifier and revision printed in plain text as A09 nnnn rr where nnnn is the identifier and rr is the revision Boards...

Страница 23: ...ed with the latest information Steps describing how to download and install the latest demonstration firmware added to the Quick Start section A 03 2020 Initial document release PIC BLE Document Revis...

Страница 24: ...1_I2C_SCL RB2_I2C_SDA 1uF C203 GND PIC16LF18456 RA6_ACCEL_INT1 RC7_FLASH_CS GND MCP9844 SDA 5 SCL 6 EVENT 7 GND 4 A2 3 A1 2 A0 1 VDD 8 EP 9 U202 RN4870_BLE_LED RN4870_BLE_LED RA6_ACCEL_INT1 RA2 1 RA3...

Страница 25: ...3 SW 6 FB CFF 11 MIC33050 SYHL U301 100k R305 10uF 10V C302 GND GND VCC_DEBUGGER VCC_TARGET 1 2 CH7410 2032LF J300 VBUS MIC94165 VIN B2 VOUT A1 VIN A2 EN C2 GND C1 VOUT B1 U300 MIC94165 VIN B2 VOUT A1...

Страница 26: ...22 USB_DM PA24 23 USB_DP PA25 24 PA27 25 RESETN 26 PA28 27 GND 28 VDDCORE 29 VDDIN 30 SWDCLK PA30 31 SWDIO PA31 32 SAMD21E18A MUT U100 USBD_P USBD_N GND 1u C101 VCC_MCU_CORE VCC_DEBUGGER GND GND GND D...

Страница 27: ...8 P A J 1 0 1 0 1 0 P A J 1 0 1 0 1 1 P A J 1 0 1 0 5 P A J 1 0 1 0 4 P A J 1 0 1 0 3 P A J 1 0 1 0 2 P A J 1 0 1 0 1 P A J 1 0 1 0 0 COJ101 P A J 2 0 0 0 1 P A J 2 0 0 0 2 P A J 2 0 0 0 4 P A J 2 0...

Страница 28: ...ustomers A listing of sales offices and locations is included in this document Technical support is available through the website at www microchip com support Microchip Devices Code Protection Feature...

Страница 29: ...e Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TimeSource tinyAVR UNI O Vectron and XMEGA are registered trademarks of Microchip Technology I...

Страница 30: ...Quality Management System For information regarding Microchip s Quality Management Systems please visit www microchip com quality PIC BLE 2020 Microchip Technology Inc User Guide DS50002963B page 30...

Страница 31: ...China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7160 J...

Отзывы: