SAM V71(B) Xplained Ultra

Overview

The SAM V71 Xplained Ultra evaluation kit is a development platform to evaluate the Atmel SAM V71 series microcontrollers. The current version allows to use both IC variations ATSAMV71Q21A(B).

Hardware

  • ATSAMV71Q21A(B) ARM Cortex-M7 Processor

  • 12 MHz crystal oscillator

  • 32.768 kHz crystal oscillator

  • Supercap backup

  • AT24MAC402 EEPROM

  • IS42S16100E 16 Mb SDRAM

  • S25FL116K 16 Mb QSPI

  • WM8904 low power stereo audio codec

  • ATA6561 CAN Transceiver

  • SD card connector with SDIO support

  • Camera interface connector

  • MediaLB connector

  • Ethernet port

  • Micro-AB USB device

  • Micro-AB USB debug interface supporting CMSIS-DAP, Virtual COM Port and Data Gateway Interface (DGI)

  • JTAG interface connector

  • One reset and two user pushbuttons

  • Two yellow user LEDs

Supported Features

The sam_v71_xult board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

sam_v71_xult/samv71q21 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M7 CPU1

arm,cortex-m7

ADC

on-chip

Atmel SAM family AFEC2

atmel,sam-afec

ARM architecture

on-chip

Atmel SAM SSC (Synchronous Serial Controller) controller1

atmel,sam-ssc

CAN

on-chip

Specialization of Bosch m_can CAN FD controller for Atmel SAM1 1

atmel,sam-can

Clock control

on-chip

Atmel Power Management Controller (PMC)1

atmel,sam-pmc

Counter

on-chip

Atmel SAM Timer Counter (TC) node4

atmel,sam-tc

DAC

on-chip

Atmel SAM family DAC1

atmel,sam-dac

DMA

on-chip

Atmel SAM XDMAC controller1

atmel,sam-xdmac

Ethernet

on-chip

Atmel SAM-family GMAC Ethernet1

atmel,sam-gmac

on-board

Generic MII PHY1

ethernet-phy

Flash controller

on-chip

Atmel SAM Enhanced Embedded Flash Controller (EEFC)1

atmel,sam-flash-controller

GPIO & Headers

on-chip

SAM GPIO Port5

atmel,sam-gpio

on-board

GPIO pins exposed on Atmel Xplained Pro headers2

atmel-xplained-pro-header

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

Hardware information

on-chip

ATMEL SAM Reset controller1

atmel,sam-rstc

I2C

on-chip

Atmel SAM Family I2C (TWIHS)2 1

atmel,sam-i2c-twihs

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

MDIO

on-chip

Atmel SAM Family MDIO Driver node1

atmel,sam-mdio

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

This binding describes the Atmel SAM flash area layout1

atmel,sam-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

Atmel SAM Pinctrl Container1

atmel,sam-pinctrl

Power management

on-chip

Atmel SAM SUPC (Supply-Controller) controller1

atmel,sam-supc

PWM

on-chip

Atmel SAM PWM1 1

atmel,sam-pwm

RNG

on-chip

Atmel SAM RNG1

atmel,sam-trng

RTC

on-chip

Atmel SAM family RTC device1

atmel,sam-rtc

Sensors

on-chip

Atmel SAM Timer Counter (TC) QDEC mode4

atmel,sam-tc-qdec

Serial controller

on-chip

Atmel SAM family USART1 2

atmel,sam-usart

on-chip

SAM family UART1 4

atmel,sam-uart

SPI

on-chip

Atmel SAM SPI controller1 1

atmel,sam-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

USB

on-chip

Atmel SAM Family USB (USBHS) in device mode1

atmel,sam-usbhs

Watchdog

on-chip

ATMEL SAM0 watchdog1

atmel,sam-watchdog

sam_v71_xult/samv71q21b target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M7 CPU1

arm,cortex-m7

ADC

on-chip

Atmel SAM family AFEC2

atmel,sam-afec

ARM architecture

on-chip

Atmel SAM SSC (Synchronous Serial Controller) controller1

atmel,sam-ssc

CAN

on-chip

Specialization of Bosch m_can CAN FD controller for Atmel SAM1 1

atmel,sam-can

Clock control

on-chip

Atmel Power Management Controller (PMC)1

atmel,sam-pmc

Counter

on-chip

Atmel SAM Timer Counter (TC) node4

atmel,sam-tc

DAC

on-chip

Atmel SAM family DAC1

atmel,sam-dac

DMA

on-chip

Atmel SAM XDMAC controller1

atmel,sam-xdmac

Ethernet

on-chip

