{
  "family": "Core",
  "name": "H.1",
  "rev": "a",
  "tile_id": 11,
  "json_version": "0.39",
  "updated_at": "2026-05-01T12:36:00.927Z",
  "headline": "250MHz Cortex-M33",
  "description": "The Core.H.1 is built around the high-performance STM32H523 250-MHz 32-bit Cortex-M33 processor into a single T44 tile, providing a user-configurable combination of multiple communication interfaces (USB 2.0 full-speed, I2C/I3C, SPI, FDCAN, and UART), along with two 12-bit 5-Msps ADC inputs, one DAC output, and multiple timers.",
  "application_notes": [
    {
      "sort": 0,
      "details": "To utilize the USB 2.0 Full-Speed (12Mbit/s) port, the supply voltage needs to be at least 3.0V.  The Core.H.1 can serve as either a peripheral or a host.",
      "heading": "USB 2.0 Full-Speed Port",
      "image_url": ""
    },
    {
      "sort": 1,
      "details": "Similar to the Core.U tiles, when the chip is blank, it will default into the bootloader when connected over USB. Once there is code in the program space, you need to hold the BOOT0 pin low during reset (either power-on or via the NRST pin) to enter the bootloader.",
      "heading": "USB Bootloading",
      "image_url": ""
    },
    {
      "sort": 2,
      "details": "The single-wire debug port is available on pads 13 (SWCLK) and 14 (SWDIO). While not absolutely required, it is often helpful to have the ability to hold pad 12 (NRST) low when connecting to the debugger. You can likely also use BOOT0 to help the debugger connect.",
      "heading": "Single-Wire Debug & Bootloading",
      "image_url": ""
    },
    {
      "sort": 3,
      "details": "The onboard LED is connected to PA15 in an active-high configuration.",
      "heading": "LED",
      "image_url": ""
    }
  ],
  "package": {
    "pads": 14,
    "type": "T44",
    "size_x": 4000,
    "size_y": 4000,
    "size_z": 0
  },
  "power": [
    {
      "max": 3.6,
      "min": 1.71,
      "type": "system",
      "notes": "note that a voltage of at least 3.0V is required for USB communications",
      "gnd_pad": [
        "1"
      ],
      "function": "",
      "direction": "input",
      "is_required": true,
      "max_current": "",
      "positive_pad": [
        "10"
      ]
    }
  ],
  "components": [
    {
      "url": "https://www.st.com/en/microcontrollers-microprocessors/stm32h523he.html",
      "part": "STM32H523HE",
      "datasheet": "https://mosaic-component-datasheets.s3.eu-north-1.amazonaws.com/11/ST_Microelectronics-STM32H523HE.pdf",
      "manufacturer": "ST Microelectronics"
    }
  ],
  "pads": [
    {
      "pad": "1",
      "geometry": {
        "size_x": 1000,
        "size_y": 400,
        "center_x": -1500,
        "center_y": 1600
      },
      "functions": [
        {
          "note": "",
          "type": "power",
          "function": "GND",
          "direction": "input"
        }
      ]
    },
    {
      "pad": "2",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": -1600,
        "center_y": 800
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A8",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 10,
          "note": "",
          "type": "digital",
          "function": "USB.SOF",
          "direction": "",
          "interface": "USB"
        },
        {
          "af": 4,
          "note": "",
          "type": "digital",
          "function": "I2C3.CLK",
          "direction": "",
          "interface": "I2C3"
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "I3C2.CLK",
          "direction": "",
          "interface": "I3C2"
        },
        {
          "af": 5,
          "note": "",
          "type": "digital",
          "function": "SPI1.RDY",
          "direction": "",
          "interface": "SPI1"
        },
        {
          "af": 1,
          "note": "",
          "type": "timer",
          "function": "TIM1.1",
          "direction": ""
        },
        {
          "af": 3,
          "note": "",
          "type": "timer",
          "function": "TIM8.BKIN2",
          "direction": ""
        }
      ]
    },
    {
      "pad": "3",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": -1600,
        "center_y": 0
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "B4",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "I2C3.DAT",
          "direction": "",
          "interface": "I2C3"
        },
        {
          "af": 10,
          "note": "",
          "type": "digital",
          "function": "I3C2.DAT",
          "direction": "",
          "interface": "I3C2"
        },
        {
          "af": 5,
          "note": "",
          "type": "digital",
          "function": "SPI1.MISO",
          "direction": "",
          "interface": "SPI1"
        },
        {
          "af": 2,
          "note": "",
          "type": "timer",
          "function": "TIM3.1",
          "direction": ""
        },
        {
          "af": 4,
          "note": "",
          "type": "timer",
          "function": "LPTIM1.2",
          "direction": ""
        }
      ]
    },
    {
      "pad": "4",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": -1600,
        "center_y": -800
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "B8",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 4,
          "note": "",
          "type": "digital",
          "function": "I2C1.CLK",
          "direction": "",
          "interface": "I2C1"
        },
        {
          "af": 3,
          "note": "",
          "type": "digital",
          "function": "I3C1.CLK",
          "direction": "",
          "interface": "I3C1"
        },
        {
          "af": 2,
          "note": "",
          "type": "timer",
          "function": "TIM4.3",
          "direction": ""
        },
        {
          "af": 8,
          "note": "",
          "type": "digital",
          "function": "UART4.RX",
          "direction": "",
          "interface": "UART4"
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "FDCAN1.RX",
          "direction": "",
          "interface": "FDCAN1"
        }
      ]
    },
    {
      "pad": "5",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": -1600,
        "center_y": -1600
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "B7",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 4,
          "note": "",
          "type": "digital",
          "function": "I2C1.DAT",
          "direction": "",
          "interface": "I2C1"
        },
        {
          "af": 3,
          "note": "",
          "type": "digital",
          "function": "I3C1.DAT",
          "direction": "",
          "interface": "I3C1"
        },
        {
          "af": 2,
          "note": "",
          "type": "timer",
          "function": "TIM4.2",
          "direction": ""
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "FDCAN1.TX",
          "direction": "",
          "interface": "FDCAN1"
        }
      ]
    },
    {
      "pad": "6",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": 1600,
        "center_y": -1600
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A12",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 10,
          "note": "",
          "type": "digital",
          "function": "USB.DP",
          "direction": "",
          "interface": "USB"
        },
        {
          "af": 1,
          "note": "",
          "type": "timer",
          "function": "TIM1.ETR",
          "direction": ""
        },
        {
          "af": 6,
          "note": "",
          "type": "digital",
          "function": "UART4.TX",
          "direction": "",
          "interface": "UART4"
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "FDCAN1.TX",
          "direction": "",
          "interface": "FDCAN1"
        }
      ]
    },
    {
      "pad": "7",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": 1600,
        "center_y": -800
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A11",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 10,
          "note": "",
          "type": "digital",
          "function": "USB.DM",
          "direction": "",
          "interface": "USB"
        },
        {
          "af": 1,
          "note": "",
          "type": "timer",
          "function": "TIM1.4",
          "direction": ""
        },
        {
          "af": 6,
          "note": "",
          "type": "digital",
          "function": "UART4.RX",
          "direction": "",
          "interface": "UART4"
        },
        {
          "af": 9,
          "note": "",
          "type": "digital",
          "function": "FDCAN1.RX",
          "direction": "",
          "interface": "FDCAN1"
        }
      ]
    },
    {
      "pad": "8",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": 1600,
        "center_y": 0
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A7",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 5,
          "note": "",
          "type": "digital",
          "function": "SPI1.MOSI",
          "direction": "",
          "interface": "SPI1"
        },
        {
          "note": "",
          "type": "analog",
          "function": "ADC7+",
          "direction": ""
        },
        {
          "note": "",
          "type": "analog",
          "function": "ADC3-",
          "direction": ""
        },
        {
          "af": 1,
          "note": "",
          "type": "timer",
          "function": "TIM1.1N",
          "direction": ""
        },
        {
          "af": 2,
          "note": "",
          "type": "timer",
          "function": "TIM3.2",
          "direction": ""
        },
        {
          "af": 3,
          "note": "",
          "type": "timer",
          "function": "TIM8.1N",
          "direction": ""
        }
      ]
    },
    {
      "pad": "9",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": 1600,
        "center_y": 800
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A5",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 5,
          "note": "",
          "type": "digital",
          "function": "SPI1.CLK",
          "direction": "",
          "interface": "SPI1"
        },
        {
          "note": "",
          "type": "analog",
          "function": "ADC19+",
          "direction": ""
        },
        {
          "note": "",
          "type": "analog",
          "function": "ADC18-",
          "direction": ""
        },
        {
          "af": 1,
          "note": "",
          "type": "timer",
          "function": "TIM2.1",
          "direction": ""
        },
        {
          "af": 3,
          "note": "",
          "type": "timer",
          "function": "TIM8.1N",
          "direction": ""
        },
        {
          "af": 14,
          "note": "",
          "type": "timer",
          "function": "TIM2.ETR",
          "direction": ""
        },
        {
          "note": "",
          "type": "other",
          "function": "DAC1.OUT",
          "direction": ""
        }
      ]
    },
    {
      "pad": "10",
      "geometry": {
        "size_x": 800,
        "size_y": 400,
        "center_x": 1600,
        "center_y": 1600
      },
      "functions": [
        {
          "note": "",
          "type": "power",
          "function": "V+",
          "direction": "input"
        }
      ]
    },
    {
      "pad": "11",
      "geometry": {
        "size_x": 400,
        "size_y": 800,
        "center_x": 400,
        "center_y": 1600
      },
      "functions": [
        {
          "note": "",
          "type": "system",
          "function": "BOOT0",
          "direction": ""
        }
      ]
    },
    {
      "pad": "12",
      "geometry": {
        "size_x": 400,
        "size_y": 800,
        "center_x": -400,
        "center_y": 1600
      },
      "functions": [
        {
          "note": "",
          "type": "system",
          "function": "NRST",
          "direction": ""
        }
      ]
    },
    {
      "pad": "13",
      "geometry": {
        "size_x": 400,
        "size_y": 800,
        "center_x": -400,
        "center_y": -1600
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A14",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 0,
          "note": "",
          "type": "system",
          "function": "SWCLK",
          "direction": ""
        }
      ]
    },
    {
      "pad": "14",
      "geometry": {
        "size_x": 400,
        "size_y": 800,
        "center_x": 400,
        "center_y": -1600
      },
      "functions": [
        {
          "note": "",
          "type": "digital",
          "function": "A13",
          "direction": "bidirectional",
          "is_default": true
        },
        {
          "af": 0,
          "note": "",
          "type": "system",
          "function": "SWDIO",
          "direction": ""
        }
      ]
    }
  ],
  "interfaces": [
    {
      "name": "I2C1",
      "type": "I2C",
      "parameters": {
        "modes": [
          "master, slave"
        ],
        "addresses": [
          {
            "address": "programmable"
          }
        ]
      },
      "pad_assignments": [
        {
          "pad": "4",
          "role": "bus",
          "function": "I2C1.CLK",
          "is_required": true
        },
        {
          "pad": "5",
          "role": "bus",
          "function": "I2C1.DAT",
          "is_required": true
        }
      ],
      "mutually_exclusive": [
        "I3C1"
      ]
    },
    {
      "name": "I2C3",
      "type": "I2C",
      "parameters": {
        "modes": [
          "master, slave"
        ],
        "addresses": [
          {
            "address": "programmable"
          }
        ]
      },
      "pad_assignments": [
        {
          "pad": "2",
          "role": "bus",
          "function": "I2C3.CLK",
          "is_required": true
        },
        {
          "pad": "3",
          "role": "bus",
          "function": "I2C3.DAT",
          "is_required": true
        }
      ],
      "mutually_exclusive": [
        "I3C2",
        "SPI1"
      ]
    },
    {
      "name": "SPI1",
      "type": "SPI",
      "parameters": {
        "modes": [
          "master"
        ],
        "max_clock_speed": "45MHz"
      },
      "pad_assignments": [
        {
          "pad": "2",
          "role": "bus",
          "function": "SPI1.RDY"
        },
        {
          "pad": "3",
          "role": "bus",
          "function": "SPI1.MISO",
          "is_required": true
        },
        {
          "pad": "8",
          "role": "bus",
          "function": "SPI1.MOSI",
          "is_required": true
        },
        {
          "pad": "9",
          "role": "bus",
          "function": "SPI1.CLK",
          "is_required": true
        }
      ],
      "mutually_exclusive": [
        "I2C3",
        "I3C2"
      ]
    },
    {
      "name": "UART4",
      "type": "UART",
      "parameters": {
        "modes": []
      },
      "pad_assignments": [
        {
          "pad": "4",
          "role": "bus",
          "function": "UART4.RX"
        },
        {
          "pad": "6",
          "role": "bus",
          "function": "UART4.TX"
        },
        {
          "pad": "7",
          "role": "bus",
          "function": "UART4.RX"
        }
      ],
      "mutually_exclusive": [
        "USB"
      ]
    },
    {
      "name": "FDCAN1",
      "type": "FD CAN",
      "parameters": {
        "modes": []
      },
      "pad_assignments": [
        {
          "pad": "4",
          "role": "bus",
          "function": "FDCAN1.RX"
        },
        {
          "pad": "5",
          "role": "bus",
          "function": "FDCAN1.TX"
        },
        {
          "pad": "6",
          "role": "bus",
          "function": "FDCAN1.TX"
        },
        {
          "pad": "7",
          "role": "bus",
          "function": "FDCAN1.RX"
        }
      ]
    },
    {
      "name": "USB",
      "type": "USB",
      "parameters": {
        "modes": []
      },
      "pad_assignments": [
        {
          "pad": "6",
          "role": "bus",
          "function": "USB.DP",
          "is_required": true
        },
        {
          "pad": "7",
          "role": "bus",
          "function": "USB.DM",
          "is_required": true
        },
        {
          "pad": "2",
          "role": "bus",
          "function": "USB.SOF"
        }
      ],
      "mutually_exclusive": [
        "UART4"
      ]
    },
    {
      "name": "I3C2",
      "type": "I3C",
      "parameters": {
        "modes": [
          "master, slave"
        ]
      },
      "pad_assignments": [
        {
          "pad": "2",
          "role": "bus",
          "function": "I3C2.CLK",
          "is_required": true
        },
        {
          "pad": "3",
          "role": "bus",
          "function": "I3C2.DAT",
          "is_required": true
        }
      ],
      "mutually_exclusive": [
        "I2C3",
        "SPI1"
      ]
    },
    {
      "name": "I3C1",
      "type": "I3C",
      "parameters": {
        "modes": [
          "master, slave"
        ],
        "address_bits": []
      },
      "pad_assignments": [
        {
          "pad": "4",
          "role": "bus",
          "function": "I3C1.CLK",
          "is_required": true
        },
        {
          "pad": "5",
          "role": "bus",
          "function": "I3C1.DAT",
          "is_required": true
        }
      ],
      "mutually_exclusive": [
        "I2C1"
      ]
    }
  ],
  "config": {
    "gpio": {
      "kind": "padconfig",
      "group": "Pinmux",
      "label": "GPIO pad configuration",
      "perPad": {
        "fields": {
          "exti": {
            "kind": "select",
            "when": {
              "direction": "in"
            },
            "default": "none",
            "options": [
              {
                "value": "none"
              },
              {
                "value": "rising"
              },
              {
                "value": "falling"
              },
              {
                "value": "both"
              }
            ]
          },
          "pull": {
            "kind": "select",
            "default": "none",
            "options": [
              {
                "value": "none"
              },
              {
                "value": "up"
              },
              {
                "value": "down"
              }
            ]
          },
          "speed": {
            "kind": "select",
            "default": "medium",
            "options": [
              {
                "value": "low"
              },
              {
                "value": "medium"
              },
              {
                "value": "high"
              },
              {
                "value": "very-high"
              }
            ]
          },
          "direction": {
            "kind": "select",
            "default": "in",
            "options": [
              {
                "value": "in"
              },
              {
                "value": "out"
              }
            ]
          },
          "output_default": {
            "kind": "select",
            "when": {
              "direction": "out"
            },
            "default": "low",
            "options": [
              {
                "value": "low"
              },
              {
                "value": "high"
              }
            ]
          }
        }
      },
      "appliesTo": {
        "selector": "pads.<padNum>",
        "whereValueDerived": {
          "role": "gpio"
        }
      }
    },
    "pads": {
      "kind": "padmux",
      "group": "Pinmux",
      "label": "Pad function assignments",
      "perPad": {
        "2": {
          "label": "Pad 2",
          "default": "A8",
          "options": [
            {
              "value": "A8",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 10,
              "value": "USB.SOF",
              "interface": "USB"
            },
            {
              "af": 4,
              "value": "I2C3.CLK",
              "interface": "I2C3"
            },
            {
              "af": 9,
              "value": "I3C2.CLK",
              "interface": "I3C2"
            },
            {
              "af": 5,
              "value": "SPI1.RDY",
              "interface": "SPI1"
            },
            {
              "af": 1,
              "value": "TIM1.1",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 3,
              "value": "TIM8.BKIN2",
              "derived": {
                "role": "timer-input"
              }
            }
          ]
        },
        "3": {
          "label": "Pad 3",
          "default": "B4",
          "options": [
            {
              "value": "B4",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 9,
              "value": "I2C3.DAT",
              "interface": "I2C3"
            },
            {
              "af": 10,
              "value": "I3C2.DAT",
              "interface": "I3C2"
            },
            {
              "af": 5,
              "value": "SPI1.MISO",
              "interface": "SPI1"
            },
            {
              "af": 2,
              "value": "TIM3.1",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 4,
              "value": "LPTIM1.2",
              "derived": {
                "role": "timer-output"
              }
            }
          ]
        },
        "4": {
          "label": "Pad 4",
          "default": "B8",
          "options": [
            {
              "value": "B8",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 4,
              "value": "I2C1.CLK",
              "interface": "I2C1"
            },
            {
              "af": 3,
              "value": "I3C1.CLK",
              "interface": "I3C1"
            },
            {
              "af": 2,
              "value": "TIM4.3",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 8,
              "value": "UART4.RX",
              "interface": "UART4"
            },
            {
              "af": 9,
              "value": "FDCAN1.RX",
              "interface": "FDCAN1"
            }
          ]
        },
        "5": {
          "label": "Pad 5",
          "default": "B7",
          "options": [
            {
              "value": "B7",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 4,
              "value": "I2C1.DAT",
              "interface": "I2C1"
            },
            {
              "af": 3,
              "value": "I3C1.DAT",
              "interface": "I3C1"
            },
            {
              "af": 2,
              "value": "TIM4.2",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 9,
              "value": "FDCAN1.TX",
              "interface": "FDCAN1"
            }
          ]
        },
        "6": {
          "label": "Pad 6",
          "default": "A12",
          "options": [
            {
              "value": "A12",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 10,
              "value": "USB.DP",
              "interface": "USB"
            },
            {
              "af": 1,
              "value": "TIM1.ETR",
              "derived": {
                "role": "timer-input"
              }
            },
            {
              "af": 6,
              "value": "UART4.TX",
              "interface": "UART4"
            },
            {
              "af": 9,
              "value": "FDCAN1.TX",
              "interface": "FDCAN1"
            }
          ]
        },
        "7": {
          "label": "Pad 7",
          "default": "A11",
          "options": [
            {
              "value": "A11",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 10,
              "value": "USB.DM",
              "interface": "USB"
            },
            {
              "af": 1,
              "value": "TIM1.4",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 6,
              "value": "UART4.RX",
              "interface": "UART4"
            },
            {
              "af": 9,
              "value": "FDCAN1.RX",
              "interface": "FDCAN1"
            }
          ]
        },
        "8": {
          "label": "Pad 8",
          "default": "A7",
          "options": [
            {
              "value": "A7",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 5,
              "value": "SPI1.MOSI",
              "interface": "SPI1"
            },
            {
              "value": "ADC7+",
              "derived": {
                "role": "analog"
              }
            },
            {
              "value": "ADC3-",
              "derived": {
                "role": "analog"
              }
            },
            {
              "af": 1,
              "value": "TIM1.1N",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 2,
              "value": "TIM3.2",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 3,
              "value": "TIM8.1N",
              "derived": {
                "role": "timer-output"
              }
            }
          ]
        },
        "9": {
          "label": "Pad 9",
          "default": "A5",
          "options": [
            {
              "value": "A5",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 5,
              "value": "SPI1.CLK",
              "interface": "SPI1"
            },
            {
              "value": "ADC19+",
              "derived": {
                "role": "analog"
              }
            },
            {
              "value": "ADC18-",
              "derived": {
                "role": "analog"
              }
            },
            {
              "af": 1,
              "value": "TIM2.1",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 3,
              "value": "TIM8.1N",
              "derived": {
                "role": "timer-output"
              }
            },
            {
              "af": 14,
              "value": "TIM2.ETR",
              "derived": {
                "role": "timer-input"
              }
            },
            {
              "value": "DAC1.OUT"
            }
          ]
        },
        "13": {
          "label": "Pad 13",
          "default": "A14",
          "options": [
            {
              "value": "A14",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 0,
              "value": "SWCLK",
              "derived": {
                "role": "system"
              }
            }
          ]
        },
        "14": {
          "label": "Pad 14",
          "default": "A13",
          "options": [
            {
              "value": "A13",
              "derived": {
                "role": "gpio"
              }
            },
            {
              "af": 0,
              "value": "SWDIO",
              "derived": {
                "role": "system"
              }
            }
          ]
        }
      },
      "derives": "catalog.pads"
    },
    "clock": {
      "kind": "select",
      "group": "Clock",
      "label": "Clock configuration",
      "default": "medium",
      "options": [
        {
          "label": "Low (4MHz, CSI)",
          "value": "low",
          "firmware_contract": [
            {
              "type": "clock",
              "source": "csi",
              "sysclk_mhz": 4
            }
          ]
        },
        {
          "label": "Medium (64MHz, HSI)",
          "value": "medium",
          "firmware_contract": [
            {
              "type": "clock",
              "source": "hsi",
              "sysclk_mhz": 64
            }
          ]
        },
        {
          "label": "High (128MHz, HSI + PLL)",
          "value": "high",
          "firmware_contract": [
            {
              "pll": true,
              "note": "64÷4×16÷2, VCO=256",
              "type": "clock",
              "source": "hsi",
              "sysclk_mhz": 128
            }
          ]
        },
        {
          "label": "Max (248MHz, HSI + PLL)",
          "value": "max",
          "firmware_contract": [
            {
              "pll": true,
              "note": "64÷8×62÷2, VCO=496",
              "type": "clock",
              "source": "hsi",
              "sysclk_mhz": 248
            }
          ]
        }
      ]
    },
    "bootloader": {
      "kind": "multiselect",
      "group": "Bootloader",
      "label": "Programming methods",
      "default": [],
      "options": [
        {
          "value": "USB_DFU"
        },
        {
          "value": "USART1"
        },
        {
          "value": "USART2"
        },
        {
          "value": "USART3"
        },
        {
          "value": "I2C1"
        },
        {
          "value": "I2C2"
        },
        {
          "value": "SPI1"
        },
        {
          "value": "SPI2"
        },
        {
          "value": "FDCAN1"
        }
      ]
    },
    "interfaces": {
      "kind": "instances",
      "group": "Interfaces",
      "label": "Interfaces",
      "derives": "catalog.interfaces",
      "defaults": {
        "role": {
          "kind": "select",
          "when": {
            "enabled": true
          },
          "default": "master",
          "options": [
            {
              "value": "master"
            },
            {
              "value": "slave"
            }
          ]
        },
        "speed": {
          "max": 1000000,
          "min": 100000,
          "kind": "number",
          "unit": "Hz",
          "when": {
            "enabled": true
          },
          "default": 400000
        },
        "enabled": {
          "kind": "boolean",
          "default": false
        }
      },
      "perInstance": {
        "USB": {
          "fields": {
            "role": {
              "kind": "select",
              "when": {
                "enabled": true
              },
              "default": "device",
              "options": [
                {
                  "value": "host"
                },
                {
                  "value": "device"
                }
              ]
            },
            "deviceClass": {
              "kind": "select",
              "when": {
                "enabled": true
              },
              "default": "cdc",
              "options": [
                {
                  "value": "none"
                },
                {
                  "value": "cdc"
                },
                {
                  "value": "hid"
                },
                {
                  "value": "dfu"
                },
                {
                  "value": "msc"
                }
              ]
            }
          },
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "usb",
                "tag": "USB.bus",
                "signalsFrom": "interfaces.USB.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.6": "USB.DP",
              "pads.7": "USB.DM"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.USB"
              }
            ]
          }
        },
        "I2C1": {
          "fields": {
            "address": {
              "max": 119,
              "min": 8,
              "kind": "number",
              "unit": "7-bit",
              "when": {
                "role": "slave"
              },
              "default": 66
            }
          },
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "i2c",
                "tag": "I2C1.bus",
                "signalsFrom": "interfaces.I2C1.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.4": "I2C1.CLK",
              "pads.5": "I2C1.DAT"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.I2C1"
              }
            ]
          }
        },
        "I2C3": {
          "fields": {
            "address": {
              "max": 119,
              "min": 8,
              "kind": "number",
              "unit": "7-bit",
              "when": {
                "role": "slave"
              },
              "default": 66
            }
          },
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "i2c",
                "tag": "I2C3.bus",
                "signalsFrom": "interfaces.I2C3.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.2": "I2C3.CLK",
              "pads.3": "I2C3.DAT"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.I2C3"
              }
            ]
          }
        },
        "I3C1": {
          "fields": {
            "role": {
              "kind": "select",
              "when": {
                "enabled": true
              },
              "default": "controller",
              "options": [
                {
                  "value": "controller"
                },
                {
                  "value": "target"
                }
              ]
            },
            "address": {
              "max": 119,
              "min": 8,
              "kind": "number",
              "unit": "7-bit",
              "when": {
                "role": "target"
              },
              "default": 66
            }
          },
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "i3c",
                "tag": "I3C1.bus",
                "signalsFrom": "interfaces.I3C1.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.4": "I3C1.CLK",
              "pads.5": "I3C1.DAT"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.I3C1"
              }
            ]
          }
        },
        "I3C2": {
          "fields": {
            "role": {
              "kind": "select",
              "when": {
                "enabled": true
              },
              "default": "controller",
              "options": [
                {
                  "value": "controller"
                },
                {
                  "value": "target"
                }
              ]
            },
            "address": {
              "max": 119,
              "min": 8,
              "kind": "number",
              "unit": "7-bit",
              "when": {
                "role": "target"
              },
              "default": 66
            }
          },
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "i3c",
                "tag": "I3C2.bus",
                "signalsFrom": "interfaces.I3C2.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.2": "I3C2.CLK",
              "pads.3": "I3C2.DAT"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.I3C2"
              }
            ]
          }
        },
        "SPI1": {
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "spi",
                "tag": "SPI1.bus",
                "signalsFrom": "interfaces.SPI1.pad_assignments"
              }
            ]
          },
          "requires": {
            "predicates": {
              "pads.3": "SPI1.MISO",
              "pads.8": "SPI1.MOSI",
              "pads.9": "SPI1.CLK"
            }
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.SPI1"
              }
            ]
          }
        },
        "UART4": {
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "uart",
                "tag": "UART4.bus",
                "signalsFrom": "interfaces.UART4.pad_assignments"
              }
            ]
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.UART4"
              }
            ]
          }
        },
        "FDCAN1": {
          "netlist": {
            "when": {
              "enabled": true
            },
            "buses": [
              {
                "bus": "can",
                "tag": "FDCAN1.bus",
                "signalsFrom": "interfaces.FDCAN1.pad_assignments"
              }
            ]
          },
          "firmware_contract": {
            "entries": [
              {
                "via": "register",
                "type": "register",
                "value": 1,
                "register": "RCC.CLK_EN.FDCAN1"
              }
            ]
          }
        }
      }
    }
  },
  "features": {
    "led": {
      "kind": "led",
      "color": "red",
      "label": "Status LED",
      "control": {
        "pin": "PA15",
        "via": "gpio",
        "polarity": "active-high"
      },
      "center_x": -1650,
      "center_y": -600,
      "rotation": 90
    },
    "clock": {
      "kind": "clock",
      "sources": [
        {
          "type": "hsi",
          "description": "64MHz internal RC oscillator",
          "frequency_mhz": 64
        },
        {
          "type": "csi",
          "description": "4MHz low-power internal RC",
          "frequency_mhz": 4
        }
      ],
      "boot_source": "hsi"
    }
  }
}