Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Docs on DMA?

  1. #1
    Member
    Join Date
    Sep 2013
    Location
    Utah
    Posts
    36

    Docs on DMA?

    Is there anyone who can point me to where there are programming docs for the DMAs? What I want to know:

    . How many DMAs there are for the K20 and the K66?
    . Which sub-components can use them?
    . How deep are the DMAs? IOW, how many bytes/words can they move at a time?
    . How to program the DMAs?

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,335
    Quote Originally Posted by metalgimp View Post
    Is there anyone who can point me to where there are programming docs for the DMAs? What I want to know:

    . How many DMAs there are for the K20 and the K66?
    . Which sub-components can use them?
    . How deep are the DMAs? IOW, how many bytes/words can they move at a time?
    . How to program the DMAs?
    I suggest a dual strategy
    exploring
    cores/teensy3/DMAChannel.(cpp/h), which contains a very useful and robust API
    together with Freescale documents on K20 and K66
    info on number of DMA's and symbols used in DMAChannel, you find in kinetis.h

    I used these places to write my own c-only version with slightly modified API.

  3. #3
    Member
    Join Date
    Aug 2013
    Location
    Ohio
    Posts
    88
    I concur with WMXZ, read code and the CPU docs.

    The Kinetis family DMA shines brightly: It is a full chaining ("scatter/gather" in the Kinetis docs) controller, and we use it to great effect supporting crazy high bandwidth serial networking and A/D sampling with high-resolution timing in a very busy sensor data acquisition/control project.

  4. #4
    Member
    Join Date
    Jul 2016
    Location
    Denmark
    Posts
    25
    for a quick over view and use example, look at the OCTOWS2812 lib https://github.com/PaulStoffregen/OctoWS2811

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •