Hello, I'm trying to configure the EDMA module (for the first time) and running into some issues. The end goal is to use a DRDY signal from an ADC to trigger the EDMA transfer
In order to get started, I decided to trigger the EDMA with a switch (S2 on the LCDK). The switch is connected to GPIO2[4]. I configured the pin along with an ISR to toggle one of the LEDS, and I configured the EDMA transfer to just move one byte from a variable called dummy to a variable called dummy1.
I set up the EDMA to work from GPIOB2 interrupts, which translates to Event 22. I think I'm required to use paRAM set 22, but I'm not sure.
I run the initialization, and I can verify that I've set the paRAM22 correctly. the EER register has event 22 enabled, and the IER has int22 enabled.
I hit the switch and see my LED toggle, then I pause the debugger and my entire paRAM22 set has changed to 0x00000000, the interrupt pend for int22 is set, the secondary event register for event 22 is set. and the Event Miss register shows bit 22 set. The data from dummy is never transferred to dummy1.
Can anyone offer any assistance?