STM32F103C8T6 - GPIOA ports would not change when using HAL_GPIO_WritePin()
Hi ,
I'm working on a code to collect data from a load cell wit HX711 cip. I'm using STM32CubeIDE.
I configured GPIO pin 6 as Clock output for the HX711 but when calling HAL_GPIO_WritePin the output pin PA6 does not change.
The hardware configuration is set in CubeMX .

I'm not even sure what information to provide.
I reduced the code to only couple of lines ...

I am writing code in C++ so I have a call of appMainC() that is declared as "extern C" as main() for my code. This may not influence our issue but I added it just for clarity.

And I also have the timer ElapsedCallback function call ..

I have changed 3 bluepill boards as I expected is a HW issue of the board but it the issue is the same on all 3.
I also tried by setting outputs PA3 ... PA6 as pull-up but I still measured 0V on the outputs with the oscilloscope.
Can anyone help with some idea on what could cause this issues? Or if I'm setting something wrong?
I can provide any additional information ... this seem so basic I don't know what to ask?
Best Regards,
Cristian
