8-bit flash microcontroller with full speed usb device (187 pages)
Summary of Contents for Atmel ATSAMB11
Page 1
ATSAMB11 emulating a mouse device example is completed, a mouse cursor will appear on the mobile device’s screen. Pressing the button on the ATSAMB11 platform simulates movement of mouse in a pre-defined pattern as described in later in this document.
Purpose This getting started guide describes the setup of an Atmel ATSAMB11 Xplained board and bringing up an example profile supplied as part of BluSDK SMART release. This document explains the bring-up of HID Mouse device example application that is embedded as part of the software release package.
Figure 4-1. Creating a New Example Project Select “SAMB11” in device family, enter “ble-hid mouse” in the search window, and expand Atmel Corp Projects. The location and the name of the project can be selected in the respective fields. Click OK.
Page 5
Figure 4-3. Building the HID Device Application Download the application via the USB to the ATSAMB11 board by using the Device Programing option available in Tools as shown below. Figure 4-4. Selecting Device Programming Option Inside the device programming the user has to select the correct configuration for the device and finally program the device by using the program button.
For the purpose of debugging, logging is made available through a serial console. The logging interface utilizes the same COM port that connects to ATSAMB11. A serial port monitor application (for example TeraTerm) shall be opened and attached to the appropriate COM port enumerated by the device on the Running the Demo Power on the ATSAMB11 by connecting the USB cable.
Page 7
Remote device request pairing Sending pairing response AT_BLE_CONN_PARAM_UPDATE Pairing procedure completed successfully Once the device connected to host (Phone). User can select button for simulating mouse movement. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
Page 8
Cursor moves left Next 5 Button Press: Cursor moved up The same sequence is repeated based on user input. A snapshot of the console logs are shown below. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide [USER GUIDE] Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
Page 9
Mouse Letf Movement Mouse Letf Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Figure 6-8. Mouse Cursor Position on Phone ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
User indemnifies Atmel from any claim arising from user's handling or use of this evaluation board/kit. Except for the limited purpose of internal development and evaluation as specified above, no license, express or implied, by estoppel or otherwise, to any Atmel intellectual property right is granted hereunder.
Revision History Doc Rev. Date Comments 42603A 11/2015 Initial document release. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
Page 14
DISCLAIMER: The information in this document is provided in connection with Atmel pro ducts. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND COND ITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON -INFRINGEMENT.