SPI service on FX30s


#1

Hi,
I want to use SPI on FX30s, but there is not spiService. The service exists on mangOH red, but not on FX30s. Do I have to implement le_spi to make it work?


#2

Hi there,
Could you try using spidev ioctls to /dev/sierra_spi?
BR,
Chris


#3

Hi Chris,
/dev/sierra_spi does not exist, so it does not work.

I had the same problem on mangOH red. Everything has started to work when I have installed framework 18.06.4.

Regards

Bartek


#4

Hi Bartek,
I’ve consulted with the Linux team. The /dev/sierra_spi has been removed in favor of spidev. The kernel model is available, but not automatically installed. So you can do a modprobe spidev. The problem however, is that spisvc is also required but missing from the build.

I recommend building the kernel module. Hopefully this post will be helpful to you:
https://docs.legato.io/17_08/howToSPI.html
https://docs.legato.io/18_08/howToKModSPI.html

BR,
Chris


#5

Hi Chris,
Thanks for this. But this procedure is far too complicated for my customer (they don’t have IT team). They want ready software from me, which it is easy to install. They are going to use mangOH red.

Best regards

Bartek