Hello,
I need an example for using the spi in zephyr and how to change the pins if necessary.
Where can I find it?
Thank you
Hello,
I need an example for using the spi in zephyr and how to change the pins if necessary.
Where can I find it?
Thank you
Hello Fausto,
Fb62 said:I have the working I2C, can I use the same mode to open the device, and then access with the functions spi_write, ... read, as in the driver for the BM280?
yes the devicetree is a generic API that is supposed to work for all supported peripherals.
Regards,
Markus
Hello Fausto,
Fb62 said:I have the working I2C, can I use the same mode to open the device, and then access with the functions spi_write, ... read, as in the driver for the BM280?
yes the devicetree is a generic API that is supposed to work for all supported peripherals.
Regards,
Markus