Question
STM8S001J3 open-drain mode
Posted on December 15, 2017 at 08:22
Hi
I would like to use open-drain mode for PB5 pin of STM8S001J3.
GPIO_DeInit(GPIOA);
GPIO_Init(GPIOB, GPIO_PIN_5, GPIO_MODE_OUT_OD_LOW_FAST);
I do not know why the voltage goes down even if I set it like the code above.
Input voltage : 6V
PB5 output voltage: 4V is output.
#stm8