PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
15.2
VS1000 Interrupt Sources
VS1000 Interrupt Sources
Name
Vector
Source
INTV_DAC
0
Digital to Analog Converter
INTV_SPI
1
Serial Peripheral Interface
INTV_USB
2
Universal Serial Bus
INTV_NFLSH
3
Byte-wide Bus (Nand Flash) Controller
INTV_TX
4
UART Transmit
INTV_RX
5
UART Receive
INTV_TIM0
6
Timer 0 underflow
INTV_TIM1
7
Timer 1 underflow
INTV_REGU
8
Input Voltage Monitor
INTV_GPIO0
9
I/O Pin Controller 0
INTV_GPIO1
10
I/O Pin Controller 1
15.3
VS1000 ROM code usage
The ROM code in VS1000 has the following usage for interrupts:
DAC interrupt handles feeding of samples from audio FIFO to DAC registers.
UART RX interrupt is used for starting the ROM monitor. If you perform stdio opera-
tions in your program, you should disable RX interrupt during at least fread() to prevent
monitor to be erroneously triggered.
Timer 0 interrupt is used for software real time counter. The divider is automatically
changed according to the PLL so that the timer always counts 6 MHz cycles (except for
a short while when the PLL is changed).
Rev. 0.20
2011-10-04
Page