Dario Nieuwenhuis
bc7372d701
otg: use const blocks for init.
2024-11-24 00:32:26 +01:00
Dario Nieuwenhuis
032af9d512
otg: fix corruption in CONTROL OUT transfers in stm32f4.
...
The RM says we have to process STUP (and therefore clear CNAK to start the data stage)
in the DOEPINT STUP interrupt. Seems doing it in RXFLVL when we receive the data is
too early. This makes it work consistently on all chips, so the quirk is no longer needed.
Fixes #3493
Fixes #3459
2024-11-24 00:32:26 +01:00
Dario Nieuwenhuis
4f459bb918
otg: improve trace logging, print bytes as hex.
2024-11-24 00:32:26 +01:00
Dario Nieuwenhuis
1ca53e286b
otg: fix build with defmt enabled.
2024-11-24 00:32:26 +01:00
Ivan Li
b1bbe6bcf2
stm32 adc g4: example of async read
...
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2024-11-23 12:53:24 +08:00
Ivan Li
54b39ba492
stm32 adc g4 async read
...
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2024-11-23 12:52:22 +08:00
Dániel Buga
c9abff53d7
Bump sync version ( #3562 )
...
* Bump sync version
* Use old embassy-sync in rp bluetooth example
* Downgrade update to minor
2024-11-22 21:16:11 +01:00
Ulf Lilleengen
fb8e40bdf5
Merge pull request #3559 from bugadani/gaw
...
Generalize AtomicWaker
2024-11-22 12:56:23 +00:00
Christian Enderle
1fbb419f72
low-power: add support for stop for stm32u0
2024-11-22 10:37:12 +01:00
Christian Enderle
a49289ce7b
low-power: add basic support for stm32u0
2024-11-22 10:37:12 +01:00
Christian Enderle
29934237a5
rtc: reorganize low-power SealedInstance
2024-11-22 10:37:12 +01:00
Christian Enderle
48fd80919a
rcc: enable lse for stm32u0
2024-11-22 10:37:12 +01:00
Dániel Buga
e05f6da269
Generalize AtomicWaker
2024-11-22 09:21:44 +01:00
Gabriel Smith
bd65906d14
STM32H5xx ADC ( #3557 )
...
* stm32: Update STM32 data source
* stm32h5: Add ADC example
2024-11-21 23:23:46 +01:00
Dario Nieuwenhuis
4b1be4787a
Merge pull request #3554 from chrenderle/rcc
...
compute lse and lsi frequency for STM32L and STM32U0 series
2024-11-21 11:28:13 +00:00
Christian Enderle
f598cae376
compute lse and lsi frequency for STM32L and STM32U0 series
2024-11-21 12:12:00 +01:00
Joseph
be6eec7726
Update README.md ( #3553 )
...
Fixed broken link to w5500-evb-pico
2024-11-21 01:46:10 +01:00
Dario Nieuwenhuis
66756af2f0
Merge pull request #3547 from bugadani/callback
...
Executor: Only set callback once
2024-11-20 23:14:02 +00:00
Dario Nieuwenhuis
851aa9cfaa
Merge pull request #3552 from embassy-rs/nfct
...
nrf: Add NFCT driver.
2024-11-20 22:34:07 +00:00
Dario Nieuwenhuis
0740b235ac
nrf: Add NFCT driver.
...
Co-Authored-By: turbocool3r <turbocool3r@gmail.com>
Co-Authored-By: ferris <ferris@devdroplets.com>
2024-11-20 23:29:22 +01:00
Aurélien Jacobs
3402e76f98
stm32/timer: avoid max_compare_value >= u16::MAX
...
With STM32 32 bits timers, the max_compare_value (AKA, ARR register)
can currently be set greater than u16::MAX, which leads to the following
assert!(max < u16::MAX as u32) in max_duty_cycle() when setting up a 1 kHz
SimplePwm on 84 MHz MCU.
The issue is fixed by forcing a max_compare_value that fits into 16 bits
when setting the frequency for a PWM.
2024-11-20 16:21:20 +01:00
Dario Nieuwenhuis
227e073fca
Merge pull request #3280 from elagil/feat_spdifrx_driver
...
Support for STM32 SPDIFRX
2024-11-19 17:11:05 +00:00
Dario Nieuwenhuis
e41a5c6268
Merge pull request #3548 from bugadani/generic
...
Remove noop from queue_generic
2024-11-19 16:52:18 +00:00
Dániel Buga
448db47263
Remove noop from queue_generic
2024-11-19 17:30:31 +01:00
Dániel Buga
8ebe059ecb
Add initialize
2024-11-19 16:25:17 +01:00
Dániel Buga
ff02ee1a22
Only set callback once
2024-11-19 14:42:41 +01:00
Ulf Lilleengen
0f95c72e78
Merge pull request #3546 from plaes/fix-debug
...
nrf: Remove leftover info message and fix link to errata
2024-11-19 11:54:43 +00:00
Priit Laes
1e0b6eefb7
nrf: Remove leftover info message and fix link to errata
2024-11-19 09:55:39 +02:00
elagil
99dd5e79db
chore: update for latest SAI features
2024-11-18 20:51:23 +01:00
elagil
e8b03b75ec
fix: use latest SAI driver
2024-11-18 20:51:23 +01:00
elagil
de7fae1822
fix: enable backup symbol clock
2024-11-18 20:51:23 +01:00
elagil
1ce1e193b7
feat: Add SPDIFRX example
2024-11-18 20:51:23 +01:00
elagil
62dbdcd45a
feat: add SPDIFRX driver
2024-11-18 20:51:22 +01:00
Dario Nieuwenhuis
050d3d1a09
Merge pull request #3518 from chrenderle/lse-peripherals-clocked
...
Enable user to choose to pass lse clock to peripherals
2024-11-18 11:36:05 +00:00
Christian Enderle
e76473ae95
fixed hanging when lse_sysen disabled
2024-11-18 12:23:56 +01:00
Christian Enderle
e09e4e9612
Enable user to choose to pass lse clock to peripherals
2024-11-18 12:23:56 +01:00
Henrik Alsér
b793d31f25
Merge pull request #3545 from elagil/feat_wait_for_sai_ringbuf_write_error
...
Add a function that waits for any SAI/ringbuffer write error
2024-11-17 23:11:31 +00:00
elagil
ee9ca44703
refactor: naming of wait functions
2024-11-17 23:56:45 +01:00
elagil
7ae2816341
feat: SAI/ringbuffer add function to wait for any write error
2024-11-17 23:10:11 +01:00
Dario Nieuwenhuis
f99d733b61
nrf: add docs build for nrf54.
2024-11-17 23:01:00 +01:00
Dario Nieuwenhuis
5c9f9c443f
Merge pull request #3544 from embassy-rs/nrf54l
...
nrf: add nrf54l base: gpio and time driver.
2024-11-17 21:04:44 +00:00
Dario Nieuwenhuis
a8d7a5eb1e
nrf: add nrf54l base: gpio and time driver.
2024-11-17 14:42:06 +01:00
Dario Nieuwenhuis
8d8cd78f63
Merge pull request #3541 from elagil/avoid_sai_start_before_write
...
Disallow SAI start without an initial write
2024-11-16 22:36:41 +00:00
Ugljesa Jovanovic
69cb30ebf3
Add OTP write
2024-11-16 22:22:47 +01:00
elagil
f2a46e2ac3
fix: unwrap sai receiver start()
2024-11-16 15:09:47 +01:00
elagil
d592875ca6
fix(SAI): disallow start without initial write
2024-11-16 15:02:32 +01:00
Dario Nieuwenhuis
6c4b3d82b6
Merge pull request #3538 from elagil/sai_flush_fifo_on_disable
...
Flush SAI FIFO on init and disable
2024-11-15 01:58:06 +00:00
Dario Nieuwenhuis
fe79af5614
Merge pull request #3539 from embassy-rs/update-nrf-pac
...
Update nrf-pac.
2024-11-15 01:25:48 +00:00
Dario Nieuwenhuis
3f23fd5c98
Update nrf-pac.
2024-11-15 02:22:20 +01:00
elagil
edb9b03dee
fix: flush SAI FIFO on init
2024-11-15 00:07:23 +01:00