Discover and explore top open-source AI tools and projects—updated daily.
2262727886-stackDual-core embedded control for electronic design contests
Top 96.3% on SourcePulse
Summary
This project offers a full-stack development solution for electronic design contests ("电赛") using a dual-core TI MSPM0G3507 (Cortex-M0+) and K230 (RISC-V) architecture. It addresses integration challenges of chassis control, IMU, vision, and communication peripherals, providing a validated codebase for common contest tasks. Aimed at students and engineers, it accelerates development and mitigates pitfalls, notably via AI-assisted code generation.
How It Works
The system features a dual-core setup: MSPM0G3507 handles real-time control (motors via TB6612FNG, encoders, IMU, servos), while the K230 (MicroPython) manages vision processing (GC2093 camera, color block recognition) and communicates via UART. A cascaded PID control loop (speed PI, position P, heading PD) ensures precise motion. The implementation is bare-metal, driven by hardware timers, and includes Bluetooth tuning and OLED status display.
Quick Start & Requirements
Clone the repository: git clone https://github.com/2262727886-stack/mspm0g-contest-skill.git. Development requires TI's CCS Theia IDE, MSPM0 SDK (v2.10.00.04), and XDS110 drivers. The project recommends using the integrated Claude Code Skill for AI-driven code generation based on specific hardware connections, simplifying setup. Official TI tool downloads: CCS Theia, MSPM0 SDK.
Highlighted Details
Maintenance & Community
Community engagement is encouraged via GitHub Issues and Claude Code. Acknowledgments are given to key technology providers. Specific community channels are not detailed.
Licensing & Compatibility
Released under the permissive MIT License, allowing broad use, modification, and distribution, including in commercial applications.
Limitations & Caveats
This is not a universal template; specific peripherals are needed per contest problem. The firmware is bare-metal (nortos), not RTOS-based. Vision is limited to color block recognition, excluding SLAM or obstacle avoidance. Be aware of an "API Safety Blacklist" for the MSPM0 SDK and 43 known K230 MicroPython issues. A hardware conflict exists between UART0 and I2C1 on shared pins (PA10/PA11).
1 month ago
Inactive
pytorch
Leonxlnx