Trouble with GPIOG on STM32U575ZIT6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 03:20 AM
Hello everyone,
I hope you're doing well. I'm currently working on a project using the STM32U575ZIT6 microcontroller, and I'm facing a peculiar issue with GPIOG.
I have successfully manipulated GPIOB and GPIOC for controlling LEDs, but I'm encountering difficulties with GPIOG. I've double-checked my connections, and everything seems to be in order.
Here's a brief overview of my setup:
- LED1 on GPIOB is working fine.
- LED2 on GPIOC is also functioning correctly.
- However, LED3 on GPIOG is not responding as expected.
I've verified the connections and configuration for GPIOG, but it seems that the port is not responding as anticipated. If anyone has experience with this microcontroller or has encountered a similar issue, I would greatly appreciate your insights.
Here are some details that might help diagnose the problem:
- STM32U575ZIT6 microcontroller
- LED1 on GPIOB
- LED2 on GPIOC
- LED3 on GPIOG
If you have any suggestions, advice, or troubleshooting steps, please share them. I'm eager to resolve this issue and move forward with my project.
Thank you in advance for your assistance!
Best regards,
Solved! Go to Solution.
- Labels:
-
Documentation
-
GPIO-EXTI
-
STM32U5 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 07:11 AM
AND must be explicitly enabled..
__HAL_RCC_PWR_CLK_ENABLE();
HAL_PWREx_EnableVddIO2();
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 03:55 AM
Hello,
You didn't describe the issue. What kind of issue you faced with GPIOG port?
- LED1 on GPIOB
- LED2 on GPIOC
- LED3 on GPIOG --> which pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 06:38 AM
Is the clock enabled for that GPIO block?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 07:06 AM - edited ‎2024-02-02 07:07 AM
Note that GPIOG uses the VDDIO2 rail, unlike the other ports. Could be that this rail is missing or insufficient.
Debug the code, verify the GPIOG registers are being modified as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-02 07:11 AM
AND must be explicitly enabled..
__HAL_RCC_PWR_CLK_ENABLE();
HAL_PWREx_EnableVddIO2();
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-25 09:18 AM
saving lives with this one.
How do you guys know these random pieces of information? :D I did find it in data sheet and managed to make it work but ***, without you id be a pickle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-26 05:18 AM
Some of these guys are extremely smart with tons of experience with ST MCU's. Some of us just bring cookies. ;)
