Download VLSI - Ocean Controls
Transcript
VLSI Solution y VS1000 Programmer’s Guide PKP VSMPG 4. PERIPHERAL DOCUMENTATION IOVDD voltages (for AVDD and IOVDD there are separate pins for regulator output and chip input). USB powering When USB is active, USB requires at least 2.5V, which is more than the default IOVDD value, so the voltage for the USB pins is taken from AVDD output of the internal voltage regulator. SCI STATUS: System Flags The SCI STATUS register is the second System Controller register. It is used to control and read the state of several system level peripherals. Name SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCISTF SCI STATUS Bits (r/w) Bits Description SLOW CLKMODE 15 Divide XTALI by 256 USB DN OUT 14 D- pin output state in GPIO mode USB DP OUT 13 D+ pin output state in GPIO mode USB DDR 12 Drive D+/D- pins directly as GPIO VCM OVERLOAD 11 VCM pin overload, CBUF disconnected VCM DISABLE 10 Disable VCM protection USB DP 9 State of D+ pin USB DN 8 State of D- pin USB DIFF ENA 7 Enable USB data input USB PULLUP ENA 6 Activate 1.5kOhm D+ pull-up resistor REGU POWERLOW 5 Regulator input too low for good AVDD REGU POWERBUT 4 State of Power Button (“Play/Pause”) pin ANADRV PDOWN 3 Analog Output Driver power down control ANA PDOWN 2 Analog Core (bias) power down control REGU CLOCK 1 Clock in new regulator voltage values REGU SHUTDOWN 0 Regulator Shutdown control USB detection USB detection and device attachment/detachment are handled using the System Controller. Actual USB data traffic is handled using the USB peripheral itself. It is suggested that bot the D+ and D- pins have a 1 megaohm pull-up resistor on the PCB. This makes both D+ and D- pins weakly bias to “1” state when the device is not connected to a USB port. When the USB cable is attached, the 15 kilo-ohm pull-down resistors of the host USB hub pull D+ and D- low, pulling the pins to “0” state. Thus detecting SCISTF USB DN = 0 indicates USB cable connect. Upon detecting the connection of the USB cable, software should switch to USB voltages, Rev. 0.15 Preliminary 2008-06-30 Page 43(87)