Skip to content

Release 1.02.00.00_ea#21

Merged
padmaraghunathan90 merged 44 commits intomain_mspm33from
dev_mspm33
Mar 6, 2026
Merged

Release 1.02.00.00_ea#21
padmaraghunathan90 merged 44 commits intomain_mspm33from
dev_mspm33

Conversation

@Aman-Lachhiramka-ti
Copy link
Collaborator

Summary

  • Add I2C driver (controller/target, FIFO, NACK/timeout, message merging)
  • Add DMA driver (memory-to-memory, peripheral triggers, 16 channels)
  • Enhance HSADC with DMA transfer support and driver refactoring
  • Add OpenOCD flash programming (west flash / west debug via XDS110)
  • Fix GPIO port_get_direction/port_get_config and UART irq_is_pending
  • Update HAL to 1.02.00.00_ea
  • Update board documentation and supported features YAML
  • 14 test suites, 110 pass, 74% aggregate MSP driver code coverage

Test plan

All tests executed on-device (LP_MSPM33C321A):

  • ADC: adc_api, adc_error_cases
  • Counter: counter_basic_api
  • GPIO: gpio_basic_api, gpio_api_1pin, gpio_get_direction
  • DMA: loop_transfer, chan_blen_transfer
  • I2C: i2c_codec (17 tests)
  • SPI: spi_loopback, dt_spec
  • UART: uart_basic_api, uart_interrupt_api
  • Console: line_splitting
  • Flash: blinky via west flash

Aman-Lachhiramka-ti and others added 30 commits March 6, 2026 16:44
Unicomm naming has been fixed to use the global naming convention

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Update pinctrl references in device tree to match TI's MSPM33 HAL naming

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
change the hal_ti module from using release tag to tracking
the dev_mspm33 branch. This allows development against the latest
HAL changes in the development branch
Temporary remove ADC test case from the build workflow

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add DMA driver binding for Texas Instruments MSP Family series

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add DMA driver support for Texas Instruments MSP family series

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add DMA nodes to the dtsi for TI MSPM33

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add DMA test driver support for Texas Instrument's lp_mspm33c321a launchpad

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Temporary removing ADC test case due to the changes made in the APL release of SDK for ADC

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Replace drive-strength enum with ti,high-drive boolean to match
MSP hardware which uses single bit for standard/high-drive mode

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Correct property descriptions in the ti,msp-pinctrl.yaml binding file

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add FLASH_SIZE and FLASH_BASE_ADDRESS Kconfig defaults for the MSPM33 SoC family, derived from the devicetree chosen zephyr,flash node.

Signed-off-by: Tejas Garg <t-garg@ti.com>
Add OpenOCD flash runner support for the LP_MSPM33C321A board:
- Configure board.cmake with OpenOCD runner arguments
- Add OpenOCD configuration file using XDS110 debug probe

Additionally:
- Enable XIP (execute in place) by removing CONFIG_XIP=n
- Fix flash size from 1000 to 1024 KB in board YAML

Signed-off-by: Tejas Garg <t-garg@ti.com>
Make clocks property required with requirements
Make ti,clk-prescalar optional for timg12_0 node

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add image of lp_mspm33c321a launchpad to the board documentation

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Update the DL APIs to latest SDK changes
Refactor data structures, functions and macros to improve code maintainability
and reduces complexity

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add overlay for TI lp_mspm33c321a board to run adc_dt sample.
Update overlay of adc_sequence sample.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
…rror_cases tests

Add device tree overlays to enable ADC testing on the lp_mspm33c321a board

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add support for external hardware-triggered DMA transfers
with proper trigger type configuratios.
Use BIT(channel) macro for better code clarity and compliance

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add optional dmas property to the adc binding to allow DMA based
result transfer from the ADC

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Assign DMA channels and trigger sources to adc0 and adc1 nodes
for DMA transfer

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add optional DMA mode that reads conversion result from the
HSADC FIFO via DMA instead of the ISR. DMA mode is gated behind
CONFIG_ADC_MSP_HSADC_DMA and falls back to interrupt driven mode
when dmas property is absent

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Enable DMA and ADC DMA Kconfig for the adc_dt sample on
lp_mspm33c321a board.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add adc_dt, adc_sequence, adc_api, and adc_error_cases builds to
dev_mspm33_build.yml for comprehensive ADC validation on LP_MSPM33C321A.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Extend title underlines to match or exceed title length in the
LP_MSPM33C321A board documentation, resolving Sphinx build warnings.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Rename I2C driver from mspm0 specific to a more generic msp family name
to prepare for supporting multiple devices in MSP family.
Driver functionality and dts bindings remain unchanged

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Rename the DL_ I2C Kconfig to use the generic MSP prefix,
preparing for shared MSPM0 and MSPM33 platform support.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Update HAL module Kconfig to reflect the driver rename
from MSPM0-sepcific to the common MSP naming convention

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Rename the I2C binding from MSPM0-specific to the common
ti,msp-i2c compatible for shared MSP support.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Update all MSPM0 SoC dtsi files to use the renamed ti,msp-i2c
binding compatible string.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Aman-Lachhiramka-ti and others added 14 commits March 6, 2026 16:45
Update the I2C MSP driver and Kconfig to align with
the renamed ti,msp-i2c binding.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Fix the Clang formatting of the i2c_msp driver

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Fix bugs and improve code quality in i2c_msp driver.
Fix timeout counter clapping, ISR target/controller routine order,
and replace static semaphores with embedded struct members

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add i2c_msp_compat to abstract MSPM0(shared I2C) and
MSPM33(Unicomm I2CC/I2CT) HAL differences behind unified
DL_I2C_* names. Update Kconfig to select correct platform.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add UNICOMM I2C nodes to the dtsi to support the I2C driver on MSPM33

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add SPDX-FileCopyrightText to MSPM0 G-series dtsi files
to fix compliance warnings.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Fix the OpenOCD target configuration file path to match the
actual file layout in the TI downstream OpenOCD used for
enabling OpenOCD for MSPM33

Signed-off-by: Tejas Garg <t-garg@ti.com>
update msp-hal_ti from dev_mspm33 branch to 1.02.00.00_ea tag
for reproducible builds.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add NULL guards in port_get_direction, clear INENA on
GPIO_DISCONNECTED, and use per-pin PINCM check for accurate
input direction reporting.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Check actual TX/RX ready state instead of stale interrupt
index to avoid falsely reporting pending when no data is
available.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add loopback overlay with PB20 as out-gpios and PB21 as in-gpios
for the 2-pin GPIO test on lp_mspm33c321a.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Enable GPIO_GET_CONFIG and GPIO_GET_DIRECTION for the
get_direction test on lp_mspm33c321a.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Rewrite board index.rst with new supported features.
Add peripheral listing, board image, pin mapping, clock tree,
OpenOCD flashing/debugging, CCS alternative, recovery commands,
and reference links. Update supported features in board YAML to
include all functional drivers.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
msp-hal_ti TexasInstruments/msp-hal_ti@1.01.00.00_ea TexasInstruments/msp-hal_ti@1.02.00.00_ea TexasInstruments/msp-hal_ti@1.01.00.00_ea..1.02.00.00_ea

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@Aman-Lachhiramka-ti
Copy link
Collaborator Author

cc @padmaraghunathan90

@padmaraghunathan90 padmaraghunathan90 merged commit 101a87c into main_mspm33 Mar 6, 2026
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants