VSPI, HSPI and SDMMC together.
Posted: Sat Aug 24, 2019 2:49 pm
I make some POV project.
Both VSPI and HSPI are used for 2 led strips control. SPI speed is maximal of possible one. It is 80MHz.
Folowing default pins used:
vspi
SCLK = 18, MISO = 19, MOSI = 23, SS = 5
hspi
SCLK = 14, MISO = 12, MOSI = 13, SS = 15
SD card is connected to pins: 27, 21, 4, 22.
There is no problem to read and to show pictures.
But I want to read some video and to show it on POV.
I want use SDMMC library and connections:
D2 12
D3 13
CMD 15
CLK 14
D0 2
D1 4.
Because of it I have to change hspi pins to alternative recommended:
SCLK=25, MISO=26, MOSI=27, SS=32.
vspi will be the past:
SCLK = 18, MISO = 19, MOSI = 23, SS = 5.
The question:
Is it possible to use hspi, vspi and SD_MMC together?
Will speed is left the same?
Thanks!
Both VSPI and HSPI are used for 2 led strips control. SPI speed is maximal of possible one. It is 80MHz.
Folowing default pins used:
vspi
SCLK = 18, MISO = 19, MOSI = 23, SS = 5
hspi
SCLK = 14, MISO = 12, MOSI = 13, SS = 15
SD card is connected to pins: 27, 21, 4, 22.
There is no problem to read and to show pictures.
But I want to read some video and to show it on POV.
I want use SDMMC library and connections:
D2 12
D3 13
CMD 15
CLK 14
D0 2
D1 4.
Because of it I have to change hspi pins to alternative recommended:
SCLK=25, MISO=26, MOSI=27, SS=32.
vspi will be the past:
SCLK = 18, MISO = 19, MOSI = 23, SS = 5.
The question:
Is it possible to use hspi, vspi and SD_MMC together?
Will speed is left the same?
Thanks!