Skip to content

Commit

Permalink
Update spi-setup.md to fix typo in buffer size explanation (#226)
Browse files Browse the repository at this point in the history
The buffer size explanation had a typo in the attribute to be added to `cmdline.txt` where it says `spidev.bufsize` instead of `spidev.bufsiz`
  • Loading branch information
schafran authored Dec 14, 2024
1 parent 89ca02e commit a4a0241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/setup-guide-1/spi-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The setup wizard requires root access, and therefore the password for the Pi use
* **Enable SPI.** The plugin uses SPI to drive the LEDs, which is disabled by default and needs to be turned on.
* Adds `dtparam=spi=on` to `/boot/config.txt`
* **Increase SPI buffer size.** Whilst the plugin will work without this, it will only work well with a handful of LEDs, so the buffer size must be increased to control more LEDs.
* Adds `spidev.bufsize=32768` to the end of `/boot/cmdline.txt`
* Adds `spidev.bufsiz=32768` to the end of `/boot/cmdline.txt`
* **Set compatible clock frequency** _Raspberry Pi 3 or earlier only, not required for a Pi 4_ The Pi 3's default internal clock frequency is not compatible with SPI, so it needs to be set to 250 to be compatible.
* Adds `core_freq=250` to `/boot/config.txt`
* **Set a minimum clock frequency** _Raspberry Pi 4 only_ On a Raspberry Pi 4, the clock frequency is dynamic and can change when the pi is 'idle' vs. 'working', which causes LEDs to flicker, change colour, or stop working completely. By setting a minimum the same as the max, we stop this dynamic clocking.
Expand Down

0 comments on commit a4a0241

Please sign in to comment.