Skip to main content
Associate III
Solved

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

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

    

    This topic has been closed for replies.
    mƎALLEm
    mƎALLEmBest answer
    ST Technical Moderator

    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 "Best answer" on the reply which solved your issue or answered your question.

    8 replies

    mƎALLEm
    mƎALLEmBest answer
    ST Technical Moderator

    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 "Best answer" on the reply which solved your issue or answered your question.
    Associate III

    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
    ST Technical Moderator

    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 "Best answer" on the reply which solved your issue or answered your question.
    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.

    mƎALLEm
    ST Technical Moderator

    @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 "Best answer" on the reply which solved your issue or answered your question.