I am currently using several GPIOs, two SSI channels and two I2C channels in my project. Everything was going well until I added PB5 as a GPIO output for controlling an ADC CS pin. I have a scope on the pin at the booster pack J1-2, and the output is always high. Below is a snippet of the code that sets up the GPIOs. I have triple checked for pin assignment conflicts and can find none in the software. If I step through the while look at the bottom, the pin output never toggles. it just remains high. Any ideas? I feel like I'm missing something obvious, but I just can't get it working and I've spent way more time on it than I had hoped.
Thanks!