SLAAEJ0A November 2023 – April 2026 AM625 , AM62L , MSPM0C1105 , MSPM0C1106 , MSPM0L1306
The AM62x and AM62L is an ideal option for a wide range of embedded applications. Most of the embedded applications require to collect real world analog signals from sensors. This document presents steps followed to integrate a 8-bit and a 12-bit ADC using the MSM0 to the AM62x and AM62L processors. The integration addresses a critical limitation where the AM62x processor lacks any onboard ADC capability, while the AM62L processor has a ~10 ENOB ADC that may require higher 12-bit resolution for certain applications.
The solution architecture positions the AM62x/AM62L processors as the SPI controller (using either A53 or M4F cores) and the MSPM0L130x microcontroller as the peripheral device. Communication occurs via full-duplex SPI at speeds up to 50 MHz for the controller but limited to 16Mbits/s for the MSPM0L Peripheral. The system supports multiple operating modes including single-byte or multi-byte transfers combined with single-channel or multi-channel configurations, allowing monitoring of multiple analog inputs simultaneously. ADC sampling is timer-triggered with continuous data updates to maintain real-time performance.
The hardware setup requires either an SK-AM62x starter kit or AM62L EVM connected to an LP-MSPM0L1306 LaunchPad via SPI connections through expansion headers, along with analog signal sources for testing. Software implementation involves Linux kernel modifications for SPI driver support, device tree configuration for proper pin-muxing, CCS projects for both the MSPM0 peripheral and AM62x M4F core, and compiled executables for A53 core Linux userspace execution. The solution was successfully validated using sinusoidal and square wave test inputs (3.3Vpp at 2Hz frequency) for both the Controllers - SK-AM62x and AM62L, demonstrating accurate ADC data capture across all configuration modes with reliable performance at the maximum supported SPI speed.