2024-10-28 11:22 AM - last edited on 2024-10-29 04:52 AM by SofLit
I am using STM32H743VI LQFP 100 pin. There is no PC2 and no PC3 so I need to use PC2_C and PC3_C as SPI MISO and MOSI respectively. I heave read many forums on here claiming there was a bug in the silicon making PC3_C not suitable for SPI communication. I am wondering if this is still true or if I will be able to properly use PC2_C and PC3_C as SPI pins.
To my understanding while reading the reference manual and data sheet there should not be a problem and the switches between pads is closed by default. This leads me to believe that I can use PCx_C as PCx SPI without any extra modification. Please let me know if this is true.
Thank you,
Ethan Mankins
Solved! Go to Solution.
2024-10-29 08:59 AM
SPI on Px_C works, but the max. frequency is limited by the max. output current (1mA) and the load capacity.
So if your SPI is not required to be very fast You should be ok.
2024-10-29 06:07 AM
For limitations on Px_C IO, you can find the output current sunk by Px_C 1mA.
There is an errata before where some datasheets may not state that the current sunk or sourced by Pxy_C pins is limited to 1 mA when the analog switch between Pxy and Pxy_C pads is closed.
For now, AFAIK, these updates are well documented.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-29 06:53 AM - edited 2024-10-29 07:46 AM
Hello @EthanMankins ,
The constraint on PXY_C pins is the current as the internal switch doesn't support more than 1mA:
DS12110 Rev 10:
From the errata ES0392 - Rev 13:
Errata on the max current and the ETH function:
So you need to insure that you have =< 1mA load on the pin.
How the switches are configured by default? Please read this article: https://community.st.com/t5/stm32-mcus/faq-default-state-of-stm32h7-switches-connecting-pxy-c-and-pxy/ta-p/49300
Hope I answered your question.
2024-10-29 08:59 AM
SPI on Px_C works, but the max. frequency is limited by the max. output current (1mA) and the load capacity.
So if your SPI is not required to be very fast You should be ok.