GPIO PG10 on STM32F769I-EVAL
- September 17, 2020
- 2 replies
- 1550 views
This should be straightforward but I cant get it to work. I simply want to control the GPIO output of pin PG10 on the STM32F769I-EVAL board.
I have removed all daughter cards, LCD and the Micro SD card. According to the datasheet, PG10 is connected to SD2_D1 on the micro SD slot, but if the SD card is not installed there should be no issue, right? I have a logic analyzer hooked up to it and the value does not change.
Here is more weirdness. When i toggle GPIO PG6 and PG10 with opposite values, PG10 follows exactly what PG6 does, except the output is not the expected 50% duty cycle square wave. If I only toggle PG6, it is as expected, but PG10 is still following PG6. I have removed SB20, but that should be irrelevant to this behavior. The GPIO thinks it is working correctly though because if i read the value back, i get the expected output.
I have tried this on 2 boards and with minimal software. Any ideas? Is the SD card slot messing with the pin? Did I miss something?
STM32Cube version 5.6.1
Keil uVision version 5.25
Cube project and main attached.
Thanks!
-Phillip