[Buildroot] Raspberry Pi Zero SPI Issue

Peter Seiderer ps.report at gmx.net
Wed Mar 10 17:46:50 UTC 2021


Hello Ali,

On Wed, 10 Mar 2021 20:26:59 +0300, Ali Çamdal <alicamdal0 at gmail.com> wrote:

> Hi,
> I have a build for raspberry pi zero and added all spi tools, drivers and
> so on. After build, i have integrate drivers with modprobe and set
> config.txt with dtparam. But my SPI works very slow, it can read true value
> from hardware but very very slow. It read one value per 5 or 6 mins maybe
> even more. What did I do wrong with that ? Can you give any suggestions?
> 
> Thanks.

As far as I read [1] enabling SPI via dtparam sets no speed, maybe
enabling it via dtoverlay anyspi or spi-<n>-<m> gains an speed/SPI-clock
parameter...

Which SPI hardware?

Regards,
Peter


[1] https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/README


More information about the buildroot mailing list