cancel
Showing results for 
Search instead for 
Did you mean: 

CANNOT control the GPIO Pin, especially GPIO PF13

adam12
Associate II

I tried to use the Nucleo H723ZG and DWM3000evb, but I couldn't control the RESET pin.

To debug this problem, I check the basic pin control, using only 
while(1)
{
    HAL_GPIO_TogglePin(GPIOF, GPIO_PIN_13);
    HAL_Delay(1000);
}

However, it doesn't work and the output of PF13 is always 0V.

It is same with the previous problem, that the RESET pin with output open drain mode keeps 3.3V.

How can I debug this problem? 
Thanks.

ps. I tried the another H723ZG board but got a same result. 

1 REPLY 1
TDK
Super User

A few things to check:

  • The pin needs to be initialized as a GPIO output. By default, pins are generally in analog mode. CubeMX can generate the initialization code for you.
  • The pin needs to actually be connected to what you're monitoring. PF13 is available on the nucleo on CN12 pin 57.

 

Not sure what you mean about controlling the RESET pin. No pin on the chip by that name. NRST cannot be controlled.

 

If you feel a post has answered your question, please click "Accept as Solution".