STM32H7 PC2_C and PC3_C GPIO not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-04 3:45 AM - last edited on ‎2024-11-04 4:08 AM by Andrew Neil
Originally a reply in this thread: https://community.st.com/t5/stm32cubemx-mcus/bug-cubemx-should-warn-h7-users-against-pc2-c-pc3-c-pitfalls/td-p/708817
Hi,
What's wrong with PC2_C and PC3_C??? I am using them as normal GPO on my board, but it's not working, while PC0 and PC1 are working, same initialization and HAL_GPIO_WritePin() operation.
Thanks
Peter
Solved! Go to Solution.
- Labels:
-
GPIO-EXTI
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 1:50 AM - edited ‎2024-11-15 1:58 AM
@Peter3718 wrote:
I mean RM0399 user manual should be revised as following:
1: Analog switch closed
0: Analog switch open
Why it should be?
RM is correct and the status of the switch is:
Closed when PCXSO = 0 and
Open when PCXSO = 1
And the default value of PCXSO bit in SYSCFG_PMCR register depends on the package.
Check your part number according to this table:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 5:16 AM
I mistake the byte number. You are correct, 0 is close and 1 is open.
Thanks

- « Previous
-
- 1
- 2
- Next »