Hello everyone,
I have a project which used a Luckfox Pico Ultra W board and touch LCD (LF40-480480-ARK).
Now I want to add an interface with SPI module (RF module) via SPI interface.
But its seem SPI pins used for LCD
SPI2_MOSI: GPIO1_C0
SPI2_MISO: GPIO1_C1
SPI2_CLK: GPIO1_C2
SPI2_CS0: GPIO1_C3
So, please help to advice remap SPI pins in this case?
If use a soft SPI or I2C, Does LuckFox SDK support this?
Thank you
[SPI-Configuration] Luckfox Pico Ultra W
Hello, if there is a need for RGB, then the Luckfox Pico Ultra does not have a redundant SPI controller interface, but the linux kernel has a driver that supports emulating the GPIO to SPI, you need to set CONFIG_SPI_GPIO=y in the kernel, and the device tree is configured according to the actual situation
Hello Crocodile
Thanks for your feedback.
Could you please let me know that will have option to config for soft I2C ?
Thank you.
Thanks for your feedback.
Could you please let me know that will have option to config for soft I2C ?
Thank you.
Similar to software SPI, you can enable CONFIG_I2C_GPIO and modify the device tree
Hello Crocodile
Yes, Its OK.
Thanks for your recommendation.
Yes, Its OK.
Thanks for your recommendation.