Resin.io can’t send spi message

Hello,

I am using a Raspberry Pi 3 with a Matrix Creator board. Using the Matrix documentation I installed the necessary dependencies for the board through the dockerfile and tried to run the “mic_energy_direct” demo.

However, I get the following output when running any of the matrix examples that involve the microphones:
“can’t send spi message”

Any help would be greatly appreciated. Thank you!

i don’t know resin.os but you at least need the spi device forwarded to the docker container to get it working. in my docker example for my python hal this works. see the docker example in the readme https://github.com/cmetz/python-matrixio-hal

but keep in mind you also need to program the FPGA on every power cycle, i don’t now if this is possible inside a container, it should be, if you forward also the rpi GPIOs. and run the FPGA init script.

there is also some documentation for handling hardware ports in resinos:

https://docs.resin.io/learn/develop/hardware/i2c-and-spi/

It looks like in resin OS the SPI should be automatically enabled according to the link you sent, and it says raspi-config command cannot be found (even when I try to install it)