NECLEO-H753ZI CUBEMX Pinout View PD8/PD9/PB0 pins in RED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 3:17 PM
Hi,
I do not use PD8/PD9/PB0 pins in my design. Therefore I did not configure them in CubeMax.
Why NECLEO-H753ZI CUBEMX Pinout View PD8/PD9/PB0 pins are in RED?
Thanks,
Peter
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 3:51 PM
Hello,
All these pins are colored in red because you started your project from the board and you selected at the beginning to intialize the BSP:
You've clicked OK:
So you get:
To disable these IOs, go to Bsp tab and uncheck all these checkboxes.
Hope that answres your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 3:51 PM
Hello,
All these pins are colored in red because you started your project from the board and you selected at the beginning to intialize the BSP:
You've clicked OK:
So you get:
To disable these IOs, go to Bsp tab and uncheck all these checkboxes.
Hope that answres your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 4:23 PM
Hi,
Are those pins used for USB-Serial Debug purpose?
If so, I can't disable them.
Can I just leave them in Red and generate the code? Any trouble?
Thanks,
Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 11:17 PM - edited ‎2025-03-30 11:31 PM
Hello,
Are you the original OP?
If yes please use one profile.
If you are talking about VCP pins, the answer is No. These are for the virtual comport not for debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 7:22 AM
Hi,
"These are for the virtual comport " - Yes.
Question: Can I just leave these pins (PD8/PD9/PB0) in Red, and auto-generate the source code without destroying these pin's functions, such as "virtual comport"?
Thanks,
Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 1:38 AM
@RongShengWang wrote:
Question: Can I just leave these pins (PD8/PD9/PB0) in Red, and auto-generate the source code without destroying these pin's functions, such as "virtual comport"?
Not sure what do you mean by "destroying these pin's functions"
The pins in Red are reserved functions. If you generate the code with that config, it will be generated with theses functions. If you disable them as I stated previously they will be removed from the code generation.
If you need them for other usage you need disable them and check the schematics of the board to prevent any conflict.
Hope I answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 12:34 PM
"These pins ( PD8/PD9) are reserved for the virtual comport " - I have to leave them unchanged. Hopefully the compiler will keep the reserved function without any change. This is what I mean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 4:34 AM
@RongShengWang wrote:
"These pins ( PD8/PD9) are reserved for the virtual comport " - I have to leave them unchanged. Hopefully the compiler will keep the reserved function without any change. This is what I mean.
The compiler doesn't make any change on the generated code, otherwise the option you selected in CubeMx doesn't make sense any more ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 9:15 AM
Thanks!
