jbentham / pico

Projects using the Raspberry Pi Pico
Apache License 2.0
33 stars 8 forks source link

PAD_BASE in rp_devices.py #4

Open rickado22 opened 1 year ago

rickado22 commented 1 year ago

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

eleroy commented 11 months 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.