Search results

  1. J

    USB Communication Breaks When Enabling DMA Channel

    Ah, pretty big oof on my part. Looks like I was forgetting to clear the interrupt on the DMA channel from that interrupt handler. Thanks for quickly pointing me in the right direction! dmaChannel.clearInterrupt(); // tell system we processed it. asm("DSB"); // this is...
  2. J

    USB Communication Breaks When Enabling DMA Channel

    Some further reading seems to indicate that all DMA channels share a bus and cannot be run concurrently. I’m not sure if I’m understanding this correctly since that would seem to limit the usefulness of having multiple DMA channels. Since Serial is also using DMA, I suppose this could be the...
  3. J

    USB Communication Breaks When Enabling DMA Channel

    I am building a device using the Teensy 4.1 that continuously reads data over USB from a client program on another device, does some processing, and then outputs that data to an OLED display. I previously had a version of this working that used direct writes to the GPIO registers to send data to...
Back
Top