Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/dev_mspm33_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,31 @@ jobs:
cd ~/zephyrproject/zephyr
source ~/zephyrproject/zephyr/zephyr-env.sh
west build -p always -b lp_mspm33c321a tests/drivers/dma/loop_transfer

- name: Build ADC DT Sample
run: |
source ~/zephyrproject/.venv/bin/activate
cd ~/zephyrproject/zephyr
source ~/zephyrproject/zephyr/zephyr-env.sh
west build -p always -b lp_mspm33c321a samples/drivers/adc/adc_dt

- name: Build ADC Sequence Sample
run: |
source ~/zephyrproject/.venv/bin/activate
cd ~/zephyrproject/zephyr
source ~/zephyrproject/zephyr/zephyr-env.sh
west build -p always -b lp_mspm33c321a samples/drivers/adc/adc_sequence

- name: Build ADC API Test
run: |
source ~/zephyrproject/.venv/bin/activate
cd ~/zephyrproject/zephyr
source ~/zephyrproject/zephyr/zephyr-env.sh
west build -p always -b lp_mspm33c321a tests/drivers/adc/adc_api

- name: Build ADC Error Cases Test
run: |
source ~/zephyrproject/.venv/bin/activate
cd ~/zephyrproject/zephyr
source ~/zephyrproject/zephyr/zephyr-env.sh
west build -p always -b lp_mspm33c321a tests/drivers/adc/adc_error_cases
6 changes: 3 additions & 3 deletions boards/ti/lp_mspm33c321a/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The LP_MSPM33C321A LaunchPad is a development platform for the MSPM33C321A micro
Zephyr uses the ``lp_mspm33c321a`` board configuration for building applications for this platform.

Board Features
=============
==============

* MSPM33C321A microcontroller with Arm® Cortex®-M33 core running at up to 160 MHz
* 1MB Flash memory with ECC
Expand All @@ -31,7 +31,7 @@ Board Features


Development Environment
**********************
=======================

The following development environment was used while developing and testing:

Expand Down Expand Up @@ -80,7 +80,7 @@ Future updates to the Zephyr support for this board will include flash-based pro
and support for the west flash command.

Serial Console
=============
==============

The MSPM33C321A LaunchPad includes an on-board XDS110 debugger that also provides a
virtual COM port over USB. This can be used for serial console output.
Expand Down
26 changes: 26 additions & 0 deletions drivers/adc/Kconfig.mspm33
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,29 @@ config ADC_MSP_HSADC
select USE_MSP_DL_VREF
help
Enable support for HSADC on the TI MSPM33 series.

config ADC_MSP_HSADC_SOC_MAX
int "Maximum number of Start of Conversion (SOC) entries"
depends on ADC_MSP_HSADC
default 16
range 1 16
help
Maximum number of SOCs supported by the HSADC hardware.
The MSPM33 HSADC supports up to 16 SOCs for sequence conversion.

config ADC_MSP_HSADC_CHANNEL_MAX
int "Maximum number of ADC input channels"
depends on ADC_MSP_HSADC
default 32
range 1 32
help
Maximum number of ADC input channels supported by the HSADC hardware.
The MSPM33 HSADC supports up to 32 input channels.

config ADC_MSP_HSADC_DMA
bool "DMA support for TI MSPM33 HSADC"
depends on ADC_MSP_HSADC
select DMA
help
DMA driven mode offloads ADC result transfer from the CPU.
Requires dmas property in the ADC device tree node.
Loading
Loading