AnsweredAssumed Answered

Resetting a GPIO PIN INPUT

Question asked by nicky on Aug 18, 2015
Latest reply on Aug 19, 2015 by nicky
Hello guys,

I am using pin PC7 set has input on a Nucleo-F411RE and use IAR with STM32CubeF4 .

GPIO_InitStruct_C.Pin = GPIO_PIN_7;
GPIO_InitStruct_C.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct_C);

Using an oscilloscope, i noticed that on this pin i receive a signal, that printed by HAL_GPIO_ReadPin(GPIOC, GPIO_PIN_7) is equal to 1 for default. This situation creates interferences to an Arduino Shield.

How is it possible to put this value to 0, i.e. reset the PC7 ?

Thank you for your help.