AnsweredAssumed Answered

STM32F437 and PI8 as output IO

Question asked by on Jun 8, 2018
Latest reply on Jun 9, 2018 by T J

Hi, guys.

I am using STM32F437 and trying to use PI8 as  an output port.

I am trying to program it using standard procedures:

 RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOI, ENABLE);
  GPIO_InitTypeDef  GPIO_InitStructure;
  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8;
  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;
  GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
  GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP;
  GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
  GPIO_Init(GPIOI, &GPIO_InitStructure);
  GPIOI->BSRRL=GPIO_Pin_8; // Set logical 1


As the result, I see always logical 0 on the output.

I know that this pin has some additional features from RTC.

What should I do to use this port as standard IO in output mode?


Regards, George.