2025-06-06 12:37 AM
Hello Team,
We are facing an issue with the STM32F407ZGT6 microcontroller, specifically with the PC10 pin.
Our primary objective is to use PC10 as a clock output pin for SPI communication. However, we observed that the expected clock pulses are not being generated on this pin. To further debug the issue, we wrote a simple test code to toggle PC10 as a GPIO output. Unfortunately, even this basic GPIO operation did not function as expected—there was no voltage change observed on the pin, verified using a multimeter.
This unexpected behavior appears to be isolated to the PC10 pin, as the same code works correctly when tested on other GPIOs.
We would appreciate it if you could provide your insights on this issue. Please let us know if there are any known errata related to this behavior or any specific considerations for using PC10 for SPI or general GPIO use.
Feel free to reach out if you require any additional information, such as schematics, test code, or setup details.
Looking forward to your support.
Best regards,
2025-06-06 5:30 AM
There's nothing special about PC10. Probably a hardware issue here, or you're not probing the pin.
Outputting 1.43 V would be odd. It should be at 0 or VDD in output mode.
Perhaps do the same test but monitor the IDR and ODR bits in the GPIOC register. Bit 10 of IDR should follow bit 10 of ODR on each toggle.