Skip to main content
Christian Pommer
Associate II
July 20, 2022
Question

STM32CubeMx KiCad export not working

  • July 20, 2022
  • 5 replies
  • 2255 views

I am using STM32CUBEMX 6.6.1. When trying to export a Kicad model, the model turns out empty without any Pins.

5 replies

Peter BENSCH
Technical Moderator
July 21, 2022

Welcome, @Christian Pommer​, to the community!

How did you export a model from a project created using STM32CubeMX to import it into KiCAD?

Regards

/Peter

Christian Pommer
Associate II
July 22, 2022

Hello Peter,

I used the TOOL -> CAD Tab.

Choosing Kicad as CAD Product. Export Pins including labels. Then download CAD Model.

The model is generated but includes no connectable pins as shown in the following graphic.

0693W00000QLx5aQAD.jpgI also checked the generated files. It only contains the information for the shape.

Best regards,

Christian Pommer

Peter BENSCH
Technical Moderator
July 22, 2022

You would have to explain in more detail how you exported this, CAD Tab is completely unknown to me at least.

Christian Pommer
Associate II
July 23, 2022

The CAD Subtab was added with STM32CUBEMX 6.6 and can be found right below the PCC power tools in the tools tab.

Steps to reproduce:

  1. Select any MCU
  2. Configure Pins in any way shape or form
  3. Select the Tools Tab next to the Project manager Tab.
  4. Select The CAD Sub-Tab right below the PCC subtab.
  5. Select KiCad from the DropDown Menu
  6. Klick the Checkbox below the Drop Down menu. Kicad should now be displayed in the table in the top center.
  7. Agree to Terms and Conditions
  8. Press the CAD Download Button
  9. Save file wherever necessary

I am sorry for not providing the necessary steps in the first place.

Piranha
Principal III
July 24, 2022

Indeed... Well, the point 4 is a good example how things can be hidden in plain sight!

Associate II
July 17, 2024

Bug again occurs, please let me know when it is fixed.