Skip to content

Commit 0ddba96

Browse files
committed
giga: restore prescaler to 0 for TIM1
The granularity of the camera clock was too low otherwise and the camera failed to start
1 parent 408903d commit 0ddba96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: loader/boards/arduino_giga_r1_m7.overlay

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
&timers1 {
6161
status = "okay";
62-
st,prescaler = <4>;
62+
st,prescaler = <0>;
6363

6464
pwm1: pwm {
6565
status = "okay";
@@ -509,7 +509,7 @@
509509
cdc-acm = <&cdc_acm_uart0>;
510510
i2cs = <&i2c2>, <&i2c4>, <&i2c1>;
511511
spis = <&spi1>, <&spi5>;
512-
pwms = <&pwm1 3 PWM_HZ(6000000) PWM_POLARITY_NORMAL>,
512+
pwms = <&pwm1 3 PWM_HZ(12000000) PWM_POLARITY_NORMAL>,
513513
<&pwm2 4 PWM_HZ(500) PWM_POLARITY_NORMAL>,
514514
<&pwm2 3 PWM_HZ(500) PWM_POLARITY_NORMAL>,
515515
<&pwm8 1 PWM_HZ(500) PWM_POLARITY_NORMAL>,

0 commit comments

Comments
 (0)