Can DMA be used with SERCOM5 on SAML21J18B?

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Atmel. I am using the SAML21J18B.

 

Can DMA be used with SERCOM5 on SAML21J18B?

 

I notice that the SERCOMx_DMAC_ID_TX  are numbers between 0 and 10 for SERCOM0-4.

This is what I see in sercom5.h  -

 

#define SERCOM5_DMAC_ID_RX                   // Index of DMA RX trigger
#define SERCOM5_DMAC_ID_TX                   // Index of DMA TX trigger

 

They are blank, and cause a build error when I tried to use it.

 

Is SERCOM5 not capable of DMA?

I could not find a list of specific DMA ready peripherals in the datasheet.

 

Can someone point me to a clue? Thanks.

I've seen people use 11 and 12 on the SAMR21.

 

 

THanks.

 

This topic has a solution.

-M

Last Edited: Wed. Aug 16, 2017 - 05:19 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

To follow up, I saw the datasheet also does not list an DMA trigger index for SERCOM5.

It is on a different power domain and clocked differently than the other SERCOMs

 

It does say that sleep walking is available for this peripheral. 

I don't really have any experience with that so I will need to do some research.

 

 

 

-M

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And page 568 of the data sheet says no DMA with SERCOM5.

Huzzah!

 

-M