3084 Commits

Author SHA1 Message Date
Tomaz Maia Suller
0203b2b257
Merge branch 'main' into feat-independent-nodiv 2025-08-26 11:43:08 +02:00
tomaz-suller
621c394f25 stm32/sai: make NODIV independent of MCKDIV 2025-08-26 11:08:57 +02:00
tomaz-suller
5e6669349c stm32/sai: fix WB MCKDIV
WB MCKDIV has a width of 6 bits (RM0434 Rev 14, p. 1269).
2025-08-26 10:52:04 +02:00
Ulf Lilleengen
c40c205636 fix: stm32 wb sai 2025-08-25 20:36:35 +02:00
Ulf Lilleengen
cfe71df123
Merge branch 'main' into looping-adc-read 2025-08-25 09:53:18 +02:00
Gabriel Smith
5a1be543ac stm32/adc/v3: allow DMA reads to loop through enabled channels
Tested on an STM32H533RE. Documentation of other chips has been
reviewed, but not extensively.
2025-08-22 14:56:19 -04:00
Kevin Lannen
9db5a173d0 STM32 XSPI: Disable alternate bytes if not requested
If a previous command used alternate bytes and the next command does not have them the alternate bytes need to be turned off
2025-08-22 09:27:24 -06:00
René van Dorst
52464b3536
Merge branch 'main' into i2c-pull-down-fix 2025-08-19 17:02:36 +02:00
René van Dorst
0d8350f326 stm32/i2c: Pull-down enabled when non-pull was requested.
When no internal pull-up is needed, the pull-down was enabled
instead of pull-none.
With the pull-down resistors and external pull-up resistors, this
creates a voltage divider, which causes unwanted situation.
2025-08-19 16:51:01 +02:00
Matt Johnston
86e257bc8d stm32/hash: Improve performance when hashing
chunks_exact produces better code
2025-08-15 17:39:52 +08:00
Matt Johnston
410a18b536 stm32/hash: Clear HMAC mode bit when hashing
Running a hash after a hmac would hang, the CR.MODE bit isn't cleared by
INIT.

