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

Thread: DmaSpi library with T4

  1. #1

    DmaSpi library with T4

    Hi,

    is there any chance that this great library will work together with the teensy 4 ?

    https://github.com/crteensy/DmaSpi

    As far i understood with this library you can "deligate" the SPI transfer to a DMA channel and you program can do other things while the data is transferred to the SPI "client", and you can synchronize it via interrupt ?

    Thank you

    Torsten

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,749
    Currently it does not build.

    Will took a look

  3. #3
    Hi KurtE,

    Yes it says unknown chip...i thing due to an #ifdef....and i really do not understand what the purpose of this is...so i can't fix it...

    Thank you for your help...

    Torsten

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,749
    I did a pass through it to add T4, that it appears like the DMASpi_example1 is working.

    The Fork/Branch is up at: https://github.com/KurtE/DmaSpi/tree/T4

    It might be good if someone else tried it as well. I have not yet tried out using SPI1 or SPI2 with it.

    Edit: Went ahead and issue PR: https://github.com/crteensy/DmaSpi/pull/28

    I tried on SPi1 as well
    Last edited by KurtE; 09-25-2019 at 09:57 PM.

  5. #5
    Hi KurtE,

    thank you very much porting this to teensy 4!

    Torsten

Posting Permissions

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