2020-05-21 07:25 AM
i can switch between all pin but this one is static, pin PC14 (I call it olcl).
I think maybe one of the peripheral units in the card is catching it to me.
this is the code and the setup.
sbs_pol_Pin is swiching states properly.
while (1)
{
HAL_GPIO_WritePin(sbs_pol_GPIO_Port,sbs_pol_Pin,GPIO_PIN_SET);
HAL_GPIO_WritePin(olcl_GPIO_Port,olcl_Pin,GPIO_PIN_SET);
delay_1u(100);
HAL_GPIO_WritePin(olcl_GPIO_Port,olcl_Pin,GPIO_PIN_RESET);
HAL_GPIO_WritePin(sbs_pol_GPIO_Port,sbs_pol_Pin,GPIO_PIN_RESET);
/*}
2020-05-21 08:26 AM
PC14 would be in the Low Power domain, it has very low current sink/source capability, review Data Sheet, and notes on pin
2020-05-21 12:02 PM
> I think maybe one of the peripheral units in the card is catching it to me.
Then check the schematics what is connected to the pin. No software can remove components from the board.
2020-05-23 11:52 PM
can you enplane a bit more please?
for exmple when im trying to write a different program which only toggle this pin up and down, it is doesnt changing as well.
i havnt seen nothing on datasheet that neutralize this pin when im working only with this pin.
by the way this is STM32L412KB
2020-05-23 11:52 PM
can you enplane a bit more please?
for exmple when im trying to write a different program which only toggle this pin up and down, it is doesnt changing as well.
i havnt seen nothing on datasheet that neutralize this pin when im working only with this pin.
by the way this is STM32L412KB
2020-05-24 12:31 AM
Are you looking at the right datasheet? Does it contain a schematics?
Find the schematics of your board, and find out what is connected to the pin. Check that the pin is actually connected to the test point or pin header that you are measuring, no jumpers or solder bridges are missing.
2020-05-24 01:41 AM
I'm looking in here https://www.st.com/resource/en/datasheet/stm32l412kb.pdf
and i can not find nothing about it.
there is no specific schematic in there that can help me in the topic you presented.
do you have something like that?
2020-05-24 02:26 AM