link to page 7 link to page 12 RN40203.0MICROCONTROLLER TO3.2Microchip Low-energy Data ProfileRN4020 INTERFACE(MLDP) Figure 3-1 illustrates the interface between PIC The Microchip Low-energy Data Profile is a private microcontroller and the RN4020 module. BTLE service that provides a 50 kbps serial data trans- port over Bluetooth Low Energy on the RN4020. Pin 8 The minimum interface consists of UART and (CMD/MLDP) is required. CTS/RTS hardware control WAKE_HW lines. This enables the microcontroller to is also highly recommended for this service to avoid communicate with the RN4020 module using ASCII data loss. command API. The command API is described in Section 6.0 “ASCII Command API” . For more information on how to use the MLDP data ser- vice, refer to RN4020 Bluetooth Low Energy 3.1CTS/RTS Hardware Flow Control Module User’s Guide (DS70005191). For customer applications using the Microchip Low- energy Data Profile, Pin 8 (CMD/MLDP) is required. CTS/RTS hardware control is also required for this service to avoid buffer overruns. FIGURE 3-1:INTERFACE DESCRIPTIONNote: If the RN4020 is operated in a hostless mode (without a microcontroller), set the UART_RX pin to high via a 10K resistor to reduce power consumption in Deep Sleep mode. 2015 Microchip Technology Inc. DS50002279B-page 7 Document Outline Features Operational RF/Analog Features MAC/Baseband/Higher Layer Features Applications Description 1.0 Device Overview FIGURE 1-1: RN4020 Top View FIGURE 1-2: RN4020 Pin Diagram FIGURE 1-3: RN4020 Block Diagram TABLE 1-1: Pin Description 2.0 General Specifications TABLE 2-1: General Specifications TABLE 2-2: Weight and Dimensions TABLE 2-3: Electrical Characteristics TABLE 2-4: Current Consumption TABLE 2-5: Current Consumption vs RF TX Power 3.0 Microcontroller to RN4020 Interface 3.1 CTS/RTS Hardware Flow Control 3.2 Microchip Low-energy Data Profile (MLDP) FIGURE 3-1: Interface Description 4.0 Physical Dimensions FIGURE 4-1: RN4020 Module Dimensions FIGURE 4-2: RN4020 Recommended PCB Footprint FIGURE 4-3: RN4020 Module Mounting Details FIGURE 4-4: RN4020 HOST PCB EXAMPLE Layout 5.0 Typical Application Schematic FIGURE 5-1: RN4020 Typical Application Schematics 6.0 ASCII Command API 7.0 Supported Services TABLE 7-1: Supported Public Services on RN4020(1) 7.1 Public and Private Services 7.2 PCB Antenna TABLE 7-2: Antenna Characteristics FIGURE 7-1: Efficiency FIGURE 7-2: Antenna Plot FIGURE 7-3: 3D Radiation Pattern And Antenna Orientation 7.3 Soldering Recommendations 8.0 Regulatory Approval 8.1 United States 8.2 Canada 8.3 Europe TABLE 8-1: RN4020 European Compliance Testing 8.4 Australia 8.5 New Zealand 8.6 Japan 8.7 Korea 8.8 Taiwan 9.0 Ordering Information TABLE 9-1: Ordering Information Bluetooth® Low Energy Module Most Current Data Sheet Errata Customer Notification System Appendix A: Revision History Revision A (June 2014) Revision B (September 2015) The Microchip Web Site Customer Change Notification Service Customer Support AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Worldwide Sales and Service