cancel
Showing results for 
Search instead for 
Did you mean: 

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

RongShengWang
Associate III

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

    

1 ACCEPTED SOLUTION

Accepted Solutions
mÆŽALLEm
ST Employee

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.

View solution in original post

8 REPLIES 8
mÆŽALLEm
ST Employee

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.

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

 

  

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.

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

 


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

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.
RongShengWang
Associate III

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


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

Thanks!