Command Palette

Search for a command to run...

Назад к скиллам
скилл № 45374

MM IoT SDK Hardware Bringup

mm-iot-sdk porting guide + hardware debugging: project structure, PA→scan→iperf tiers, SPI/SDIO HAL, and real-silicon bug patterns.

БесплатноБез исполняемых скриптов
morsemicroот morsemicro379 установок в других каталогах

Установить MM IoT SDK Hardware Bringup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

mm-iot-sdk hardware bring-up

This skill covers two distinct but overlapping needs:

  1. Starting a new port — how to structure the project, which components to implement and in which order, what hardware you need, and how to use the tiered example applications (porting_assistant → scan → iperf) to prove correctness at each stage.
  2. Debugging a failing port on real hardware — the specific recurring bug species that only manifest on silicon, and the GDB-driven methodology for finding them quickly.

Read the whole skill before diving in. The porting structure sections tell you what to build; the debugging sections tell you why it doesn't work yet and how to find out for certain.


0. Before you start: do you actually need a custom port?

Morse Micro ships ready-made platform ports for Zephyr, ESP32, and CMSIS. If your host platform is one of these (or can target one of these ecosystems), use the existing port rather than writing a new one from scratch — see the MCU Platform Ports section of the mm-iot-sdk documentation.

For bare-metal or FreeRTOS-on-STM32 targets, Morse Micro already ships full reference shims for four STM32 families. Before writing new shim code, check whether your MCU is close enough to reuse one directly:

MCU family mm-iot-sdk platform name
STM32H753xx mm-ekh08-h753
STM32U575xx mm-ekh08-u575
STM32U585xx mm-mm6108-ekh05 / mm-mm8108-ekh05
STM32WB55xx mm-ekh08-wb55

If none of the above fit, proceed with a custom port. The rest of this skill is that process.


1. Hardware requirements

Verify these before writing a single line of port code.

Transport bus

Choose one of SPI or SDIO — the SDK does not support sharing the bus with other peripherals and you implement only one HAL.

SDIO is generally more straightforward to bring up than SPI (Morse Micro's own finding): the SDIO protocol is more complex, but SPI host controller behavior varies widely across MCU vendors, making SPI shims harder to get right first time.

GPIO pins

Pin Direction Edge / Level Notes
BUSY Transceiver → Host Rising edge Prevents host from sleeping. Configure as input with rising-edge interrupt.
WAKE Host → Transceiver Output Prevents transceiver sleeping. Hold HIGH permanently until power-optimisation phase.
RESET_N Host → Transceiver Active LOW LOW resets transceiver (cold boot).
SPI_IRQ Transceiver → Host Falling edge SPI only. Data-ready signal. Configure as input with falling-edge interrupt.
CSS Host → Transceiver Output SPI only. Software chip-select for clock training sequence.

Critical: Even when WAKE is held permanently HIGH, you must call mmwlan_set_sleep_mode(MMWLAN_SLEEP_DISABLE) after booting the transceiver. Omitting this call will cause the driver to fail to boot, even though the WAKE line is correct.

Memory minimums

Resource Minimum Notes
Flash 2 MB Enough for a debug build with firmware + BCF embedded as C arrays.
SRAM 256 KB For morselib runtime + FreeRTOS + LwIP buffers + mmpktmem packet memory.

These are starting-point figures for bring-up. Final product sizing depends on your application; see Appendix A.5 of APPNOTE-45 for detailed flash and RAM breakdowns.

Recommended peripherals

  • PKA (public key accelerator): accelerates ECC for WPA3/SAE association and reduces RAM usage during crypto operations.
  • Hardware RNG: required by mbedTLS.

2. Recommended project structure

Do not place your project inside the mm-iot-sdk directory — it makes version upgrades and SDK patching fragile and blurs the boundary between your code and Morse Micro's code.

Instead:

YOUR_REPOSITORY/
  third_party/
    mm-iot-sdk-<version>/       <- version-controlled copy of the SDK
  your_application/
    Makefile
    include/
    src/
    targets/
      your_port/
        mm_shims/               <- most of your porting work lives here
        bsp/                    <- MCU-specific clock, peripheral, linker config
        platform.mk
  • Use the MMIOT_ROOT environment variable everywhere your build system references SDK components. This lets you move or upgrade the SDK without touching every
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл MM IoT SDK Hardware Bringup?

mm-iot-sdk porting guide + hardware debugging: project structure, PA→scan→iperf tiers, SPI/SDIO HAL, and real-silicon bug patterns.

Как установить скилл MM IoT SDK Hardware Bringup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл MM IoT SDK Hardware Bringup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить MM IoT SDK Hardware Bringup с