Skip to main content
JBias
Associate III
January 21, 2025
Solved

In CubeMX getting a red pin

  • January 21, 2025
  • 1 reply
  • 706 views

What does a red highlight mean? I am able to select the pin for the function I want but I'm seeing at least two pins with of these red highlights. One is an GPIO output which toggles fine. The other is for an EXTI which no longer generates an interrupt when the signal transitions.

JBias_1-1737426925291.png

 

 

 

Best answer by STTwo-32

Hello @JBias 

I think that this red alternate function means that you can’t select this alternate function on this pin. for example, I've seen that on the STM32H7R3L8H6H, for all pins that can be used for the SAI2_A, you can't set any one of them to an Alternate function of the SAI2_A (they are all red as you can see on the screen you shared) since the SAI2_SD_A is needed to be able to use the SAI2_A. but this Alternate function is available only on the PD11 pin that is not available in this package.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
January 21, 2025

Hello @JBias 

I think that this red alternate function means that you can’t select this alternate function on this pin. for example, I've seen that on the STM32H7R3L8H6H, for all pins that can be used for the SAI2_A, you can't set any one of them to an Alternate function of the SAI2_A (they are all red as you can see on the screen you shared) since the SAI2_SD_A is needed to be able to use the SAI2_A. but this Alternate function is available only on the PD11 pin that is not available in this package.

STTwo-32