Skip to content

ECAD Symbol Formatter/Pin Arranger with multiple input sources

Notifications You must be signed in to change notification settings

issus/CelestialPinArranger

Repository files navigation

Celestial Library Pin Arranger

The Celestial Library Pin Arranger is a tool for creating "best effort" rectangular schematic symbols from a variety of data sources, including Altium SchLib files, Ultra Librarian BXL files, and KiCad Lib files. The tool can create multi-part symbols for higher pin count components, such as microcontrollers, but has only been tested on this type of device. It can export Altium SchLib files, but there is scope for adding ECAD exporters for other applications in the future.

Symbol Arranger Jan 2021 ST Microelectronics STM32 Microcontroller generated from pin data ingested from STM32CubeMX data

Key Features

  • Ingests pin data from a variety of sources
  • Creates "best effort" rectangular schematic symbols
  • Can create multi-part symbols for higher pin count components
  • Exports Altium SchLib files

Limitations

  • Does not understand opamps or non-rectangular symbols (yet)
  • Struggles with application processors with 400+ pins, such as the i.MX7/i.MX8

Data Sources

The Celestial Library Pin Arranger can ingest pin data from the following sources:

  • Altium SchLib files
  • Ultra Librarian BXL files
  • KiCad Lib files
  • Eagle Lbr Files
  • STM32CubeMX XML files (C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu)
  • STM8CubeMX XML files (C:\Program Files\STMicroelectronics\STM8Cube\STM8CubeMX\db\mcu)
  • Silicon Labs SimplicityStudio files (C:\SiliconLabs\SimplicityStudio\v5\developer\sdks\gecko_sdk_suite\v3.2\platform\hwconf_data\family\device\device.device)
  • NXP MCUXpresso (download from https://mcuxpresso.nxp.com/en/select_config_tools_data - open signal_configuration.xml from device\ksdk2_0\package folder)
  • TI SysConfig (C:\ti\sysconfig_1.10.0\dist\deviceData) NOTE: There is no data on fixed function pins (e.g.: power supply).
  • Infineon/Cypress Pin and Code Wizard files (SPaCWiz\xml\mcu\series\folder\*.xml)
  • Infineon DAVE NOTE: Must be run through the included InfineonDaveTranslator project to flatten the pin information into a single file.
  • Microchip AVR Tools Device File (atdf) from MPLAB (C:\Program Files\Microchip\MPLABX\version\packs\Microchip\mcu\dataversion\atdf\model.atdf)
  • IBIS Models
  • TSV/CSV files with specific column ordering (not recommended)

Usage

To use the Celestial Library Pin Arranger, open it in Visual Studio (the free Community version is fine) or compile it by command line. The tool is cross-platform, but has only been tested on Windows.

Note

When importing data from ECAD libraries, the Celestial Library Pin Arranger only uses the pin designator/name and does not take into account any existing pin arrangement or how multi-part symbols are divided. This is intentional.

About

ECAD Symbol Formatter/Pin Arranger with multiple input sources

Resources

Stars

Watchers

Forks

Sponsor this project

 

Languages