PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
4
VS1000 Integrated Peripherals
VS1000 contains several integrated peripherals. They are controlled by memory-mapped
special function registers. From the programmer’s point of view this means reading and
writing special memory locations. The peripheral registers in VS1000 are located in the
X address space.
VS1000 chip has the following integrated peripherals:
•
21 GPIO pins multiplexed with peripherals, each capable of generating an interrupt
•
SPI port with master/slave operation and programmable Frame Sync
•
UART port with programmable bit rate and framing error detection
•
USB port with 12 Mbit/s signaling rate and 4 KiB of buffer memory
•
Digital-to-Analog converter and integrated earphone driver
•
Byte-wide Bus / Nand Flash controller with fast 32-byte buffer and ECC calculation
•
2 32-bit timers with shared master clock divider
•
Interrupt controller, 11 interrupt sources
•
3 programmable linear regulators for generating analog, I/O and core voltages
•
Internal oscillator for external crystal, can also use external oscillator
•
Integrated Clock Generator with PLL and clock multiplier and low-speed modes
•
Watchdog timer
The VS1000 has 76 KiB of program ROM and 8 KiB of program RAM. While the latter
might seem like a small amount, note that the ROM code contains many useful rou-
tines, interfaces and tables the RAM code can access. Many internal functions can be
replaced or augmented by hooking a handler vector of a ROM routine.
The amount of data RAM available varies depending on the application. If Vorbis playing
is not used, it can be over 50 KiB. For programs that do play Vorbis files, at least 2652
bytes can be used when Vorbis files are playing.
The complete peripheral documentation is in its own chapter.
Rev. 0.20
2011-10-04
Page