Use of eMMC and SPI on Wrover

colinives
Posts: 37
Joined: Tue Mar 03, 2020 2:53 pm

Use of eMMC and SPI on Wrover

Postby colinives » Wed Oct 21, 2020 10:13 am

Hi again,

I need to connect to an eMMC device (4 data lines) and an SPI peripheral. I'm confused about the the of the SPI pins on the Wrover as these are shared with the internal flash. Can I use another line as the CS (rather than pin 19/SCS/CMD) and share the spirit pins or do I need to assign totally separate pins for my SPI channel.

Presumably, the eMMC uses one SPI channel; Pin assignment:

D3: IO13
D2: IO12
D1: IO4
D0: IO2
CMD: IO15
CLK: IO14

The Flash uses these

SHD: IO17
SWP: IO10
CS/CMD: IO11
SDI: IO8
SDO: IO7
SCL: IO6

I currently have my other SPI device on these lines but there will be problems due to flash. Why are these lines brought out - I'm assuming there is a way to run another external SPI device pin them - maybe with an alternative CS Line?

Thanks

Who is online

Users browsing this forum: Vineethad and 238 guests