SAM9X75 Curiosity Wireless Kit - BLE Getting Started Guide for MPLAB® Harmony V3
Introduction
Thank you for evaluating the SAM9X75 Curiosity Wireless Kit. This guide will assist you in running the demonstration application designed for the kit. For a more detailed exploration of the kit's features and capabilities, please refer to the links in this guide's Explore Hardware section.
This getting started guide will demonstrate how to enable Transparent Universal Asynchronous Receiver Transmitter (UART) communication between a smartphone and the SAM9X75 Curiosity Board using a Bluetooth Low Energy (BLE) connection.
Step-by-Step Guide to Set Up RNBD Module for Data Mode
Set up RNBD module for Data mode:
Set the J2 power selection jumper of the RNBD451 board to USB - 3v3.
Connect the USB-C cable to the PC. This will power up the board and connect your serial port.
On the host computer, open a Docklight Scripting serial terminal application and Add Serial Command sequence as shown.
Double-click in the highlighted text box.
Add the Command 1 serial sequence data to be sent.
Double-click in the highlighted text box.
Add the Command 2 serial sequence data to be sent.
Double-click on the top right corner as shown to set up the Serial Baudrate settings and select the USB serial device channel.
Open the Serial Communication Port by double-clicking on the highlighted area.
Issue the serial commands and response from RNBD451 as shown.
Command Sequence1:
Command Sequence 2:
Step-by-Step Guide to Download and Install Microchip Bluetooth Data App from Google Play Store and Apple Store
Set up for Android Smartphone:
On your Android device, locate the Google Play Store icon (usually found on the home screen or in the app drawer) and tap it to open the Google Play Store.
At the top of the Play Store, tap the search bar and type "Microchip Bluetooth Data".
On the app's page, tap the Install button.
Setup for Apple iPhone
On your Apple device, locate the App Store icon (usually found on the home screen or in the app drawer) and tap it to open the App Store.
At the top of the App Store, tap the search bar and type "Microchip Bluetooth Data" app to download.
On the app's page, tap the GET button.
MPLAB® Harmony Demo Setup
Download the harmony.bin & boot.bin from the repository, GitHub_EA03X56A-ble.
Copy the downloaded harmony.bin and boot.bin to the SD card.
Set the J2 power selection jumper of RNBD451 board to mikro - 3v3.
Connect the components as shown in the accompanying image:
Connect the RNDB451 BLE Add-on Board to the J25 mikroBus™ connector.
Insert the SD card on the SD Boot J14 slot.
Connect the serial-USB dongle to the UART DEBUG J35 header.
Connect the USB-A to Micro USB-B cable to the J2 Micro USB-B port for power.
Set Up and Start SAM9X75 Curiosity Board Serial Terminal
Set up SAM9X75 Curiosity Board Serial Terminal on Host Computer.
On the host computer, open a Serial terminal with the following settings:
- Baud Rate: 115200
- Data: 8-bit
- Parity: None
- Stop: 1-bit
- Flow Control: None
Open TeraTerm.
On the file, select New connection > Serial.
Press OK.
Click on Setup > Serial port....
Select Baudrate Speed to 115200.
Select Setup > Terminal.
Check the boxes as shown below.
Press the RESET (SW3) button on the SAM9X75 Curiosity Board to force a reset.
When the system is ready, the Serial Terminal that was set up earlier should show a prompt.
Verify that the TRP UART Harmony application is running and binaries are loaded on the terminal.
Set Up the Mobile Application
Select BLE UART.
Select the PIC32CXBZ option.
Scan for devices and once RNBD451_6BD1 is listed, cancel the scan.
Pair and connect to the RNDB451.
Enable the text mode.
Perform the Test
Perform the test to exchange the Text Message from Mobile to Console and vice versa.
Type the text to be sent on the mobile app then press SEND.
TeraTerm Console:
Send a text message from Tera Term Console to MBD APP.
Press Enter and start typing from the console:
Received Message Confirmation in the MBD Mobile APP:
Explore Applications
Wireless Applications | The SAM9X75 Curiosity Wireless Kit has a soft access point (SoftAP) that allows a smartphone or PC to access a static web page through a browser (See the "SAM9X75 Curiosity Wireless Kit—WiFi Getting Started Guide for Linux®"page). |
Ethernet Applications | Iperf networking test between Host PC (as a TCP Client) on Microchip Curiosity Board (as a TCP Server) (See the "SAM9X75 Curiosity LAN Kit - Getting Started Guide for MPLAB® Harmony V3" page.) |
MPLAB Discover Code Examples | SAM9X75 Peripherals and Drivers Code Examples |
Explore Hardware
SAM9X75 Curiosity LAN Kit | The SAM9X75 Curiosity Development Board, featuring the high-performance, ultra-low power SAM9X75D2G MPU with an ARM926EJ-S CPU running up to 800 MHz and integrated 2 Gbit DDR3L memory, serves as the evaluation platform for the SAM9X7 Series MPU devices. |
The RNBD451 Add-on Board is a cost-effective development platform for evaluating the RNBD451PE Bluetooth LE module. It features compliance with the mikroBUS standard and an onboard MCP2200 USB-to-UART converter for immediate use without additional hardware. | |
LAN8840 EDS2 Daughter Card | The EV12N54A LAN8840 EDS2 PHY Daughter Card offers copper Gigabit Ethernet connectivity for Microchip development platforms using the EDS2 interface. It features the LAN8840 transceiver with PTP support for data transmission over standard CAT-5, CAT-5e, and CAT-6 UTP cables. |
WINCS02UC Wi-Fi Network Controller Module | The WINCS02IC is a low-power IC featuring a 2.4 GHz IEEE 802.11b/g/n-compliant radio with integrated HPA, LNA, RF switches for TX/RX control, and a hardware-based security accelerator, designed to run Microchip's Wi-Fi and networking stack via SPI. |
Troubleshooting
Common
Serial Terminal is not showing anything. | There are multiple possible reasons why the terminal does not show anything:
|
Terminal shows RomBoot message. |
|