Search the Community
Showing results for tags 'spi'.
Found 2 results
-
Hi, I am following the URL below to start up SPI with WiringPi library. I can see spidev in /dev on my TinkerBoard2S. Therefore, I believe the spi settings are reflected at boot time. linaro@linaro-alip:~/Desktop/CSampleCode/spiSpeed$ ls /dev/spidev* /dev/spidev1.0 /dev/spidev5.0 When I run the sample code, I get an error "Unble to open SPI device". Can you please tell me the cause and countermeasure? linaro@linaro-alip:~$ cd /home/linaro/Desktop/CSampleCode/spiSpeed/ linaro@linaro-alip:~/Desktop/CSampleCode/spiSpeed$ sudo ./spiSpeed +-------+--------+----------+----------+-----------+------------+ | MHz | Size | mS/Trans | TpS | Mb/Sec | Latency mS | +-------+--------+----------+----------+-----------+------------+ Unable to open SPI device: No such file or directory Board:TinkerBoard2S Linux version:4.4.194 Best regards,
-
Hello! I want to change the SPI buffer size from 4096 to a greater value. I tried to put spidev.bufsiz=65536 in /boot/config.txt but it is not working. Can someone to help me to set buffer size to a larger size? Thanks!
- 2 replies
-
- tinkerboards2s
- spi
-
(and 1 more)
Tagged with: