I successfully got dma and interrupts working thanks to wvy’s help.
However, working under Arduino, there seems to be some sort of scheduling going once every 10ms. I also found it necessary to insert a small delay between detecting the Tx Done event, and starting a new transaction - I’m using the Arduino micros() function to wait 100us, but I think sometimes this wait is stalling for much longer.
I’ve taken the decision I need to ‘dump’ Arduino and move to use the ‘proper’ SDK so I have slightly better control over what’s going on (my ‘norm’ is barefoot microcontrollers, so that’s more familiar territory to me, although this will have a bit of a learning curve).
1 Like