SPI demo doesn't work

Which Khadas SBC do you use?

VIM3 Pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.4-221229

Please describe your issue below:

I followed the doc of SPI to run demo code. But the output seems to be empty, when I open the output file, the content is with ^@^@^@^@.

Post a console log of your issue below:

image
image

Hello @JJ1997

@ivan.li will help you there.

Hello @ivan.li, do you have any information about this issue? Thanks in advance.

@JJ1997
It really is as you described it, and I’ll take some time tomorrow to sort it out