Hi,
With a Raspberry Pi Pico 2 board, when I try to reset a peripheral from core1 (which is running fine otherwise -- just blinking an LED for now), it fails. For example insertingbefore the "blinking code" results in the core never making it past the "RESET_DONE" loop (and thus LED never starts blinking), whereas resetting said peripheral from core0 works fine.
Is there something about resetting peripherals I have failed to understand?
With a Raspberry Pi Pico 2 board, when I try to reset a peripheral from core1 (which is running fine otherwise -- just blinking an LED for now), it fails. For example inserting
Code:
#define SET 0x2000#define CLR 0x3000#define RESETS_RESET_BASE 0x40020000#define RESETS_RESET_SET *(volatile uint32_t *)(RESETS_RESET_BASE + SET)#define RESETS_RESET_CLR *(volatile uint32_t *)(RESETS_RESET_BASE + CLR)#define RESETS_RESET_DONE *(volatile uint32_t *)(RESETS_RESET_BASE + 0x8)[....]RESETS_RESET_SET = 0x1; // Reset ADCRESETS_RESET_CLR = 0x1;while (!(RESETS_RESET_DONE & 0x1)) continue;Is there something about resetting peripherals I have failed to understand?
Statistics: Posted by cryo1970 — Fri Jul 11, 2025 2:40 am — Replies 0 — Views 12