VS1005 Breakout Board Mk2 User Instructions =========================================== 2018-09-12 Introduction ============ The VS1005 Breakout Board Mk2 is a PCB board that converts the LFGA-88 package to standard 0.1" double pin headers. It is intended for prototyping products that use VS1005 family ICs. Without need to solder the high density LFGA-88 package and with all needed auxilliary components to start the VS1005, the VS1005 Breakout Board Mk2 simplifies and speeds up product development. The VS1005 Breakout Board Mk2 is designed for applications which require HiRes recorder capability or microSD card as mass storage. It also has a portion that can be broken away if not needed. This portion of the PCB contains crystals, audio and USB connectors and RF input components for FM radio. The board can be powered from pin 4 of JP2 (VS1005 pin 4) VHIGH or from the USB connector. Hardware Features ================= - Converts the LFGA-88 package to 4 pcs of 26 pin 0.1 inch pitch double pin headers. - All VS1005 pins available at the pin headers. - 4 ground pins at each corner of the pin headers. - Anti-alias RC filtering at AD inputs. - Power decoupling capacitors mounted close to the VS1005 pins. - Bias resistors for selected pins to boot VS1005 in default mode. - Diode and capacitor to allow RTC to run during short power glitches. - Two leds for debugging. - microSD card connector. - VS23S040D-B memory (4 MBit S-RAM) for buffering. Additional basic components PCB -------------------------------- - Stereo 3.5mm jack and DC blocking capacitors for line level audio input. - Stereo 3.5mm jack and DC blocking capacitors for high impedance headphones or line out. - RF matching components for FM radio input, headphone wire can be used as antenna. - Mini USB connector to connect the board to a PC or other host. - USB A connector to connect a USB memory stick to the board when using VS1005 in host mode. - 12.288MHz crystal with resistor and capacitors for VS1005 master clock. - 32KHz crystal with capacitors for VS1005 RTC (real time clock). Default Firmware ================ The board is delivered with VSOS 3.56 installed to the internal FLASH. The rest of the internal FLASH has been formatted to FAT and it contains audio driver and recording software. The firmware can be updated or replaced with application software. When an application is compiled for VSOS, it is installed to the board by plugging it to a PC. The VS1005 internal Flash appears as a removable disk. You can then copy your VSOS software to it. Complete firmware replacement is also available, for example an upgrade to a newer version of VSOS. It is be done with VSIDE Internal Flash Programming utility via the serial port. Basic usage =========== 1. HiRes recorder ----------------- - Connect high impedace headphones to CN4, connect line level audio source to CN1. - Connect BLACK (-) pin of the USB-Serial cable to any GND of board. - Connect RX (green) pin of the USB-Serial cable to pin 15 of JP4 (pin 37 of VS1005). - Connect TX (yellow or white) pin of the USB-Serial cable to pin 16 of JP4 (pin 38 of VS1005). - Start a terminal program at the PC, settings: USB-serial-port, 115200 baud, 8,n,1. - Connect red (+) pin of the USB-Serial cable to Pin 4 of JP2 (VS1005 pin 4) VHIGH. -> LED1 lits up. The VSOS will send boot log to the serial port terminal. The HiRes recorder software starts. 2. Serial terminal ------------------ - Connect BLACK (-) pin of the USB-Serial cable to any GND of board. - Connect RX (green) pin of the USB-Serial cable to pin 15 of JP4 (pin 37 of VS1005). - Connect TX (yellow or white) pin of the USB-Serial cable to pin 16 of JP4 (pin 38 of VS1005). - Start a terminal program at the PC, settings: USB-serial-port, 115200 baud, 8,n,1. - Connect red (+) pin of the USB-Serial cable to Pin 4 of JP2 (VS1005 pin 4) VHIGH. -> LED1 lits up. The VSOS will send boot log to the serial port terminal. The HiRes recorder software starts. - Use CTRL-C to return to VSOS SHELL -> S:> prompt appears. 3. Formatting SD card in startup format --------------------------------------- - Insert SD card - Connect UART cable as described in sections 1 and 2. - IF format menu appears (File system is not FAT32) -> @M@4a4d@@ @t@Format Menu@4a4d@@ @i00+@<-- Exit@@ @i01-@@@ @i02-@Card is not FAT32!@@ @i03-@Format SD Card?@@ @i04-@WARNING:@@ @i05-@All data will be@@ @i06-@permanently lost!@@ @i07-@@@ @i08-@ Yes@@ @i09-@ No@@ @E@@ - To erase SD card and format it to FAT32 by pushing 'd' (go down), the menu is rewritten so that the following line changes: @i08+@ Yes@@ The plus sign indicates this option has now been selected. Push 'r' (go right) to activate. 4. Getting recordings to PC --------------------------- - Connect jumper wires from pin 9 and 10 of JP2 (pin 9 and 10 of VS1005, GPIO0-0 and GPIO0-1) to pin 7 of JP2 and pin 3 of JP4 (IOVDD). This does the same as pushing buttons S1 and S2 simultaneously on the VS1005 Developer Board. - Connect USB cable to PC. - Connect USB cable to break out board. - The SD card should appear as a USB mass storage device. - After copying files, safely remove the disk or unmount it. - Remove jumper wires and reboot the break out board. 5. Software upload ------------------ - Connect a jumper wire from pin 9 of JP2 (pin 9 of VS1005, GPIO0-0) to pin 7 of JP2 (pin 7 of VS1005, IOVDD). This does the same as pushing button S1 on the VS1005 Developer Board. - Connect USB cable to a PC. - LED1 lits up and the VSOS detects "1" at GPIO0-0, it then presents the internal Flash of VS1005 as removable disk to the PC. - You can now copy your own applications, VSOS drivers and configurations to the VS1005 disk. - After copying files, safely remove the disk or unmount it. - Remove the jumper wire and reboot the break out board. 6. Flashing new kernel ---------------------- - Connect UART cable as described in sections 1 and 2. - Exit from HiRes recorder with Ctrl-C. - Start vs3emu monitor mode with command vs3emuc. - Close serial terminal. - Run internal flash prommer from VSIDE to update the kernel. --- end of file ---