cancel
Showing results for 
Search instead for 
Did you mean: 

F407IGT6 Failure to use the internal clock correctly

iskan
Associate III

Hello, I am currently creating an inverter using STMC Board Designer, the MCU is STM32F407IGT6,the clock source is internal clock, here are some screenshots of my configuration, it was working fine until the inverter was generated successfully, and when I have everything ready to create the program, I get an error as shown in the picture below.I have version 6.4.0.I'm desperate to know why I'm getting this error, thanks.

Best regards.

iskan_0-1749108198452.pngiskan_1-1749108224752.png

{
  "type": "inverter",
  "contentVersion": "1.0",
  "descVersion": 5,
  "name": "F407_72V300A_New",
  "PN": "F407_72V300A_New",
  "algorithmCompatibility": [
    "FOC"
  ],
  "mcu": "STM32F407IGTx",
  "clockFrequency": 168,
  "motorDrives": [
    {
      "name": "M1",
      "minRatedVoltage": 10,
      "maxRatedVoltage": 100,
      "maxRatedCurrent": 300,
      "features": [
        {
          "type": "CurrentSensing",
          "name": "CurrentSensing",
          "tRise": 1,
          "hwVariants": [
            {
              "signals": {
                "CURRENT_ICS_U": [
                  {
                    "name": "PC2",
                    "help": {},
                    "cost": 0
                  }
                ],
                "CURRENT_ICS_V": [
                  {
                    "name": "PC3",
                    "help": {},
                    "cost": 0
                  }
                ]
              },
              "type": "TwoICSCurrents",
              "cost": 0,
              "icsGain": 0.0044
            }
          ]
        },
        {
          "type": "PhaseVoltageGeneration",
          "name": "PhaseVoltageGeneration",
          "hwVariants": [
            {
              "signals": {
                "PWM_CHU_H": [
                  {
                    "name": "PA8",
                    "help": {},
                    "cost": 0
                  }
                ],
                "PWM_CHV_H": [
                  {
                    "name": "PA9",
                    "help": {},
                    "cost": 0
                  }
                ],
                "PWM_CHW_H": [
                  {
                    "name": "PA10",
                    "help": {},
                    "cost": 0
                  }
                ],
                "PWM_CHU_L": [
                  {
                    "name": "PA7",
                    "help": {},
                    "cost": 0
                  }
                ],
                "PWM_CHV_L": [
                  {
                    "name": "PB0",
                    "help": {},
                    "cost": 0
                  }
                ],
                "PWM_CHW_L": [
                  {
                    "name": "PB1",
                    "help": {},
                    "cost": 0
                  }
                ]
              },
              "type": "DrivingHighAndLowSides",
              "cost": 0,
              "deadTime": 3000,
              "highSideSwitchesDrivingPolarity": "Active high",
              "lowSideSwitchesDrivingPolarity": "Active high"
            }
          ],
          "driverPN": "L6230",
          "driverName": "L6230",
          "tNoise": 1000,
          "maxSwitchingFreq": 30,
          "minDeadTime": 100
        }
      ]
    }
  ],
  "clockSource": "internal_osc",
  "features": []
}

 

1 REPLY 1
GMA
ST Employee

Hello @iskan,

Thank you for the report. The issue comes from that Clock Source=Internal RC Oscillator is not supported by the Workbench for STM32F4 series (to be solved on next release). 
Selecting External Crystal clock as Clock Source should solve the issue.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA