Open rickado22 opened 1 year ago
Hi,
Thank you very much for this issue. For some reason I had trouble reading I2C and capturing ADC over DMA at the same time.
This fixed everything.
And thank you jbentham for sharing you work, it works great.
Edouard.
PAD_BASE =0x4001c000 but GPIO0 starts at 0x4001c004 see RP2040 Datasheet 2.19.6.3 Pad Control
Maybe use PAD_BASE_GPIO = 0x4001c004
Cheers Richard