Skip to content

Commit af2cec4

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
BCM270X_DT: Reduce default at86rf233 SPI frequency
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
1 parent 0bbc1e2 commit af2cec4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Load: dtoverlay=at86rf233,<param>=<val>
178178
Params: interrupt GPIO used for INT (default 23)
179179
reset GPIO used for Reset (default 24)
180180
sleep GPIO used for Sleep (default 25)
181-
speed SPI bus speed in Hz (default 750000)
181+
speed SPI bus speed in Hz (default 6000000)
182182
trim Fine tuning of the internal capacitance
183183
arrays (0=+0pF, 15=+4.5pF, default 15)
184184

arch/arm/boot/dts/overlays/at86rf233-overlay.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
interrupts = <23 4>; /* active high */
2626
reset-gpio = <&gpio 24 1>;
2727
sleep-gpio = <&gpio 25 1>;
28-
spi-max-frequency = <7500000>;
28+
spi-max-frequency = <6000000>;
2929
xtal-trim = /bits/ 8 <0xf>;
3030
};
3131
};

0 commit comments

Comments
 (0)