The following steps explain how to program the ATSAMR30M Sensor Board and get started with the Performance Analyzer
application.
- 1.Power up the board with a battery or
external supply and connect a generic USB-UART converter to the UART pins of the
sensor board. Otherwise, use an FTDI Click Board(1) for powering
up(2) and enabling UART communication with the Sensor Board.
Notes:
- 1.The resistors (J1, J2,
J3) mounted in the position indicated by I2C need to be removed and
assembled in the UART position as shown in the following figure.
- 2.Do not use the FTDI Click
Board for the UART connection if the sensor board is powered from an
external supply voltage other than 3.3V. When required to evaluate at
voltage levels other than 3.3V, use the setup described in Figure 1.
Figure 1. Resistor Jumpers' Placement for FTDI Click Board in UART Mode
- 2.Open Atmel Studio.
- 3.Navigate to the menu File > New
> Example Project.
- 4.Select SAMR30 from the Device
Family drop-down list.
- 5.Enter Performance analyzer in
the "Search for Example Projects" field. Select "Performance Analyzer Application
AT86RF212B - SAM R30 Module Xplained Pro" to create an example project under the
selected directory.
Figure 2. Selecting Performance
Analyzer Application
- 6.After the project solution is
successfully opened, initiate the build by clicking 'Build solution' from the
Build menu.
- 7.Connect an external debugger, like
Atmel-ICE, to the ATSAMR30M Sensor Board. Ensure that
the pin 1 of the cable (indicated by red wire) is interfaced to the SWD header, as
shown in the following figure.
Figure 3. Connecting
Programmer/Debugger with ATSAMR30M Sensor Board
- 8.After successful build completion, open the Device Programming window from the
Tools menu.
- 9.In the Device Programming window, set
the following:
- Tool – Atmel-ICE
- Device –
ATSAMR30E18A
- Interface – SWD
- 10.Click Read to read the device
signature and target voltage. If there are issues in reading the signature or target
voltage, ensure that the programming cable is firmly connected to the SWD header.
- 11.Navigate to the Memories tab
and click Program.
Figure 4. Device Programming
- 12.Open the Performance Analyzer from
the Tools menu in Atmel Studio.
- 13.Follow the Quick Start guidelines
available in the starting page of the Performance Analyzer window.
- 14.Select COM port of the UART-USB
converter and click Connect. The Performance Analyzer connects with the ATSAMR30M Sensor Board. When using the FTDI Click Board
as a UART-USB converter, the FTDI Click Board enumerates as Two COM ports. Use the
port with lower COM number for interfacing with the Performance analyzer GUI.
Note: The Performance Analyzer allows setting or changing of the parameters like Channel
Page, Channel, TX Power Register Value and so on, to perform various RF tests. For more
details about the use of the Performance Analyzer, click the help icon as shown in the
following figure.
Figure 5. Performance Analyzer -
Help