1.1 MPLAB Code Configurator (MCC)

MCC Harmony 3 example configuration of the SPI UHF Transceiver.

The SERCOM must be configured as SPI Host along with the settings in given figure.

Figure 1-1. SERCOM Settings

The used SERCOM must be connected graphically and the connected ATA8510 pins must be set (selected pins must be configured as GPIO Output in PIN Manager).

Figure 1-2. ATA8510 Settings

Use the ‘Generate’ button for Code Generation.

Figure 1-3. Code Generation

Generated source- and header- files providing the SPI command set library for the ATA8510 can be found in project tree.

Figure 1-4. Generated files