Skip to content

Commit cd8bfd5

Browse files
authored
Merge pull request #35 from jonathanhacker/patch-1
Added information about SPI on the RPi4
2 parents 4d3f84c + f8a9e1f commit cd8bfd5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

library/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ following line to /boot/config.txt and reboot.
151151

152152
core_freq=250
153153

154+
On a RPi 4 its dynamic frequency clocking has to be disabled, since it will
155+
desync the SPI clock. Do this by adding this line to
156+
``/boot/config.txt``. (``core_freq`` does not have to be changed, since
157+
the default value of 500MHz is SPI compatible)
158+
159+
::
160+
161+
core_freq_min=500
162+
154163
SPI requires you to be in the ``gpio`` group if you wish to control your
155164
LEDs without root.
156165

0 commit comments

Comments
 (0)