Skip to content

Commit 246ea73

Browse files
aurel32cfriedt
authored andcommitted
dts/arm/st: wl: increase Sub-GHz SPI frequency to 12MHz
The maximum supported speed according to the SX126x datasheet (I have not found that information in the STM32WL datasheet or reference manual). Increase the Sub-GHz SPI frequency from 1 Mhz to to 12 MHz, which corresponds to a baud rate prescaler of 4 with a 48 MHz clock. It also matches what is done the the STM32CubeWL package. This reduces the time the MCU is kept running, thus reducing the global power consumption. Signed-off-by: Aurelien Jarno <[email protected]>
1 parent c938c81 commit 246ea73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dts/arm/st/wl/stm32wl.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
compatible = "st,stm32wl-subghz-radio";
297297
reg = <0>;
298298
interrupts = <50 0>;
299-
spi-max-frequency = <1000000>;
299+
spi-max-frequency = <12000000>;
300300
status = "disabled";
301301
label = "subghz-radio";
302302
};

0 commit comments

Comments
 (0)