diff options
| author | i509VCB <[email protected]> | 2025-03-13 22:10:45 -0500 |
|---|---|---|
| committer | i509VCB <[email protected]> | 2025-03-13 22:10:45 -0500 |
| commit | e0cdc356ccd7f9e20c2b5355cc52b7eb7610147b (patch) | |
| tree | 0c34424508b1ee8d5010dc186247b72fac7aca69 /examples/mspm0l2228/README.md | |
| parent | 38f26137fc67beb874aa73c9a7ab2150d9f3d372 (diff) | |
Embassy for MSPM0
This adds an embassy hal for the Texas Instruments MSPM0 microcontroller series.
So far the GPIO and time drivers have been implemented. I have tested these drivers on the following parts:
- C1104
- L1306
- L2228
- G3507
- G3519
The PAC is generated at https://github.com/mspm0-rs
Diffstat (limited to 'examples/mspm0l2228/README.md')
| -rw-r--r-- | examples/mspm0l2228/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/mspm0l2228/README.md b/examples/mspm0l2228/README.md new file mode 100644 index 000000000..c73fa13b6 --- /dev/null +++ b/examples/mspm0l2228/README.md | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Examples for MSPM0L222x family | ||
| 2 | |||
| 3 | Run individual examples with | ||
| 4 | ``` | ||
| 5 | cargo run --bin <module-name> | ||
| 6 | ``` | ||
| 7 | for example | ||
| 8 | ``` | ||
| 9 | cargo run --bin blinky | ||
| 10 | ``` | ||
| 11 | |||
| 12 | ## Checklist before running examples | ||
| 13 | A large number of the examples are written for the [LP-MSPM0L2228](https://www.ti.com/tool/LP-MSPM0L2228) board. | ||
| 14 | |||
| 15 | You might need to adjust `.cargo/config.toml`, `Cargo.toml` and possibly update pin numbers or peripherals to match the specific MCU or board you are using. | ||
| 16 | |||
| 17 | * [ ] Update .cargo/config.toml with the correct probe-rs command to use your specific MCU. For example for L2228 it should be `probe-rs run --chip MSPM0L2228`. (use `probe-rs chip list` to find your chip) | ||
| 18 | * [ ] Update Cargo.toml to have the correct `embassy-mspm0` feature. For example for L2228 it should be `mspm0l2228`. Look in the `Cargo.toml` file of the `embassy-mspm0` project to find the correct feature flag for your chip. | ||
| 19 | * [ ] If your board has a special clock or power configuration, make sure that it is set up appropriately. | ||
| 20 | * [ ] If your board has different pin mapping, update any pin numbers or peripherals in the given example code to match your schematic | ||
| 21 | |||
| 22 | If you are unsure, please drop by the Embassy Matrix chat for support, and let us know: | ||
| 23 | |||
| 24 | * Which example you are trying to run | ||
| 25 | * Which chip and board you are using | ||
| 26 | |||
| 27 | Embassy Chat: https://matrix.to/#/#embassy-rs:matrix.org | ||
