Page 1 of 1

GPIO Bundle not working on core 1

Posted: Mon Jul 08, 2024 11:02 pm
by srjasz
I have successfully initialized and implemented a GPIO Bundle. The code is running in app_main() on core 0. If I move the functions that control the GPIO pins to a task that is running on core 1 it no longer works. I don't know why it wouldn't work being that both cores use the same peripherals. Any ideas?
Thanks

Re: GPIO Bundle not working on core 1

Posted: Tue Jul 09, 2024 9:04 am
by MicroController

Re: GPIO Bundle not working on core 1

Posted: Tue Jul 09, 2024 2:21 pm
by srjasz
Thanks for the link, that was it. I needed to initialize it on a task that is pinned to core 1. I found that whichever core initialized it last was the core that could control the pins.

Thanks