i509VCB
dd233b38f5
mspm0: actually enable GPIOA interrupt for l110x
2025-08-14 16:07:04 -05:00
i509VCB
32f142d585
Merge pull request #4435 from bespsm/mspm0-i2c
...
MSPM0: Add I2C Controller (blocking & async) + examples for mspm0l1306, mspm0g3507 (tested MCUs)
2025-08-14 20:36:40 +00:00
Siarhei B
f84eb9a7eb
embassy-mspm0: add changes to the CHANGELOG.md
2025-08-14 10:30:36 +02:00
Siarhei B
b66fa9ae4a
mspm0-I2C: fix calculate_timer_period function & tests
2025-08-14 10:30:32 +02:00
Ulf Lilleengen
c7b9060a74
fix: prepare embassy-sync 0.7.1 release
...
* Add newtype for moved type to preserve API compat
2025-08-12 21:05:32 +02:00
Siarhei B
3b7b343863
mspm0-I2C: remove type time:Herz usage
2025-08-04 10:19:14 +02:00
Siarhei B
8091155a2f
mspm0-I2C: forward fifo size to i2c controller
2025-08-04 10:19:14 +02:00
Siarhei B
934e7809b5
mspm0-I2C: update mspm0-metapac revision
2025-08-04 10:19:14 +02:00
Siarhei B
dc52ead732
mspm0-I2C: remove SYSOSC init, make ClockDiv::Into private
2025-08-04 10:19:14 +02:00
Siarhei B
917a509c1a
mspm0-I2C: automate source clock definition
...
- i2c-config: automatically defines clock source based on input I2C rate
- i2c: proper config functions naming
- i2c-examples: adapt to changed API
- i2c: save initialization pf cctr register
2025-08-04 10:19:14 +02:00
Siarhei B
45852b852b
mspm0-I2C: add type for I2C clock rates + fixed comments
2025-08-04 10:19:14 +02:00
Siarhei B
7c640799d6
mspm0: Add I2C Controller (blocking & async)
...
- lib: add i2c mod to lib
- lib: add `bind_interrupts` mod for async workflow
- lib: set SYSOSCBASE as system oscillator
- config: add I2C SDA,SCA pin traits code generation
- config: add clock source for the I2C
- config: add clock divider for the I2C
- config: add I2C BusSpeed configuration
- I2C: add blocking API: blocking_read, blocking_write, blocking_write_read
- I2C: add async API: async_write, async_read, async_write_read
- I2C: add embedded-hal (v0.2) API for blocking & async impl.
- I2C: add embedded-hal (v1.0) API for blocking & async impl.
- I2C-tests: checks for timer_period & check_clock_rate fn's
2025-08-04 10:19:14 +02:00
Dario Nieuwenhuis
78a333d008
Release embassy-embedded-hal v0.4
2025-08-03 00:44:51 +02:00
Ulf Lilleengen
0eceb08b90
fix: do full minor version bump for time queue utils
2025-08-01 21:42:23 +02:00
Ulf Lilleengen
3f1ddaf60e
chore: prepare embassy-executor 0.8 release
2025-07-31 10:33:14 +02:00
Dario Nieuwenhuis
db5a7bacef
Merge pull request #4427 from clubby789/unsafe-op
...
HAL: Use `unsafe` block in IRQ handler
2025-07-23 14:40:19 +00:00
i509VCB
a1867f0d74
mspm0: add buffered uart driver
...
And tests for G3507.
2025-07-22 11:41:47 -05:00
clubby789
2be8be0747
Use unsafe
block in IRQ handlers
2025-07-20 20:25:26 +01:00
Ulf Lilleengen
386c586afa
chore: Release embassy-embedded-hal version 0.3.1
2025-07-16 14:53:02 +02:00
Ulf Lilleengen
64e1a806fa
chore: update to embassy-hal-internal
v0.3.0
2025-07-14 11:46:47 +02:00
i509VCB
f56197c51e
Merge pull request #4338 from i509VCB/dma
...
mspm0: add dma driver
2025-07-07 03:02:48 +00:00
i509VCB
e57dffafa5
mspm0: add dma driver
2025-07-06 17:40:10 -05:00
Kelsey Maes
71975c72fc
mspm0: Fix inverted GPIO logic
2025-06-27 14:11:01 -07:00
Matt Johnston
5e49985ed6
embassy-sync: bump to 0.7.0
2025-05-22 13:29:55 +08:00
i509VCB
d23c71ea29
mspm0: generate interrupt group handlers
2025-05-20 17:17:03 -05:00
i509VCB
156bf00009
mspm0: L110x has no group1
2025-05-20 12:35:17 -05:00
i509VCB
44dce82061
mspm0: add gpio handlers to l122x
2025-05-20 12:27:28 -05:00
Dario Nieuwenhuis
ef32187ed7
mspm0: fix build for int groups.
2025-05-19 18:15:42 +02:00
Dario Nieuwenhuis
41263587df
Merge pull request #4194 from i509VCB/update-metapac2
...
mspm0: generate features per chip + package
2025-05-18 21:20:11 +02:00
Yuri Astrakhan
ef0f29f0ed
Update defmt dependencies
2025-05-18 20:52:09 +02:00
i509VCB
f41e8c45f6
mspm0: generate feature per chip + package
2025-05-13 21:55:50 -05:00
i509VCB
1e23b8114b
mspm0: add uart tests
...
This also fixes a bug in the uart clock calculation where it could select an oversampling faster than what the hardware is providing.
2025-04-06 21:15:42 -05:00
i509VCB
45c4f0cb05
Merge pull request #4022 from i509VCB/mspm0-uart
...
mspm0: blocking uart driver
2025-04-03 04:46:36 +00:00
Kelsey Maes
03061a0817
mspm0: Fix set_pf_unchecked()
assertion
2025-04-02 08:33:12 -07:00
i509VCB
91cde689cc
mspm0: blocking uart driver
2025-03-29 00:21:29 -05:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
i509VCB
db7759ea7d
mspm0: disable events before clearing gpio ris
2025-03-25 23:55:01 -05:00
Dario Nieuwenhuis
f15a11f4d6
Merge pull request #3994 from i509VCB/mspm0-generate-singletons
...
mspm0: generate all singletons
2025-03-24 00:27:16 +00:00
i509VCB
73c0bad8ad
mspm0: remove todo comment about pin names with slash
...
these are now gone from metapac
2025-03-22 19:27:52 -05:00
i509VCB
07da54ec18
mspm0: generate all singletons
2025-03-22 19:26:05 -05:00
i509VCB
46a96ff68c
mspm0: Remove features for which int_group is not implemented in metapac yet
...
These will be readded again when I eliminate int_group manual impls in the near future
2025-03-21 19:23:43 -05:00
i509VCB
d43acbb22b
Add missing flavors to docs for mspm0
2025-03-21 15:16:27 -05:00
i509VCB
9afb385f6d
Add docs related things
2025-03-19 13:05:10 -05:00
i509VCB
f7f316ad17
correct group 0 int_group accesses
2025-03-16 13:52:12 -05:00
i509VCB
9531b7422b
rustfmt...
2025-03-13 22:26:06 -05:00
i509VCB
e0cdc356cc
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
2025-03-13 22:10:45 -05:00