Sharing SD card between µC and VS1053

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
JHuet
User
Posts: 2
Joined: Fri 2017-10-06 16:44

Sharing SD card between µC and VS1053

Post by JHuet »

Hello,
Beeing new with the VS1053 or VS1163 as my µC can't spend to much time to feed the VS10xx with audio file from SD card, is-there a way to share the SD card as to write audio files and other in the SD card by the µC but play them directly by VS10xx reading it, thus making the µC free for other tasks during the playing as i want to avoid too much IC's on my board ?
Of course the file selection , play, pause and other have to be made by the µC.
Thank you for your help.
Jhuet
User avatar
pasi
VLSI Staff
Posts: 2120
Joined: Thu 2010-07-15 16:04

Re: Sharing SD card between µC and VS1053

Post by pasi »

DREQ is always an output pin, so you need a solution for that. If your controller can tri-state (put into input mode) the pins used for uSD, and you solve the DREQ being an output, it is possible.

See 5.3 Bypass Mode from standalone.pdf from http://www.vlsi.fi/en/support/evaluatio ... board.html

In effect you reset the vs10xx to normal decoding mode (or keep in reset) while accessing the uSD card, then send the sci-controlled standalone player application for the vs10xx to play from the uSD card.

Note that both need to use the uSD in SPI communication mode, and/or you might need a controllable regulator for the uSD power, so you can reset the uSD by power-cycling if it gets confused.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
JHuet
User
Posts: 2
Joined: Fri 2017-10-06 16:44

Re: Sharing SD card between µC and VS1053

Post by JHuet »

Many thanks, i check your solution, and come back if necessary
User avatar
pasi
VLSI Staff
Posts: 2120
Joined: Thu 2010-07-15 16:04

Re: Sharing SD card between µC and VS1053

Post by pasi »

Note: I have not actually tried an open-collector approach.

The vs1053 USB Hifi player uses buffers. ( http://www.vlsi.fi/en/support/evaluatio ... layer.html )
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Post Reply