Skip to main content
Associate III
March 30, 2025
Solved

NECLEO-H753ZI CUBEMX Pinout View PD8/PD9/PB0 pins in RED

  • March 30, 2025
  • 2 replies
  • 709 views

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

    

Best answer by mƎALLEm

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:

mALLEm_3-1743375011577.png

So you get:

mALLEm_1-1743374872957.png

To disable these IOs, go to Bsp tab and uncheck all these checkboxes.

 

mALLEm_0-1743374860179.png

Hope that answres your question

 

2 replies

mƎALLEm
mƎALLEmBest answer
Technical Moderator
March 30, 2025

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:

mALLEm_3-1743375011577.png

So you get:

mALLEm_1-1743374872957.png

To disable these IOs, go to Bsp tab and uncheck all these checkboxes.

 

mALLEm_0-1743374860179.png

Hope that answres your question

 

"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."
Associate III
March 30, 2025

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

 

  

mƎALLEm
Technical Moderator
March 31, 2025

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.

"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."
Associate III
April 2, 2025

 "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.

mƎALLEm
Technical Moderator
April 3, 2025

@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 ..

"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."