Test it by running the test twice.
2025-08-15 17:16:52 +08:00
Matt Johnston
1347daf763 stm32: Fix vrefbuf trace with log feature
Vrs and Hiz don't implement core::fmt::Display
2025-08-15 11:14:26 +08:00
Dario Nieuwenhuis
b037ce6e64
Merge pull request #4538 from leftger/fix/wba-vrefbuf-errata
Added VREFBUF-TRIM manual write. Known errata
2025-08-14 20:14:30 +02:00
Gerzain Mata
2a43e68cc3 Removed uneeded enum 2025-08-13 14:17:02 -07:00
Malte Brieske
b0024ecb45 wait for STOP flag in blocking_write_vectored as well 2025-08-13 17:27:39 +02:00
Malte Brieske
55d9399ab8 wait for STOP flag when writing too 2025-08-13 16:25:52 +02:00
Malte Brieske
1cf6373142 wait for STOPF in blocking read 2025-08-13 13:07:36 +02:00
Gerzain Mata
ba5201c44f Added VREFBUF-TRIM manual write. Known errata 2025-08-12 23:24:08 -07:00
Ulf Lilleengen
e2921be35c
Merge pull request #4522 from WattStep/complementary_pwm_idle_state
Add methods for idle-state control in STM32 Complementary PWM
2025-08-12 19:27:28 +02:00
Dario Nieuwenhuis
cae93c5a27
Merge pull request #4524 from leftger/feat/add-vrefbuf-driver
Feat/add vrefbuf driver
2025-08-11 13:03:01 +02:00
Gerzain Mata
4a3cf32316 Added vrefbuf driver.
Also updated stm32-data-generated to latest
2025-08-10 19:35:36 -07:00
Gerzain Mata
92d12b5d88 Updated stm32-metapac 2025-08-10 02:21:03 -07:00
Jakob
c228ffe666 Remove unrelated cahnges 2025-08-10 09:22:49 +02:00
Jakob
b0cef8c0ad Adjust which methods should have mut reference to self. Change set_output_idle_state to accept channel iterator as input 2025-08-10 08:57:15 +02:00
Jakob
b6ee237fb1 Add enum for IdlePolarity to make interface clearer for set_output_idle_state method 2025-08-10 08:57:15 +02:00
Jakob
c46cae734f Change method arugments to be non-mutable 2025-08-10 08:57:15 +02:00
Jakob
0941a76be6 Add get methods for meo, ossi and ossr 2025-08-10 08:57:15 +02:00
Jakob
7dad187ff7 Add methods for setting ossi, ossr, osi and oisn along with software trigger for break input 2025-08-10 08:57:11 +02:00
Süha Ünüvar
cf41ad464c add forgotten import 2025-08-08 23:30:11 +08:00
Süha Ünüvar
d5bf29a303 stm32 i2c v2: rename freq to frequency 2025-08-08 23:14:08 +08:00
Süha Ünüvar
8b65101a7c rename rise_fall_speed to gpio_speed for spi 2025-08-08 23:09:39 +08:00
Süha Ünüvar
5e3221bcc4 i2c 2025-08-08 23:01:11 +08:00
Süha Ünüvar
f9da2888c4 i2s 2025-08-08 22:39:09 +08:00
Gerzain Mata
556ae0106b Working draft of VREFBUF driver 2025-08-08 03:10:35 -07:00
Ulf Lilleengen
f2be66a5f9
Merge pull request #4481 from swobbee-dev/main
STM32 CAN: Add mutable access for ID in Header and Frame structs
2025-08-08 08:04:24 +00:00
Piotr Esden-Tempski
701e824175 ucpd: Add software trim setting of the CC Rp/Rd for stm32u5 parts. 2025-08-01 18:10:00 -07:00
Malte Brieske
dbd10486b3 Add mutable accessors for ID in Header and Frame structs 2025-07-29 19:18:14 +02:00
Gerzain Mata
a19d5476dc Aligned STM32WBA with U5 flash HAL 2025-07-29 01:26:05 -07:00
Ulf Lilleengen
19e026717d Merge pull request #4476 from rursprung/impl-Debug-for-Delay
`embassy-time`: add missing `Debug` & `defmt::Format` derives
2025-07-29 00:36:22 +02:00
Gerzain Mata
81bef219e3 Working USB_OTG_HS example for STM32WBA 2025-07-27 16:44:43 -07:00
Gerzain Mata
1d3c48cf45 Working USB_OTG_HS example 2025-07-27 14:02:47 -07:00
Gerzain Mata
0545353ec1 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-27 10:14:03 -07:00
Dario Nieuwenhuis
945529282a
Merge pull request #4279 from benjaminschlegel87/stm32_adc_v3_hw_oversampling_support
Added Option to enable HW Oversampling in STM32 V3 ADCs
2025-07-26 11:01:18 +00:00
Gerzain Mata
75c1039aa1 Moved from HSE to HSI to generate USB_OTG_HS_CLK 2025-07-25 14:26:12 -07:00
Rick Rogers
a5a9c02543
include proper pll divs/divt initialization 2025-07-25 15:03:37 -04:00
emkanea-dev
777e0c71c9 fixed build after rebase 2025-07-25 20:53:04 +02:00
benjaminschlegel87
dbc1818acd
Merge branch 'embassy-rs:main' into stm32_adc_v3_hw_oversampling_support 2025-07-25 20:39:40 +02:00
Rick Rogers
3a30458b25
address rustfmt ci check 2025-07-25 12:10:17 -04:00
Rick Rogers
33fc82a455
Merge branch 'main' into h7rs-xspi-fixes 2025-07-25 11:34:21 -04:00
Gerzain Mata
ba5156b6cb Merge branch 'main' into feat/stm32wba-usb-example 2025-07-24 21:33:01 -07:00