670 Commits

Author SHA1 Message Date
xoviat
32aaaa6fbb stm32/dac: fix dma pw size
closes #2783
2026-04-08 19:46:44 -05:00
Dario Nieuwenhuis
5cdc1b8e79 Merge pull request #5714 from MTelthoe/fix-pio-drop
Fix PIO drop
2026-04-07 16:47:35 +00:00
Mirco Telthoerster
836c768ecc fix teleprobe meta targets 2026-04-07 17:00:39 +02:00
xoviat
a597b842cb stm32/adc: rextract v3 and cleanup 2026-04-06 21:15:19 -05:00
xoviat
16c1c16cff stm32: update cordic mod 2026-04-03 20:30:56 -05:00
Felipe Balbi
539313e653 [MCXA] trng: re-add registers previously removed
While at that, also update the default configuration to match what the
NXP SDK is doing after the latest update and simplify the constructors.
2026-04-03 13:20:06 -07:00
Dion Dokter
61c4c406be fmt all of mcxa 2026-03-31 13:04:40 +02:00
Dion Dokter
9b9385f899 Merge remote-tracking branch 'upstream/main' into metapac 2026-03-31 12:38:14 +02:00
xoviat
a6d6096d72 tests/stm32: restore debug-with-sleep for some chips 2026-03-28 13:07:11 -05:00
xoviat
c5ee991a9d tests/stm32: remove debug-with-sleep 2026-03-28 12:50:00 -05:00
Mirco Telthoerster
de5a628719 added pio drop test 2026-03-26 12:45:34 +01:00
Nick Dowsett
6369f88c78 examples: remove delay in rp flash examples 2026-03-24 23:06:42 +08:00
Dion Dokter
cc075ec8c1 Get the 2xx to compile and run from the metapac 2026-03-24 11:04:29 +01:00
Ulf Lilleengen
50c6aac5b9 chore: bump embassy-time-driver version 2026-03-20 15:15:16 +01:00
Dario Nieuwenhuis
92829a908b stm32: remove internal-only _allow-disable-rtc. 2026-03-20 01:16:24 +01:00
Dario Nieuwenhuis
0f59f10bab stm32: separate low-power and custom executor. 2026-03-20 01:16:24 +01:00
okhsunrog
f355f5df5a stm32: cordic: refactor API, fix RRDY bug, re-enable CORDIC on U5A5/U5A9
API refactor:
- Add arg_count and res_count to Config with builder methods
- Remove bool params from blocking_calc_32bit / async_calc_32bit
- Add set_access_counts() for lightweight nargs/nres mode switching
- Add #[inline] to all calc methods
- Remove extra_config() (subsumed by Config)
- 16-bit methods restore CSR to 32-bit state after use

Bug fix:
- reconfigure() left stale RRDY after dummy calc when subsequent CSR
  writes changed NRES, causing the secondary result to re-assert RRDY.
  This produced wrong blocking results and async DMA hangs on H5/U5.
  Fix: drain RRDY after applying user config in reconfigure().

Re-enable CORDIC on STM32U5A5/U5A9, previously disabled due to this bug.
2026-03-19 04:08:34 +03:00
Guayo Peerdeman
fb283df346 [MCXA] Fixed gpio test and power-deepsleep example for new irq binding 2026-03-16 17:48:23 +01:00
xoviat
f10d41fe29 wpan: add draft fus updater for wb55 2026-03-15 10:06:41 -05:00
Felipe Balbi
f376938b09 [MCXA5] Add RTC driver 2026-03-13 09:53:25 -07:00
Dario Nieuwenhuis
b7206056cc Merge pull request #5596 from leftger/feat/wba65-hil-tests
Add STM32WBA65RI NUCLEO board to HIL test bench
2026-03-12 18:55:49 +00:00
xoviat
5cc8762442 Merge pull request #5653 from jamesmunns/james/577-rtc
[MCXA] Pre-split RTC
2026-03-12 18:31:21 +00:00
Gerzain Mata
87bb1b092d Add STM32WBA65RI NUCLEO board to HIL test bench
Add HIL test support for the NUCLEO-WBA65RI board with UART loopback
(LPUART1: PB11 TX, PA10 RX) and SPI loopback (SPI2: PB10 SCK, PC3
MOSI, PA9 MISO). Uses HSI at 16 MHz.

Wiring (Arduino header):
- UART loopback: D9 (PB11) <-> D8 (PA10)
- SPI loopback: D11 (PC3) <-> D12 (PA9)

