26-Aug-10 USB-SPI HW144-7 www.hexwax.com Basic Operation To the electronic system (‘device’), USB-SPI l" />
參數(shù)資料
型號(hào): TPFLXIC008
廠商: Microchip Technology
文件頁(yè)數(shù): 2/9頁(yè)
文件大?。?/td> 0K
描述: IC MICROCONTROLLER
標(biāo)準(zhǔn)包裝: 1
系列: *
p2 of 9
26-Aug-10
USB-SPI
HW144-7
www.hexwax.com
Basic Operation
To the electronic system (‘device’), USB-SPI looks like a
SPI serial slave device. To the PC (‘host’), it looks like a
Human Interface Device (HID) with which it may
exchange information using simple commands.
Using the HID USB profile means that no driver
installation is required and immediate compatibility is
assured on Windows, Linux and OS systems.
Additionally, software can find the device automatically
without needing to know which virtual COM port it is
occupying.
Pin Functions
The pin functions are shown in table 2. The function of
the virtual I/O pins is reconfigurable, so their default
settings are also shown. Note that the output pins are in
a tri-state condition until ~20μs after power-on.
Table 2. Device Pinout
DIL
SSOP Name Description
1
4
VIO0
Vpp
Virtual I/O / *Reset# (in)
TEAclipper Vpp
5
VIO1
Virtual I/O / *Tx Ind (out)
6
VIO2
Virtual I/O / *Rx Ind (out)
11
7
VIO3
Virtual I/O / *Tx/Rx Ind (out)
7
8
SS#
Slave Select input (Active low)
18
9
MISO Slave serial data output
12
10
VIO4
Virtual I/O / *All-Systems-Go# (out)
22
11
SCK
Slave serial data clock input
13
12
VIO5
Virtual I/O / *Suspend# (out)
21
13
MOSI Slave serial data input
17
14
VIO8
Virtual I/O / *Tx Buffer Empty (out)
23
15
VIO9
Virtual I/O / *Send (int)
24
16
VIO10 Virtual I/O / *Rx Buffer Not Full (out)
14
17
Vusb
USB supply filter
15
D-
USB data -
27
18
PGC
TEAclipper PGC
16
D+
USB data+
28
19
PGD
TEAclipper PGD
8,19
20
Vss
Power ground reference
20
1
Vdd
Power positive input
9
3
OSC1 Oscillator output
10
2
OSC2 Oscillator input
* = default configuration
# = active low
The pin functions are described in detail below.
Vss, Vdd, Vusb
Vss is the power supply ground reference. Vdd should
be connected to a regulated supply, for example the
USB bus power.
Vusb should be connected, via a
470nF capacitor, to Vss. See for example C8 in figure 2.
OSC1, OSC2
OSC1 and OSC2 should be connected to a 12MHz
parallel cut crystal circuit with 22pF capacitors. It may
be replaced with a 12MHz resonator with 0.25% total
tolerance.
SCK, MOSI, MISO, SS#
SPI serial data I/O. Data is input on MOSI and output
on MISO if SS# is asserted (active low) and the SCK
input is clocked. SPI can be operated in any of modes
“A”, “B”, “C” or “D” (also known as modes “3”, “1”, “2”
and “0”, and “1,1”, “0,1”, “1,0”, “0.0”, respectively). Refer
to table 3. The maximum permitted clock rate is 1MHz.
Table 3. SPI Modes
MODE CPOL CPHA Description
A*
3
1,1
1
SCK idle high
Data changes on SCK high-to-low
Data read on SCK low-to-high
B
1
0,1
0
1
SCK idle low
Data changes on SCK low-to-high
Data read on SCK high-to-low
C
2
1,0
1
0
SCK idle high
Data changes on SCK low-to-high
Data read on SCK high-to-low
D
0
0,0
0
SCK idle low
Data changes on SCK high-to-low
Data read on SCK low-to-high
* = default configuration
Vpp, PGC, PCD
TEAclipper programming pins. Refer to the Delivery
and Programming section for details. Note that the Vpp
pin may be subject to voltages as high as 12V during
programming.
VIO pins
The VIO pin functions can be reconfigured as detailed in
the customization section. The default functions are
shown in table 2. The pins can be configured as follows.
No Function
The pin is a digital input that has no effect. To minimize
power consumption, it should be biased high or low.
This setting is available on all VIOs.
Reset
The pin is an active low reset input.
Resetting the
device effectively implements the soft detach function.
This setting is available on VIO0 only.
USB Power Sense
If the device is capable of operating while not plugged
into a USB port, a USB Power Sense input should be
provided.
This pin should indicate that a voltage is
detected on the V+ pin of the USB connector. It is used
to reduce power consumption by entering into a sleep
mode when the USB is not present, and also to ensure
that the USB engine correctly initializes when the device
is plugged in. The SPI port is not operational during
sleep. This setting must be on VIO9.
Self Power Sense
If the device is capable of operating while not plugged
into a USB port, a Self Power Sense input may be
provided. This pin should indicate when the device is
not drawing power from the USB bus and can help the
PC manage its power budget. This setting is available
on any VIO pin.
Tx Indication
Output for connecting to a transmit indication LED. It
turns on for approximately 100ms when data has been
transmitted to the host. This setting is available on any
VIO pin except VIO0.
相關(guān)PDF資料
PDF描述
MS27467T15B97SA CONN PLUG 12POS STRAIGHT W/SCKT
0351820192 CONN TAB 1POS TAB VERT RED
VE-B5N-IW-F1 CONVERTER MOD DC/DC 18.5V 100W
0351820190 CONN TAB 1POS TAB VERT NATURAL
VE-B53-IX-F4 CONVERTER MOD DC/DC 24V 75W
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TPFLXIC009 功能描述:插座和適配器 FlexiPnl USB-I2C-DIL RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC010 功能描述:插座和適配器 FlexiPnl USB-I2C-SS RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC011 功能描述:插座和適配器 EXPNIO-USB-FS-DIL-28 FlexiPanel RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC012 功能描述:插座和適配器 expandIO-USB-PT-FS FlexiPanel RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC013 功能描述:插座和適配器 expandIO-USB-SS FlexiPanel RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x