VS1010 QFP

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
AudioJack
User
Posts: 11
Joined: Thu 2020-07-09 18:22

VS1010 QFP

Post by AudioJack » Sat 2020-10-31 22:40

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?

Hannu
Senior User
Posts: 144
Joined: Mon 2016-05-30 11:54

Re: VS1010 QFP

Post by Hannu » Mon 2020-11-02 11:36

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 :)
Attachments
vs1010_LQFP_simple_board_v10.pdf
(54.11 KiB) Downloaded 52 times

AudioJack
User
Posts: 11
Joined: Thu 2020-07-09 18:22

Re: VS1010 QFP

Post by AudioJack » Mon 2020-11-02 12:34

Thank you for a quick reply.
Do you have any sample code for the schematic you attached?

Hannu
Senior User
Posts: 144
Joined: Mon 2016-05-30 11:54

Re: VS1010 QFP

Post by Hannu » Mon 2020-11-02 17:11

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?

User avatar
Panu
VLSI Staff
Posts: 2798
Joined: Tue 2010-06-22 13:43

Re: VS1010 QFP

Post by Panu » Thu 2020-11-05 9:56

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
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply