Search results

  1. F

    Any way to route GPIO register data direct to USB using DMA?

    Here is the full code with the Serial.write not in the ISR: #include <Arduino.h> #include <imxrt.h> #include <DMAChannel.h> #define BUFFER_SIZE 8192 #define SEND_SIZE BUFFER_SIZE*4 void xbar_connect(unsigned int input, unsigned int output); void dma_isr(); void setup_dma(); uint32_t...
  2. F

    Any way to route GPIO register data direct to USB using DMA?

    Hello, I am attempting to read parallel data on GPIO1 using DMA as fast as possible, and wanted to know if there is a way to set the output buffer to somehow be the USB FIFO buffer. My goal is to get continuous data from the GPIO register as fast as possible into the USB buffer. My current...
  3. F

    Teensy 4.1 How to start using DMA?

    Hey all, I was looking through this thread and think I figured out a way to go above the 10MHz limit miciwan was talking about, specifically in reference to the DMA being clocked at 1/4th the core frequency In page 1038 there is a helpful diagram that shows that clock (the one for peripherals...
Back
Top