cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a new project the evaluation board CUBEMX is not setting the pins

Not applicable

Hello!

On CUBEIDE V1.3.0 I am designing a project STM32 and on goal section, I choose evaluation board (Nucleo-F446RE).From the above mention board I still not receiving the pin out after choosing initialize al peripherals with their default mode to yes. If we select No the situation remains same.

Any one has any idea at which step I am making mistake?

Thanks.

2 REPLIES 2
mattias norlander
ST Employee

Hi,

Tried to re-produce without success. I am using CubeIDE on Windows 10. Creating a project targetting the board NUCLEO_F446RE. Pin-out looks like this assuming you select to initialize all peripherals in their default modes == Yes.

  0693W00000FAVeqQAH.pngThere you have the result from this operation on my machine. Maybe you can just copy-paste the settings based on this screenshot?

  • Which OS are you running on?
  • Same issue if you start a new board project targeting the same board in a new workspace?
  • What if you create a project for another board, is init of periph defaults always broken for all boards?

Trying to narrow down the issue a bit...

Kind regards, Mattias

Content of the ioc-file:

#MicroXplorer Configuration settings - do not modify

File.Version=6

KeepUserPlacement=false

Mcu.Family=STM32F4

Mcu.IP0=NVIC

Mcu.IP1=RCC

Mcu.IP2=SYS

Mcu.IP3=USART2

Mcu.IPNb=4

Mcu.Name=STM32F446R(C-E)Tx

Mcu.Package=LQFP64

Mcu.Pin0=PC13

Mcu.Pin1=PC14-OSC32_IN

Mcu.Pin10=PA14

Mcu.Pin11=PB3

Mcu.Pin12=VP_SYS_VS_Systick

Mcu.Pin2=PC15-OSC32_OUT

Mcu.Pin3=PH0-OSC_IN

Mcu.Pin4=PH1-OSC_OUT

Mcu.Pin5=PA2

Mcu.Pin6=PA3

Mcu.Pin7=PA5

Mcu.Pin8=PB0

Mcu.Pin9=PA13

Mcu.PinsNb=13

Mcu.ThirdPartyNb=0

Mcu.UserConstants=

Mcu.UserName=STM32F446RETx

MxCube.Version=5.6.0

MxDb.Version=DB.5.0.60

NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false

NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:true\:false

NVIC.EXTI0_IRQn=true\:0\:0\:false\:false\:true\:true\:true

NVIC.ForceEnableDMAVector=true

NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false

NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:true\:false

NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:true\:false

NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false

NVIC.PriorityGroup=NVIC_PRIORITYGROUP_0

NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false

NVIC.SysTick_IRQn=true\:0\:0\:true\:false\:true\:true\:true

NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false

PA13.GPIOParameters=GPIO_Label

PA13.GPIO_Label=TMS

PA13.Locked=true

PA13.Mode=Serial_Wire

PA13.Signal=SYS_JTMS-SWDIO

PA14.GPIOParameters=GPIO_Label

PA14.GPIO_Label=TCK

PA14.Locked=true

PA14.Mode=Serial_Wire

PA14.Signal=SYS_JTCK-SWCLK

PA2.GPIOParameters=GPIO_Label

PA2.GPIO_Label=USART_TX

PA2.Locked=true

PA2.Mode=Asynchronous

PA2.Signal=USART2_TX

PA3.GPIOParameters=GPIO_Label

PA3.GPIO_Label=USART_RX

PA3.Locked=true

PA3.Mode=Asynchronous

PA3.Signal=USART2_RX

PA5.GPIOParameters=GPIO_Label

PA5.GPIO_Label=LD2 [Green Led]

PA5.Locked=true

PA5.Signal=GPIO_Output

PB0.Locked=true

PB0.Signal=GPXTI0

PB3.GPIOParameters=GPIO_Label

PB3.GPIO_Label=SWO

PB3.Locked=true

PB3.Signal=SYS_JTDO-SWO

PC13.GPIOParameters=GPIO_Label,GPIO_ModeDefaultEXTI

PC13.GPIO_Label=B1 [Blue PushButton]

PC13.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING

PC13.Locked=true

PC13.Signal=GPXTI13

PC14-OSC32_IN.Locked=true

PC14-OSC32_IN.Mode=LSE-External-Oscillator

PC14-OSC32_IN.Signal=RCC_OSC32_IN

PC15-OSC32_OUT.Locked=true

PC15-OSC32_OUT.Mode=LSE-External-Oscillator

PC15-OSC32_OUT.Signal=RCC_OSC32_OUT

PH0-OSC_IN.Locked=true

PH0-OSC_IN.Mode=HSE-External-Oscillator

PH0-OSC_IN.Signal=RCC_OSC_IN

PH1-OSC_OUT.Locked=true

PH1-OSC_OUT.Mode=HSE-External-Oscillator

PH1-OSC_OUT.Signal=RCC_OSC_OUT

PinOutPanel.RotationAngle=0

