Download VLSI - Ocean Controls

Transcript
VLSI
Solution
y
VS1000 Programmer’s Guide
VSMPG
PKP
Table of Contents
1 Introducing the VS1000
1.1 VS DSP Basics . . . . . . . . . . . . . . . . . . . .
1.2 VS1000B RAM Memory Map . . . . . . . . . . . .
1.3 VS1000 Integrated Peripherals . . . . . . . . . . .
1.4 VS1000 Register Map and Frequently Used Tables
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2 Software Tools
14
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 . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
a
.
.
.
.
.
.
.
.
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
nand flash
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
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 VS1000 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 VS1000 Clocking
4.2.5 VS1000 ROM code usage . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Rev. 0.15 Preliminary
5
6
7
7
9
2008-06-30
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16
16
20
21
24
28
31
35
35
36
37
39
39
39
39
40
40
41
42
42
42
42
44
45
45
47
47
47
47
49
50
Page 3(87)