19.8.5 Quick Start Guide for Using DMA with SERCOM SPI
The supported board list:
SAM D21 Xplained Pro
SAM R21 Xplained Pro
SAM L21 Xplained Pro
SAM L22 Xplained Pro
SAM DA1 Xplained Pro
SAM C21 Xplained Pro
This quick start will transmit a buffer data from master to slave through DMA. In this use case the SPI master will be configured with the following settings on SAM Xplained Pro:
Master Mode enabled
MSB of the data is transmitted first
Transfer mode 0
SPI MUX Setting E
8-bit character size
Not enabled in sleep mode
Baudrate 100000
GLCK generator 0
The SPI slave will be configured with the following settings:
Slave mode enabled
Preloading of shift register enabled
MSB of the data is transmitted first
Transfer mode 0
SPI MUX Setting E
8-bit character size
Not enabled in sleep mode
GLCK generator 0
Note that the pinouts on other boards may different, see next sector for details.