ProjectManager.AskForMigrate=true

ProjectManager.BackupPrevious=false

ProjectManager.CompilerOptimize=6

ProjectManager.ComputerToolchain=false

ProjectManager.CoupleFile=false

ProjectManager.CustomerFirmwarePackage=

ProjectManager.DefaultFWLocation=true

ProjectManager.DeletePrevious=true

ProjectManager.DeviceId=STM32F446RETx

ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.25.2

ProjectManager.FreePins=false

ProjectManager.HalAssertFull=false

ProjectManager.HeapSize=0x200

ProjectManager.KeepUserCode=true

ProjectManager.LastFirmware=true

ProjectManager.LibraryCopy=1

ProjectManager.MainLocation=Core/Src

ProjectManager.NoMain=false

ProjectManager.PreviousToolchain=

ProjectManager.ProjectBuild=false

ProjectManager.ProjectFileName=NUCLEO_F446RE_MX_test.ioc

ProjectManager.ProjectName=NUCLEO_F446RE_MX_test

ProjectManager.StackSize=0x400

ProjectManager.TargetToolchain=STM32CubeIDE

ProjectManager.ToolChainLocation=

ProjectManager.UnderRoot=true

ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART2_UART_Init-USART2-false-HAL-true

RCC.48MHZClocksFreq_Value=84000000

RCC.AHBFreq_Value=84000000

RCC.APB1CLKDivider=RCC_HCLK_DIV2

RCC.APB1Freq_Value=42000000

RCC.APB1TimFreq_Value=84000000

RCC.APB2Freq_Value=84000000

RCC.APB2TimFreq_Value=84000000

RCC.CECFreq_Value=32786.88524590164

RCC.CortexFreq_Value=84000000

RCC.EthernetFreq_Value=84000000

RCC.FCLKCortexFreq_Value=84000000

RCC.FLatency-AdvancedSettings=FLASH_LATENCY_2

RCC.FMPI2C1Freq_Value=42000000

RCC.FamilyName=M

RCC.HCLKFreq_Value=84000000

RCC.HSE_VALUE=8000000

RCC.HSI_VALUE=16000000

RCC.I2SClocksFreq_Value=96000000

RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CECFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FLatency-AdvancedSettings,FMPI2C1Freq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLI2SPCLKFreq_Value,PLLI2SQCLKFreq_Value,PLLI2SRCLKFreq_Value,PLLN,PLLP,PLLQCLKFreq_Value,PLLRCLKFreq_Value,PLLSAIPCLKFreq_Value,PLLSAIQCLKFreq_Value,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SAIAFreq_Value,SAIBFreq_Value,SDIOFreq_Value,SPDIFRXFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,USBFreq_Value,VCOI2SInputFreq_Value,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOInputMFreq_Value,VCOOutputFreq_Value,VCOSAIInputFreq_Value,VCOSAIOutputFreq_Value,VcooutputI2S

RCC.LSI_VALUE=32000

RCC.MCO2PinFreq_Value=84000000

RCC.PLLCLKFreq_Value=84000000

RCC.PLLI2SPCLKFreq_Value=96000000

RCC.PLLI2SQCLKFreq_Value=96000000

RCC.PLLI2SRCLKFreq_Value=96000000

RCC.PLLN=336

RCC.PLLP=RCC_PLLP_DIV4

RCC.PLLQCLKFreq_Value=168000000

RCC.PLLRCLKFreq_Value=168000000

RCC.PLLSAIPCLKFreq_Value=96000000

RCC.PLLSAIQCLKFreq_Value=96000000

RCC.PWRFreq_Value=84000000

RCC.RTCFreq_Value=32000

RCC.RTCHSEDivFreq_Value=4000000

RCC.SAIAFreq_Value=96000000

RCC.SAIBFreq_Value=96000000

RCC.SDIOFreq_Value=168000000

RCC.SPDIFRXFreq_Value=168000000

RCC.SYSCLKFreq_VALUE=84000000

RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK

RCC.USBFreq_Value=168000000

RCC.VCOI2SInputFreq_Value=1000000

RCC.VCOI2SOutputFreq_Value=192000000

RCC.VCOInputFreq_Value=1000000

RCC.VCOInputMFreq_Value=1000000

RCC.VCOOutputFreq_Value=336000000

RCC.VCOSAIInputFreq_Value=1000000

RCC.VCOSAIOutputFreq_Value=192000000

RCC.VcooutputI2S=96000000

SH.GPXTI0.0=GPIO_EXTI0

SH.GPXTI0.ConfNb=1

SH.GPXTI13.0=GPIO_EXTI13

SH.GPXTI13.ConfNb=1

USART2.IPParameters=VirtualMode

USART2.VirtualMode=VM_ASYNC

VP_SYS_VS_Systick.Mode=SysTick

VP_SYS_VS_Systick.Signal=SYS_VS_Systick

board=NUCLEO-F446RE

boardIOC=true

isbadioc=false