Tests excluded from CI until board is on the HIL shelf.
2026-03-12 19:15:49 +01:00
James Munns
9546d5f577 Update HIL test 2026-03-12 18:38:01 +01:00
Dario Nieuwenhuis
ed661a3c8b executor: rename arch-* to platform-* 2026-03-12 17:53:18 +01:00
Ulf Lilleengen
1d028828ea Merge pull request #5587 from yodaldevoid/release-embassy-sync-0.8.0
prepare release of `embassy-sync` 0.8.0
2026-03-12 05:47:50 +00:00
Gabriel Smith
a2306535e1 chore: correct version bump of embassy-time to 0.5.1 2026-03-11 08:41:05 -04:00
xoviat
5853517c75 ci: fix build deps 2026-03-10 21:35:06 -05:00
Gabriel Smith
ae981b3f55 chore: prepare crate releases 2026-03-10 12:28:26 -04:00
Wouter Geraedts
c06f709881 Fix spurious ADC compare test 2026-03-10 16:53:13 +01:00
Wouter Geraedts
a1362d283f Fixes MCXA I2C erratic time-dependent behaviour.
Achieves this by:
* During transmission, also check if an error occurred.
* When clearing status flags, only clear those that have been sampled. (fixes race condition)
* Send a TRANSMIT before checking interrupt waker conditions, not during each check.
* In the I2C test, await for the target task to listen before proceeding with the test.

Also clarified that the FifoError can occur after a START.
2026-03-10 16:13:39 +01:00
Wouter Geraedts
cae1e4474c Merge remote-tracking branch 'origin/main' into mcxa/clean-dma-setup 2026-03-09 11:10:13 +01:00
Felipe Balbi
24825f36b3 [MCXA] Add Instance for WWDT driver
MCXA5 has two WWDT instances. Let's support both.

While at that, also correct the GPIO used for the red LED on the
example.

Closes https://github.com/OpenDevicePartnership/embassy-mcxa/issues/173
2026-03-03 14:46:10 -08:00
Wouter Geraedts
3bbc8d3085 Fix tests & examples 2026-03-02 10:40:16 +01:00
Wouter Geraedts
9f9952bd80 Removed Default from TransferOptions; ported over circular read 2026-03-02 09:59:46 +01:00
Wouter Geraedts
7d73fd41f0 Fix tests and examples 2026-03-02 09:59:46 +01:00
xoviat
441815b78d rcc: encapulate refcounts and invert low-power pender feature 2026-02-28 11:42:43 -06:00
Felipe Balbi
b9f7886806 [MCXA] trng: add Instance trait
Instead of assuming the existence of a unique singleton named TRNG0,
add an Instance trait and depend on that instead.
2026-02-27 13:02:56 -08:00
James Munns
20877a9c6c Also move HIL tests mcxa -> mcxa2xx 2026-02-27 15:26:17 +01:00
Felipe Balbi
d9105e122e Merge pull request #5510 from felipebalbi/mcxa/ctimer
[MCXA] ctimer: fix ctimer pre_enable_config()
2026-02-23 17:16:46 +00:00
Felipe Balbi
cd0bd33765 [MCXA] ctimer: use capture for PWM tests
It's more reliable this way.
2026-02-23 09:11:14 -08:00
Dion Dokter
5f72e575ec Add ADC compare test and fix issue 2026-02-23 14:25:36 +01:00
Dion Dokter
bfbd8138d3 Fix ADC test 2026-02-23 12:25:44 +01:00
Felipe Balbi
a618e8be0c gpio: exercise is_set_*() methods too
Closes https://github.com/OpenDevicePartnership/embassy-mcxa/issues/153
2026-02-20 10:31:45 -08:00
James Munns
eeb18b9e3c Attempt to flush any received characters prior to running the test. 2026-02-20 13:46:52 +01:00
Dario Nieuwenhuis
8605219d1d tests/mcxa: update lpuart to new api 2026-02-19 22:41:59 +01:00
Dion Dokter
9d8656e397 Fix DMA after pulling in main 2026-02-19 22:38:12 +01:00
Dion Dokter
13c7ae46ae Updated wiring info 2026-02-19 22:38:12 +01:00
Dion Dokter
c75394c1d0 Add ctimer_capture test 2026-02-19 22:38:12 +01:00
Dion Dokter
755ac214eb Add wiring scheme 2026-02-19 22:38:12 +01:00