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
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Examples for MSPM0C110x family
 | |
| 
 | |
| Run individual examples with
 | |
| ```
 | |
| cargo run --bin <module-name>
 | |
| ```
 | |
| for example
 | |
| ```
 | |
| cargo run --bin blinky
 | |
| ```
 | |
| 
 | |
| ## Checklist before running examples
 | |
| A large number of the examples are written for the [LP-MSPM0C1104](https://www.ti.com/tool/LP-MSPM0C1104) board.
 | |
| 
 | |
| 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.
 | |
| 
 | |
| * [ ] Update .cargo/config.toml with the correct probe-rs command to use your specific MCU. For example for C1104 it should be `probe-rs run --chip MSPM0C1104`. (use `probe-rs chip list` to find your chip)
 | |
| * [ ] Update Cargo.toml to have the correct `embassy-mspm0` feature. For example for C1104 it should be `mspm0c1104`. Look in the `Cargo.toml` file of the `embassy-mspm0` project to find the correct feature flag for your chip.
 | |
| * [ ] If your board has a special clock or power configuration, make sure that it is set up appropriately.
 | |
| * [ ] If your board has different pin mapping, update any pin numbers or peripherals in the given example code to match your schematic
 | |
| 
 | |
| If you are unsure, please drop by the Embassy Matrix chat for support, and let us know:
 | |
| 
 | |
| * Which example you are trying to run
 | |
| * Which chip and board you are using
 | |
| 
 | |
| Embassy Chat: https://matrix.to/#/#embassy-rs:matrix.org
 |