1.6.2 SAMD11 Xplained Mini Onboard Sensor Example

Path of the application within the repository is apps/onboard_sensor/firmware/sam_d11_xmini/

To build the application, refer to the following table and open the project using its IDE.

Project NameDescription

firmware\sam_d11_xmini.X

MPLABX Project for SAM D11 Xplained Pro Evaluation Kit

Hardware Setup

  1. Project uses SAM D11 Xplained Pro Evaluation Kit
  2. Connect the Debug USB port on the board to the computer using a micro USB cable
  3. This project supports two on-board touch buttons available in the evaluation kit

Running The Application

  1. Open the application project sam_d11_xmini.X in the IDE
  2. Build the project and program the target board

Monitoring Touch Data in MPLAB DV Touch Plugin

Prerequisite: MPLAB Data Visualizer and Touch Plugin. Procedure for Installation is available in Touch Plugin Installation.

  1. Configure COM Port
    • Select the correct COM port in Connection tab
    • Update the Baud Rate to 115200 in COM Settings
    • Start Streaming for COM data
  2. COM Port on Touch
    • Select Touch in Connection tab
    • For data source, from drop-down menu, select configured COM port as source
    • Start Streaming on Touch

Detailed procedure can be found in Guide to view Touch Tune Data using MPLAB® Data Visualizer page.