Open mutantbob opened 2 years ago
This is a problem in the HAL of your PAC. I've tried to solve this for the RISC-V MCUs of E310x family by introducing a shared device concept based on this design with this similar implementation in the HAL
So sadly if you need shared bus, the HAL implementor for your SoC will need to add that.
If I want to transfer data between an OV5642 camera (SPI) and an ST7789 display, how do I share the SPI bus?
The
display_interface_spi::SPIInterface
takes ownership of the SPI object, preventing me from sharing it with the OV5642, and I can not buffer the entire image (320x240 even converted to 16 bits would exceed the RAM on the Arduino Uno).