DMA with GPIO

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

Is there a way to use DMA to periodically transfer words from an array in memory to the PIO_OER & PIO_ODR registers? Ideally I would set up a Timer (TC peripheral) and each time it overflows the DMA would transfer a word to the PIO registers, then increment the source address ready for the next overflow.

This topic has a solution.
Last Edited: Sat. Oct 31, 2020 - 11:03 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You have to write what chip you are using.

/Lars

 

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

knick wrote:
Is there a way to use DMA to periodically transfer words from an array in memory to the PIO_OER & PIO_ODR registers? Ideally I would set up a Timer (TC peripheral) and each time it overflows the DMA would transfer a word to the PIO registers, then increment the source address ready for the next overflow.

 

This is similiar with I'm dealing.Since I'm looking the new NXP chip that also included ethernet capability.

There's an offer but discount wasn't provided anymore.

 

JSB 

.

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

ATSAME70Q21

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

Seems it's not possible on SAME70

https://community.atmel.com/foru...

/Lars

 

Last Edited: Wed. Oct 28, 2020 - 07:50 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the reply Lajon.

Yep, it seems that's not an option. Shame. 

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

Please mark the solution - see Tip #5 in my signature, below:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...