Jump to content
Sign in to follow this  
sk109sk

Tinker Board 2S set SPI buffer size

Recommended Posts

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!

Share this post


Link to post
Share on other sites

hello @sk109sk

13 hours ago, sk109sk said:

I tried to put spidev.bufsiz=65536 in /boot/config.txt but it is not working.

 

please add it in /boot/cmdline.txt instead

sudo vim /boot/cmdline.txt

add this line, save and reboot

spidev.bufsiz=65536

you can check the value with:

cat /sys/module/spidev/parameters/bufsiz

 

  • Like 1

Share this post


Link to post
Share on other sites
On 6/5/2023 at 10:09 AM, tooz said:

hello @sk109sk

please add it in /boot/cmdline.txt instead


sudo vim /boot/cmdline.txt

add this line, save and reboot


spidev.bufsiz=65536

you can check the value with:


cat /sys/module/spidev/parameters/bufsiz

 

It is working, thank you @tooz.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...