Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
normally not, that's depend if you are able to control the data flow very properly, because the I2S is a continuous protocol, used to transport audio samples, and the SPI protocol is more a "burst" transmission.
SPI and I2S are quite different.
But you can assume the following connection:
SPI I2S
MISO nc
MOSI SD
SCK SCK
CS nc
GPIO WS
You can try a SW implementation if:
- your SPI interface has a selectable word length (and one match your I2S device)
- you have enough CPU time
- a very fast core to manage WS into the proper timing.
It may be quite hard.
Let us know your results if you try it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.