Using DMA and USART on SAM G55 processor, with Atmel START

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

I am working on a custom board using the SAM G55 processor.

The processor supports using the USART with DMA, for both send and receive.

 

In Atmel START, I am not given a choice of a DMA driver for the USART.  I can not find reference to any kind of DMA-related driver in START.  (I see the same thing if I create a new project for the SAM G55 Xplained Pro evaluation board).

 

I have seen an application note (AT08642: SAM 3A/3N/3S/3U/3X/4E/4N/4S/G Peripheral DMA controller (PDC) Driver), on how to use Peripheral DMA, but, although I have not seen it stated explicitly in the application note, it looks as though it is relevant to ASF3, not 4/START.  

 

The  ASF4 API Reference Manual has documentation for a USART DMA driver, but I do not have this as a choice in Atmel Start.

 

 

What do I have to do to use Peripheral DMA?  Is there some kind of configuration or component which must be present or set properly, which will make the USART DMA driver available when configuring the USART?

 

Thank you.

Basya

Last Edited: Wed. May 15, 2019 - 01:15 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why they put the ASF forum in the 8 bit community is a mystery, you will get a better response to your questions in the 32 community! 

 

Jim

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If the ASF forum is here, then on what forum there should I post ASF/Start questions?  Can I cross-post?  (I am pretty new to these forums)

 

Thank you.
Batya

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think you are quite right! this is indeed the ASF forum, its mentioned in the header. so no need to apologize.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah but Atmel have clearly put it in the wrong place (as far as ARM is concerned) Either they should do what they have done for things like "AVR Studio" and have two: "AVr Studio (AVR)" and "AVR Studio (ARM)" or ASF should be moved up the tree to be at a level where it is equally visible to AVR and ARM users alike (actually it's more used for ARM than AVR in fact!)

 

We see a lot of ARm question posted into this AVR8 world and never see any reply because all the ARM users actually live over at: https://community.atmel.com/forums/atmel-smart-arm-based-mcus

 

If I was Basya I'd start again. A quick google tells me "SAM G55" is actually a Cortex M4 so maybe this one? : https://community.atmel.com/foru... thouhg, of course, that is a forum about Cortex-M not ASF/Start specifically.

 

Really, the solution (I think) is two ASF fora: "ASF (AVR)" and "ASF (ARM)" - though I'm guessing the AVR variant almost never gets any traffic (which just empathizes how wrong this current forum placement is!)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you for the tip.

I posted the question there.

I've gotten more response here than there, so far.....