Download VLSI - nexp
Transcript
VLSI Solution y VS1000 Programmer’s Guide VSMPG PKP Table of Contents 1 Introducing the VS1000 1.1 VS DSP Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 VS1000 Integrated Peripherals . . . . . . . . . . . . . . . . . . . . . . . . 1.3 VS1000 Register Map and Frequently Used Tables . . . . . . . . . . . . . 5 6 7 8 2 Software Tools 12 3 Examples 3.1 Hello, World! . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Making the LEDs blink . . . . . . . . . . . . . . . . . . . . 3.3 Adjusting the Player User Interface . . . . . . . . . . . . . . 3.4 Hooking custom storage controller . . . . . . . . . . . . . . 3.5 Setting your own USB descriptors . . . . . . . . . . . . . . 3.6 Booting from SPI EEPROM . . . . . . . . . . . . . . . . . . 3.7 Booting from NAND FLASH . . . . . . . . . . . . . . . . . 3.7.1 Nand Flash startup sequence and structure . . . . . 3.7.2 Preparing a nand flash image . . . . . . . . . . . . . 3.7.3 Using the VS1000 Demostration/Developer Board as writer . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8 Additional examples . . . . . . . . . . . . . . . . . . . . . . 3.8.1 playloop.c . . . . . . . . . . . . . . . . . . . . . . . . 3.8.2 display.c . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.3 execdemo1.c and execdemo2.c . . . . . . . . . . . . . 3.8.4 power.c . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.5 nandprog.c . . . . . . . . . . . . . . . . . . . . . . . 3.9 Using an external display . . . . . . . . . . . . . . . . . . . 14 14 18 19 21 25 28 32 32 33 4 Peripheral documentation 4.1 VS1000 System Controller . . . . . . . . . . . 4.1.1 General . . . . . . . . . . . . . . . . . 4.1.2 Registers . . . . . . . . . . . . . . . . 4.1.3 Conserving Power . . . . . . . . . . . 4.1.4 I/O Pin Routing . . . . . . . . . . . . 4.1.5 VS1000A ROM code usage . . . . . . 4.2 PLL controller v1.0 2006-05-10 . . . . . . . . . 4.2.1 General . . . . . . . . . . . . . . . . . 4.2.2 DAC Interpolator control . . . . . . . 4.2.3 Registers . . . . . . . . . . . . . . . . 4.2.4 Overview of VS1000A Clocking . . . . 4.2.5 VS1000A ROM code usage . . . . . . 4.3 Interruptable General Purpose IO (VS1000A) Rev. 0.12 Preliminary 2007-03-23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . nand flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v1.0 2002-04-23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 36 36 36 36 37 37 38 39 39 39 39 41 42 42 44 44 44 44 46 47 48 Page 3(83)