Atmel SAM-family GMAC Ethernet1

atmel,sam-gmac

on-board

Generic MII PHY1

ethernet-phy

Flash controller

on-chip

Atmel SAM Enhanced Embedded Flash Controller (EEFC)1

atmel,sam-flash-controller

GPIO & Headers

on-chip

SAM GPIO Port5

atmel,sam-gpio

on-board

GPIO pins exposed on Atmel Xplained Pro headers2

atmel-xplained-pro-header

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

Hardware information

on-chip

ATMEL SAM Reset controller1

atmel,sam-rstc

I2C

on-chip

Atmel SAM Family I2C (TWIHS)2 1

atmel,sam-i2c-twihs

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

MDIO

on-chip

Atmel SAM Family MDIO Driver node1

atmel,sam-mdio

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

This binding describes the Atmel SAM flash area layout1

atmel,sam-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

Atmel SAM Pinctrl Container1

atmel,sam-pinctrl

Power management

on-chip

Atmel SAM SUPC (Supply-Controller) controller1

atmel,sam-supc

PWM

on-chip

Atmel SAM PWM1 1

atmel,sam-pwm

RNG

on-chip

Atmel SAM RNG1

atmel,sam-trng

RTC

on-chip

Atmel SAM family RTC device1

atmel,sam-rtc

Sensors

on-chip

Atmel SAM Timer Counter (TC) QDEC mode4

atmel,sam-tc-qdec

Serial controller

on-chip

Atmel SAM family USART1 2

atmel,sam-usart

on-chip

SAM family UART1 4

atmel,sam-uart

SPI

on-chip

Atmel SAM SPI controller1 1

atmel,sam-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

USB

on-chip

Atmel SAM Family USB (USBHS) in device mode1

atmel,sam-usbhs

Watchdog

on-chip

ATMEL SAM0 watchdog1

atmel,sam-watchdog

Connections and IOs

The SAMV71-XULT User Guide has detailed information about board connections.

System Clock

The SAM V71 MCU is configured to use the 12 MHz external oscillator on the board with the on-chip PLL to generate a 300 MHz system clock.

Serial Port

The ATSAMV71Q21 MCU has five UARTs and three USARTs. USART1 is configured for the console and is available as a Virtual COM Port via EDBG USB chip.

Programming and Debugging

Flashing the Zephyr project onto SAM V71 MCU requires the OpenOCD tool. By default a factory new SAM V71 chip will boot the SAM-BA boot loader located in the ROM, not the flashed image. This is determined by the value of GPNVM1 (General-Purpose NVM bit 1). The flash procedure will ensure that GPNVM1 is set to 1 changing the default behavior to boot from Flash.

If your chip has a security bit GPNVM0 set you will be unable to program flash memory or connect to it via a debug interface. The only way to clear GPNVM0 is to perform a chip erase procedure that will erase all GPNVM bits and the full contents of the SAM V71 flash memory:

  • With the board power off, set a jumper on the J200 header.

  • Turn the board power on. The jumper can be removed soon after the power is on (flash erasing procedure is started when the erase line is asserted for at least 230ms)

Flashing

  1. Run your favorite terminal program to listen for output. Under Linux the terminal should be /dev/ttyACM0. For example:

    $ minicom -D /dev/ttyACM0 -o
    

    The -o option tells minicom not to send the modem initialization string. Connection should be configured as follows:

    • Speed: 115200

    • Data: 8 bits

    • Parity: None

    • Stop bits: 1

  2. Connect the SAM V71 Xplained Ultra board to your host computer using the USB debug port. Then build and flash the Hello World application.

    # From the root of the zephyr repository
    west build -b sam_v71_xult/samv71q21 samples/hello_world
    west flash
    

    You should see “Hello World! sam_v71_xult” in your terminal.

  3. To use the SoC variation B IC, you need type “sam_v71_xult/samv71q21b”.

    # From the root of the zephyr repository
    west build -b sam_v71_xult/samv71q21b samples/hello_world
    west flash
    

    You should see “Hello World! sam_v71_xult” in your terminal.

You can flash the image using an external debug adapter such as J-Link or ULINK, connected to the 20-pin JTAG header. Supply the name of the debug adapter (e.g., jlink) via an OPENOCD_INTERFACE environment variable. OpenOCD will look for the appropriate interface configuration in an interface/$(OPENOCD_INTERFACE).cfg file on its internal search path.

Debugging

You can debug an application in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b sam_v71_xult/samv71q21 samples/hello_world
west debug

References

SAM V71 Product Page:

https://www.microchip.com/design-centers/32-bit/sam-32-bit-mcus/sam-v-mcus