Reg: SPI DMA implementation for Adafruit Feather M0 (ATSAMD21)

Dear Team,
I am using Adafruit Feather M0 BLE which has Atmel SAMD21 Micro controller.

My target is to read 5K of bytes for every 10ms through SPI. I believe, which is not possible without DMA then,
i have checked the SPI DMA driver and could not find.

Do we have the SPI DMA driver for Atmel SAMd21 MCU or how i can proceed or get it SPI DMA drivers for Adafruit Feather M0 BLE board?

Appreciate your feedback.

Thanks in advance.

Search for "atsamd21 spi dma"

Adafruit_ZeroDMA

Quick Start Guide for Using DMA with SERCOM SPI

Hi,
Thanks for your reply.

i understood, the SPI DMA driver whichever you provided is your own library i guess.
correct me if i am wrong.

My target, is to use own Arduino driver files for my project implementation.

Could you please suggest any other Arduino board which has more powerful MCU with Bluetooth?
hope you remember my load of system which is provided in first message.

Dear Moderator/Admin,
it will be great if you provide your feedback for my above question.

Regards,
Giri.

Hello Giri,

I am a beginner of using Feather M0 Bluefruit LE. I would like to send the sensor data (the data rate may be more than 3000 Hz) via bluetooth with Bluefruit LE. But I failed because the BLE code may affect the sensor data transmission (from sensor to MPU with SPI/I2C). I can get the right data by serial port without bluetooth. However, after I added the BLE code reference the example "blueuart_datamode" the data collected are always same in mobile APP.
![](http://C:\Users\TANG\Desktop\BLE library\460998311631070444.jpg)
Do you know the reason of it? Please help me and thank you in advance. I will attach my code in the following attachment.

Kind regards
Tang

Bluefruit_LE_ADXL345_I2C_BLE_20170307.ino (5.21 KB)