2025-04-15 12:38 AM
Hello
We are currently working with the STM32MP257F-DK board and attempting to toggle the GPIO pins on Port Z. However, we have observed that the mode of the pins in GPIO Z remains in Analog mode, even when we attempt to overwrite it. Notably, the other GPIO ports are functioning as expected.
We would appreciate your guidance on how to properly activate GPIO Port Z and toggle a pin on this port
Thanks & Regards
Akshitha Pattem
Solved! Go to Solution.
2025-06-19 7:02 AM
Hello @Aks,
This Port Z is somewhat different from the others because it can be allocated to CPU3, specifically the M0+, which means that CPU1 (A35) or CPU2 (M33) will no longer be able to configure this port.
Can you check the value of the RCC_C3CFGR register and see if
Bit 24 (GPIOZC3EN: GPIOZ allocation to CPU3 enable) is set to 1?
If so, this bit should be set to 0 to deallocate GPIOZ from CPU3.
Thanks & Regards
Zakaria
2025-06-19 7:02 AM
Hello @Aks,
This Port Z is somewhat different from the others because it can be allocated to CPU3, specifically the M0+, which means that CPU1 (A35) or CPU2 (M33) will no longer be able to configure this port.
Can you check the value of the RCC_C3CFGR register and see if
Bit 24 (GPIOZC3EN: GPIOZ allocation to CPU3 enable) is set to 1?
If so, this bit should be set to 0 to deallocate GPIOZ from CPU3.
Thanks & Regards
Zakaria