cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding GPIO PIN Mode in STM32MP257F-DK

Aks
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Zakaria1
ST Employee

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

View solution in original post

1 REPLY 1
Zakaria1
ST Employee

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