Hi,
I was was wondering if you had any sample schematics for using the QFP version of the VS1010 with SD card and I2S output?
Is all the demo / sample SW for the QFN parts compatible with the QFP?
VS1010 QFP
Re: VS1010 QFP
Hi!
Obviously 4-bit SD stuff isn't available and there are less pins available. For all removed pins have a look at datasheet chapter 5.8
I2S pins are multiplexed with SPDIF pins.
PERIP(PERIP_CF) |= (1 << 3);
to get the I2S to GPIO0_1 GPIO1_14 GPIO1_13 and GPIO1_12.
Also pins have to be in perip mode:
PERIP(GPIO0_MODE) |= (1 << 1);
PERIP(GPIO1_MODE) |= (1 << 14)|(1<<13)|(1 << 12);
After that I got out something which looked like I2S to oscilloscope screen.
I've attached schematics of one design which hasn't yet thoroughly tested.
So far DAC, SD card and now I2S are confirmed to work in that specific design by running the software and playing audio
Obviously 4-bit SD stuff isn't available and there are less pins available. For all removed pins have a look at datasheet chapter 5.8
I2S pins are multiplexed with SPDIF pins.
PERIP(PERIP_CF) |= (1 << 3);
to get the I2S to GPIO0_1 GPIO1_14 GPIO1_13 and GPIO1_12.
Also pins have to be in perip mode:
PERIP(GPIO0_MODE) |= (1 << 1);
PERIP(GPIO1_MODE) |= (1 << 14)|(1<<13)|(1 << 12);
After that I got out something which looked like I2S to oscilloscope screen.
I've attached schematics of one design which hasn't yet thoroughly tested.
So far DAC, SD card and now I2S are confirmed to work in that specific design by running the software and playing audio

- Attachments
-
- vs1010_LQFP_simple_board_v10.pdf
- (54.11 KiB) Downloaded 52 times
Re: VS1010 QFP
Thank you for a quick reply.
Do you have any sample code for the schematic you attached?
Do you have any sample code for the schematic you attached?
Re: VS1010 QFP
I have no special code for that board. Only some test code, which doesn't do anything interesting.
I put those those few lines to some project, to get the pin states correct and executed and after that played one MP3. All VS1010 programs should work with that board.
What kind of application is your target?
I put those those few lines to some project, to get the pin states correct and executed and after that played one MP3. All VS1010 programs should work with that board.
What kind of application is your target?
Re: VS1010 QFP
Hi!
Just a quick remark, the LQFP and QFN versions are almost completely software compatible. Only the 4 bit SD bus isn't available, so only runlevel 2 can be used to write to the SD card using usb, not runlevel 14. Runlevel 2 uses 1-bit SD bus and 12M USB. Runlevel 14 uses 4-bit SD bus and 480M USB. All other ROM software such as players etc use only 1 bit SD bus. All firmware released for the normal developer board should work with the simple LQFP board also, unless some external IC is not available or some pin cannot be connected. As Hannu said, peripheral pins must be configured as needed to get I2S, SPDIF or MEMS microphone capture.
-Panu
Just a quick remark, the LQFP and QFN versions are almost completely software compatible. Only the 4 bit SD bus isn't available, so only runlevel 2 can be used to write to the SD card using usb, not runlevel 14. Runlevel 2 uses 1-bit SD bus and 12M USB. Runlevel 14 uses 4-bit SD bus and 480M USB. All other ROM software such as players etc use only 1 bit SD bus. All firmware released for the normal developer board should work with the simple LQFP board also, unless some external IC is not available or some pin cannot be connected. As Hannu said, peripheral pins must be configured as needed to get I2S, SPDIF or MEMS microphone capture.
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy