Thank you for your reply. After adding that line of code, I think I'm getting the same issue where the DMA doesn't seem to load the values into the registers properly. GPIO2_GDIR is always 0 even after I trigger DMA ch0 as well as GPIO2_DR after...
Hi,
I'm trying to access the builtin LED(pin13) on Teensy4.1 through DMA by writing to the GPIO2_DR_TOGGLE register but it doesn't work. Code is included below, is there anything missing from the DMA setup?
#include <Arduino.h>
#include...