Usb Interface

Usb Interface

Schick CDR HS USB White Blue Hub Remote Interface
Schick CDR HS USB White Blue Hub Remote Interface
Paypal   US $770.00
OPTI PAC Interface with USB Cable ULTIMARC
OPTI PAC Interface with USB Cable ULTIMARC
Paypal   US $19.99
M Audio MobilePre Mobile Pre USB Interface and Preamp
M Audio MobilePre Mobile Pre USB Interface and Preamp
Paypal   US $40.00
Tascam US 122 USB Audio MIDI Interface
Tascam US 122 USB Audio MIDI Interface
Paypal   US $69.99
USB 20 Interface SATA Hard Drive Enclosure works with S ATA or IDE Hard Drive
USB 20 Interface SATA Hard Drive Enclosure works with S ATA or IDE Hard Drive
Paypal   US $23.99
New Mini USB 20 Car Charger Adapter for All of USB Interface Digital Products
New Mini USB 20 Car Charger Adapter for All of USB Interface Digital Products
Paypal   US $1.60
TASCAM US 122MKII usb 20 Interface
TASCAM US 122MKII usb 20 Interface
Paypal   US $120.00
USB TO MIDI INTERFACE CABLE ADAPTER CONVERTER FOR PC
USB TO MIDI INTERFACE CABLE ADAPTER CONVERTER FOR PC
Paypal   US $9.99
NEXSTAR 3 EXTERNAL 35 HARD DRIVE ENCLOSURE eSATA 7 USB 20 INTERFACE
NEXSTAR 3 EXTERNAL 35 HARD DRIVE ENCLOSURE eSATA 7 USB 20 INTERFACE
Paypal   US $49.00
ENTTEC 70303 USB DMX Open 512 Ch PC Based Interface for DJ Lighting USA Seller
ENTTEC 70303 USB DMX Open 512 Ch PC Based Interface for DJ Lighting USA Seller
Paypal   US $54.01
PC USB Interface to MIDI Keyboard Music Line Converter Cable Cord Splitter
PC USB Interface to MIDI Keyboard Music Line Converter Cable Cord Splitter
Paypal   US $5.99
USB to MIDI Converter Cable Adapter Keyboard Interface Music MINI USB Adapter
USB to MIDI Converter Cable Adapter Keyboard Interface Music MINI USB Adapter
Paypal   US $5.99
M AUDIO FASTTRACK GUITAR MIC RECORDING INTERFACE USB FAST TRACK
M AUDIO FASTTRACK GUITAR MIC RECORDING INTERFACE USB FAST TRACK
Paypal   US $41.00
Pioneer CD IU51V USB Interface Cable for iPod iPhone
Pioneer CD IU51V USB Interface Cable for iPod iPhone
Paypal   US $44.99
6ft USB INTERFACE CABLE for IFC 300PCU CANON EOS Camera
6ft USB INTERFACE CABLE for IFC 300PCU CANON EOS Camera
Paypal   US $1.75
M Audio 2 in 4 out USB MIDISPORT 2X4 Interface Brand NEW in Box
M Audio 2 in 4 out USB MIDISPORT 2X4 Interface Brand NEW in Box
Paypal   US $77.00
USB TO MIDI CABLE ADAPTER KEYBOARD INTERFACE CONVERTER XP VISTA 7
USB TO MIDI CABLE ADAPTER KEYBOARD INTERFACE CONVERTER XP VISTA 7
Paypal   US $10.71
ONE by APOGEE Professional USB Music Interface
ONE by APOGEE Professional USB Music Interface
Paypal   US $169.95
CME MATRIX USB AUDIO INTERFACE BOX N222 K SYSTEM 0620717
CME MATRIX USB AUDIO INTERFACE BOX N222 K SYSTEM 0620717
Paypal   US $19.99
V14 ELM327 OBD2 OBDII CAN BUS Auto Diagnostic USB Interface Code Scanner Reader
V14 ELM327 OBD2 OBDII CAN BUS Auto Diagnostic USB Interface Code Scanner Reader
Paypal   US $5.99
Midiman Midisport 2x2 MIDI To USB interface
Midiman Midisport 2x2 MIDI To USB interface
Paypal   US $39.99
KENWOOD EXCELON KDC X693 CD RECEIVER WITH USB INTERFACE
KENWOOD EXCELON KDC X693 CD RECEIVER WITH USB INTERFACE
Paypal   US $65.00
M Audio Mobile Pre USB Audio Interface and Preamp original MobilePRE
M Audio Mobile Pre USB Audio Interface and Preamp original MobilePRE
Paypal   US $40.00
USB GUITAR 2 PC INTERFACE CABLE LINK AUDIO ELECTRIC ACOUSTIC PRE AMP AMPLIFIER
USB GUITAR 2 PC INTERFACE CABLE LINK AUDIO ELECTRIC ACOUSTIC PRE AMP AMPLIFIER
Paypal   US $21.99
Tascam US 122L USB 20 Audio MIDI Interface
Tascam US 122L USB 20 Audio MIDI Interface
Paypal   US $16.00
NWT GUITAR TO USB INTERFACE LINK CABLE RECORDING BLACK
NWT GUITAR TO USB INTERFACE LINK CABLE RECORDING BLACK
Paypal   US $.01
4GB Mini LCD Blue Display MP3 Player FM Radio Built in USB Interface
4GB Mini LCD Blue Display MP3 Player FM Radio Built in USB Interface
Paypal   US $.99
Zoom R8 8 Track SD Recorder Sampler USB Interface
Zoom R8 8 Track SD Recorder Sampler USB Interface
Paypal   US $61.00
usb to midi keyboard interface converter cable adapter IN OUT Music Keyboard
usb to midi keyboard interface converter cable adapter IN OUT Music Keyboard
Paypal   US $5.99
New PC USB to MIDI Keyboard Music Line Converter Cable Adapter PC Interface
New PC USB to MIDI Keyboard Music Line Converter Cable Adapter PC Interface
Paypal   US $5.99
50 Watt Megaphone USB Interface Handheld Bullhorns Siren Amplifier Speaker Music
50 Watt Megaphone USB Interface Handheld Bullhorns Siren Amplifier Speaker Music
Paypal   US $49.95
SEAGATE GO DOCK FREE AGENT USB 20 INTERFACE
SEAGATE GO DOCK FREE AGENT USB 20 INTERFACE
Paypal   US $5.00
Alesis iO4 Four Channel 24 Bit Computer USB Audio Recording Interface w Cubase
Alesis iO4 Four Channel 24 Bit Computer USB Audio Recording Interface w Cubase
Paypal   US $142.95
Rocketfish 2 Port USB 30 PCI Express Interface Card RF P2USB3 O2 122
Rocketfish 2 Port USB 30 PCI Express Interface Card RF P2USB3 O2 122
Paypal   US $13.95
iPad 3 iPhone 4 4S iPod to 35mm AUX USB Car Audio Disp Interface Cable for BMW
iPad 3 iPhone 4 4S iPod to 35mm AUX USB Car Audio Disp Interface Cable for BMW
Paypal   US $1.99
usb to midi keyboard interface converter cable adapter IN OUT Music Connector
usb to midi keyboard interface converter cable adapter IN OUT Music Connector
Paypal   US $5.99
25 SATA 22 PIN Interface HDD to Power ESATA ESATAUSB cable Free HD Cartridge
25 SATA 22 PIN Interface HDD to Power ESATA ESATAUSB cable Free HD Cartridge
Paypal   US $9.99
M Audio Fast Track MKII USB Audio Interface avid recording sound card pro tools
M Audio Fast Track MKII USB Audio Interface avid recording sound card pro tools
Paypal   US $90.99
NEW Micro SD TF Highspeed USB 20 Interface Memory Card Reader
NEW Micro SD TF Highspeed USB 20 Interface Memory Card Reader
Paypal   US $.35
Roland USB Audio Interface Octacapture 10 in 10 out Great Condition
Roland USB Audio Interface Octacapture 10 in 10 out Great Condition
Paypal   US $500.00
Leather Case with USB Interface Keyboard for 97 inch Tablet Black
Leather Case with USB Interface Keyboard for 97 inch Tablet Black
Paypal   US $9.99
Black Leather Case with Mini USB Interface Keyboard for 7 inch MID Tablet PC
Black Leather Case with Mini USB Interface Keyboard for 7 inch MID Tablet PC
Paypal   US $7.99
New Guitar to USB Interface Link Cable for PC Mac Recording
New Guitar to USB Interface Link Cable for PC Mac Recording
Paypal   US $.99
For JVC KS U30 USB AUDIO VIDEO iPOD INTERFACE CABLE KSU30 KD AVX77 KD AVX44
For JVC KS U30 USB AUDIO VIDEO iPOD INTERFACE CABLE KSU30 KD AVX77 KD AVX44
Paypal   US $9.99
USB TO MIDI interface M audio Midisport Series Works good with cd driver
USB TO MIDI interface M audio Midisport Series Works good with cd driver
Paypal   US $9.95
NEW PC USB TO MIDI KEYBOARD MUSIC LINE CONVERTER CABLE ADAPTER PC INTERFACE
NEW PC USB TO MIDI KEYBOARD MUSIC LINE CONVERTER CABLE ADAPTER PC INTERFACE
Paypal   US $5.99
USB to DMX Interface Controller cable
USB to DMX Interface Controller cable
Paypal   US $49.00
USB Interface Cable OBDII OBD2 KKL VAG 4091 For VW AUDI 100 80 90 A4 A6 A8CD
USB Interface Cable OBDII OBD2 KKL VAG 4091 For VW AUDI 100 80 90 A4 A6 A8CD
Paypal   US $.99
USB Computer Programming cable software CD for BaoFeng UV 3R program interface
USB Computer Programming cable software CD for BaoFeng UV 3R program interface
Paypal   US $6.01
USB to MIDI Keyboard Interface Converter Cable Adapter EM 04
USB to MIDI Keyboard Interface Converter Cable Adapter EM 04
Paypal   US $2.49
NEW Mini USB 20 Car Charger Adapter for All of USB Interface Digital Products
NEW Mini USB 20 Car Charger Adapter for All of USB Interface Digital Products
Paypal   US $1.29
VAG 4091 KKL OBD2 USB Cable Scanner Scan Tool Interface for Audi VW Volkswagen
VAG 4091 KKL OBD2 USB Cable Scanner Scan Tool Interface for Audi VW Volkswagen
Paypal   US $7.99
HP AF604A PS 2 USB virtual media interface adaptor new in box
HP AF604A PS 2 USB virtual media interface adaptor new in box
Paypal   US $29.31
MIDI INTERFACE CABLE USB ADAPTER CONVERTER FOR PC
MIDI INTERFACE CABLE USB ADAPTER CONVERTER FOR PC
Paypal   US $9.99
Led Light Controller USB TO DMX512 Interface Converter grandMA2 FreeStyler
Led Light Controller USB TO DMX512 Interface Converter grandMA2 FreeStyler
Paypal   US $95.00
3D 6 keys USB Interface Wired Optical Scroll Wheel Mice Mouse For Window7 XP 1
3D 6 keys USB Interface Wired Optical Scroll Wheel Mice Mouse For Window7 XP 1
Paypal   US $5.99
Digidesign Original Mbox 1 USB AUDIO INTERFACE STUDIO RECORDING MAC WIN
Digidesign Original Mbox 1 USB AUDIO INTERFACE STUDIO RECORDING MAC WIN
Paypal   US $20.00
Midiman M Audio Midisport 4x4 USB MIDI Interface
Midiman M Audio Midisport 4x4 USB MIDI Interface
Paypal   US $30.00
H16 3 hole outlet cigarette light charger USB interface converter car allocation
H16 3 hole outlet cigarette light charger USB interface converter car allocation
Paypal   US $6.00
Mini USB Bluetooth Interface GPS Module Demo Board
Mini USB Bluetooth Interface GPS Module Demo Board
Paypal   US $42.99
BMW USB OBD DIAGNOSTIC CABLE INTERFACE INPA KDCAN DIS V57 SSS V32 GT1 Progman
BMW USB OBD DIAGNOSTIC CABLE INTERFACE INPA KDCAN DIS V57 SSS V32 GT1 Progman
Paypal   US $110.00
Hyundai Kia Aux USB interface Input Cable for iPod iPhone iPad i
Hyundai Kia Aux USB interface Input Cable for iPod iPhone iPad i
Paypal   US $7.00
VAG COM OBD2 USB Interface 4091 Car Diagnostic Cable for Audi 100 200 80 90 A4
VAG COM OBD2 USB Interface 4091 Car Diagnostic Cable for Audi 100 200 80 90 A4
Paypal   US $.99
Tascam US 144 Professional USB Audio Midi Interface Free shipping
Tascam US 144 Professional USB Audio Midi Interface Free shipping
Paypal   US $99.00
PreSonus AudioBox USB 2X2 USB Audio Interface Box
PreSonus AudioBox USB 2X2 USB Audio Interface Box
Paypal   US $150.00
USB 20 TO MIDI INTERFACE ADAPTER CABLE CORD FOR PC
USB 20 TO MIDI INTERFACE ADAPTER CABLE CORD FOR PC
Paypal   US $10.71
Broken sound fix add enhance Desktop Laptop Audio Interface with USB Adapter
Broken sound fix add enhance Desktop Laptop Audio Interface with USB Adapter
Paypal   US $8.99
MIDIMAN MIDISport 2X2 USB MIDI Interface
MIDIMAN MIDISport 2X2 USB MIDI Interface
Paypal   US $5.82
M Audio Fast Track USB Audio Interface Sound Card New No Box
M Audio Fast Track USB Audio Interface Sound Card New No Box
Paypal   US $84.99
VAG COM OBD2 OBDII 4091 KKL USB Car Diagnostic Cable Interface Tool FOR VW AUDI
VAG COM OBD2 OBDII 4091 KKL USB Car Diagnostic Cable Interface Tool FOR VW AUDI
Paypal   US $.99
DT 1309 Digital 40K FC Meter 400K Lux Light Luxmeter USB Port Computer Interface
DT 1309 Digital 40K FC Meter 400K Lux Light Luxmeter USB Port Computer Interface
Paypal   US $69.99
UM 1G USB to MIDI Interface by ROLAND not made by the company anymore
UM 1G USB to MIDI Interface by ROLAND not made by the company anymore
Paypal   US $45.00
M Audio Quattro USB Audio Interface With Power Supply USB 24bit 96kHz
M Audio Quattro USB Audio Interface With Power Supply USB 24bit 96kHz
Paypal   US $19.99
HP Q1342 60001 USB to IEEE Laserjet Printer Interface Cable APFM
HP Q1342 60001 USB to IEEE Laserjet Printer Interface Cable APFM
Paypal   US $15.00
ELM327 OBD II OBD2 USB v14 CAN BUS Diagnostic Interface Scanner
ELM327 OBD II OBD2 USB v14 CAN BUS Diagnostic Interface Scanner
Paypal   US $9.38
BMW Scanner USB Interface OBDII E39 E46 E53 E83 E85 X5 Z4 X3 Diagnose Scantool
BMW Scanner USB Interface OBDII E39 E46 E53 E83 E85 X5 Z4 X3 Diagnose Scantool
Paypal   US $29.00
Lexicon Lambda USB Audio Recording Interface Only
Lexicon Lambda USB Audio Recording Interface Only
Paypal   US $40.00
USB TO MIDI CABLE MUSIC KEYBOARD INTERFACE ADAPTER COMPUTER CONNECTION
USB TO MIDI CABLE MUSIC KEYBOARD INTERFACE ADAPTER COMPUTER CONNECTION
Paypal   US $7.99
Akai Professional EIE PRO 24 bit Audio MIDI Interface with USB Hub BRAND NEW
Akai Professional EIE PRO 24 bit Audio MIDI Interface with USB Hub BRAND NEW
Paypal   US $247.95
Yamaha UX16 USB MIDI Keyboard Computer Interface
Yamaha UX16 USB MIDI Keyboard Computer Interface
Paypal   US $31.95
M Audio TRANSIT Professional USB Audio Interface 24Bit 96kHz
M Audio TRANSIT Professional USB Audio Interface 24Bit 96kHz
Paypal   US $28.00
USB T MIDI Keyboard Interface Converter Cable Adapter
USB T MIDI Keyboard Interface Converter Cable Adapter
Paypal   US $.84
ELM327 OBD II OBD2 USB v14 CAN BUS Diagnostic Interface Scanner w CD Software
ELM327 OBD II OBD2 USB v14 CAN BUS Diagnostic Interface Scanner w CD Software
Paypal   US $20.59
USB 20 TO MIDI CABLE KEYBOARD MUSIC INTERFACE ADAPTER
USB 20 TO MIDI CABLE KEYBOARD MUSIC INTERFACE ADAPTER
Paypal   US $7.99
USB GUITAR INTERFACE CABLE LINK AUDIO MUSIC EDITING ACTIVE OUTPUT JACK SPEAKER
USB GUITAR INTERFACE CABLE LINK AUDIO MUSIC EDITING ACTIVE OUTPUT JACK SPEAKER
Paypal   US $21.99
Y USB 2 MIDI Keyboard Interface Converter Cable Adapter
Y USB 2 MIDI Keyboard Interface Converter Cable Adapter
Paypal   US $.84
MIDI USB Interface Cable Line Converter PC to Music Keyboard Adapter Adapter
MIDI USB Interface Cable Line Converter PC to Music Keyboard Adapter Adapter
Paypal   US $5.99
Converter Cable Adapter USB MIDI Keyboard Interface new
Converter Cable Adapter USB MIDI Keyboard Interface new
Paypal   US $.88
Guitar to USB Interface Link Cable Guitar Effector PC Recording new
Guitar to USB Interface Link Cable Guitar Effector PC Recording new
Paypal   US $9.99
MIDI USB IN OUT Interface Cable Cord Line Converter PC to Music Keyboard Adapter
MIDI USB IN OUT Interface Cable Cord Line Converter PC to Music Keyboard Adapter
Paypal   US $5.99
USB Car Diagnostic Interface OBDII KKL 4091 OBD2 Cable VAG COM for VW AUDI
USB Car Diagnostic Interface OBDII KKL 4091 OBD2 Cable VAG COM for VW AUDI
Paypal   US $.99
ROLAND UA 11 UA11 DUO CAPTURE USB AUDIO INTERFACE
ROLAND UA 11 UA11 DUO CAPTURE USB AUDIO INTERFACE
Paypal   US $3.25
M Audio Fast Track USB Audio Interface
M Audio Fast Track USB Audio Interface
Paypal   US $24.99

Usb Interface

Designing USB Applications with PSoC

Design engineers have long been familiar with USB, first introduced in 1995 to replace the aging RS232 interface. It represents a simple, elegant means of communicating with as many as 126 connected devices using a well-defined protocol.

However, adding USB to an existing product is not necessarily simple or elegant, and adding it to new projects adds a degree of complexity that may now be largely avoidable.

Cypress Semiconductor’s CY8C24794-24LFXI is a member of its popular Programmable System-on-Chip (PSoC) family of mixed-signal arrays. The 24794 includes a full-speed (12 Mbps) USB 2.0 Serial-Interface Engine (SIE), including a 0.25 percent accurate clock with an integrated oscillator that meets USB 2.0 clocking specifications and requires no external crystal, reducing component and pin counts. The device offers PSoC designers a complete USB interface, essentially for free.

The CY8C24794 provides four unidirectional endpoints and one bi-directional control endpoint to support control, interrupt, isochronous, and bulk transfer types, as well as flexible synchronization. It offers up to 48 analog inputs, so no external analog multiplexer is required for applications such as laptop touchpads using CapSense technology. This article describes the new PSoC, its USB interface and applications that can be easily designed using the device.

Not Your Father’s SoC

The PSoC family of devices are designed to replace traditional MCUs, system ICs, and the numerous discrete components that surround them. This architecture allows the user to create customized peripheral configurations that match the requirements of each individual application. Additionally, a fast CPU, Flash program memory, SRAM data memory, and configurable I/O are included in a range of pin-outs and packages. The PSoC CY8C24794 is a unique member of the PSoC family because it includes a full-featured, full-speed (12 Mbps) USB port.

The PSoC architecture (Figure 1) consists of four main areas: PSoC Core, Digital System, Analog System, and System Resources including a full-speed USB port. Configurable global busing allows all the device resources to be combined into a complete custom system. The PSoC CY8C24794 device can have up to seven I/O ports that connect to the global digital and analog interconnects, providing access to four digital blocks and six analog blocks.

The PSoC core consists of a 24-MHz, 4-MIPS Harvard-architecture CISC CPU with 16-Kbits of Flash for program storage, 1-Kbit of SRAM for data storage and up to 2Kbits of EEPROM emulated using the Flash. Program Flash utilizes four protection levels on blocks of 64 bytes, allowing customized software IP protection. The PSoC device incorporates flexible internal clock generators, including a 24 MHz internal main oscillator (IMO) accurate to 8% over temperature and voltage. The 24 MHz IMO can also be doubled to 48 MHz for use by the digital system. A low power 32 kHz internal low-speed oscillator (ILO) is provided for the Sleep timer and watchdog timer (WDT).

PSoC GPIOs provide connection to the CPU, digital and analog resources of the device. Each pin’s drive mode may beselected from eight options, allowing great flexibility in external interfacing. Every pin also has the capability to generate a system interrupt on high level, low level, and change from last read.

The Digital System (Figure 2) is composed of four digital PSoC blocks. Each block is an 8-bit resource that can be used alone or combined with other blocks to form 8, 16, 24, and 32-bit peripherals. The digital blocks can be connected to any GPIO through a series of global buses that can route any signal to any pin. The buses also allow for signal multiplexing and for performing logic operations. This configurability frees designs from the constraints of a fixed peripheral controller.

The Analog System (Figure 3) consists of six configurable blocks, each comprised of an op amp circuit allowing the creation of complex analog signal flows. Analog peripherals are very flexible and can be customized to support specific application requirements. Analog blocks are arranged in a column of three, which includes one Continuous Time (CT) and two Switched Capacitor (SC) blocks.

The CY8C21x34 and CY8C24x94 PSoC devices differ from the other PSoC devices in that GPIO pins can connect to the internal analog bus. The CY8C24x94 contains the additional capability to optionally split the analog bus into two separate sections. In the CY8C21x34 all GPIO pins are enabled for this connection. In the CY8C24x94 all pins in Ports 0 through 5 are enabled for connection to the analog Bus.

System Resources provide additional capability useful to complete systems. Additional resources include a multiplier, decimator, low voltage detection, and power on reset.

PSoC USB

The PSoC USB system resource adheres to the USB 2.0 specifications for full-speed devices operating at 12 Mb/second with one upstream port and one USB address. PSoC USB (Figure 4) consists of a Serial Interface Engine (SIE) block; a PSoC Memory Arbiter (PMA) block; 256 bytes of dedicated SRAM; a Full-Speed USB Transceiver with internal regulator; and two dedicated USB pins.

At the system level, the full-speed USB system resource interfaces to the rest of the PSoC by way of the M8C's register access instructions and to the outside world by way of the two USB pins.

The SIE supports five endpoints including a control endpoint (endpoint 0) and four data endpoints (endpoint 1, 2, 3, and 4). The control endpoint can be configured to support SETUP, IN, and OUT requests. The data endpoints can be individually configured to respond to Interrupt, Bulk, or Isochronous IN or OUT requests.

The USB Serial Interface Engine (SIE) allows the PSoC device to communicate with the USB host at full-speed data rates. The SIE simplifies the interface to USB traffic by automatically handling the following USB processing tasks without firmware intervention:

• Translating the encoded received data and format the data to be transmitted on the bus.

• CRC Checking and Generation. Incoming packets failing checksum verification are ignored.

• Address Checking. Ignores all transactions not addressed to the device.

• Sending appropriate ACK/NAK/Stall handshakes.

• Identifying token type (SETUP, IN, OUT) and setting the appropriate token bit once a valid token in received.

• Identifying Start-of-Frame (SOF) and saving the frame count.

• Sending data to or retrieving data from the USB SRAM, by way of the PSoC Memory Arbiter.

Firmware is required to handle various parts of the USB interface. The SIE issues interrupts after key USB events to direct  firmware to appropriate tasks: fill and empty the USB data buffers in USB SRAM; enable PMA channels appropriately; coordinate enumeration by decoding USB device requests; suspend and resume coordination; verify and select data toggle values.

The PSoC USB System Resource contains a dedicated 256 byte SRAM. This SRAM is identical to an SRAM page used in the PSoC Core; however, it is not accessible by way of the M8C memory access instructions. The PSoC USB's dedicated SRAM may only be accessed by way of the PMA registers.

The PSoC Memory Arbiter (PMA) is the interface between the PSoC USB's dedicated SRAM and the two blocks that access the SRAM: the M8C and the USB SIE. The PMA provides eight channels to manage data. All of the channel registers may be used by the M8C, but the four non-control USB endpoints are each allocated to a specific set of PMA channel registers. The internal USB transceiver interfaces to the external USB bus to transmit and receive signals according to the USB 2.0

Specification. In normal USB operation, the transceiver interfaces directly to the SIE and no user interaction is needed after initialization.

Connecting to an external USB device is simple, requiring only the addition of two resistors. Figure 5 shows a sample schematic for USB with the 56-pin MLF PSoC device (CY8C24794).

The CY8C24794-24LFXI includes Cypress’ CapSenseTM technology, which offers an efficient solution to replace mechanical switches and controls with simple, touch-sensitive controls. The PSoC architecture makes it easy to connect touch-sensitive controls to LED drivers, LCD displays and other peripherals.

In its basic form, a capacitive switch is a pair of adjacent plates, as shown in Figure 6a. There is a small edge-to-edge capacitance, but the intent of switch layout is to minimize the capacitance between these plates. When a conductive object is placed in proximity to the two plates, as shown in Figure 6b, there is a capacitance between one electrode and the conductive object and a similar capacitance between the conductive object and the other electrode.

The most common form of capacitance switch array is a set of capacitors where one side of each is grounded. Thus, the active capacitor has only one accessible side; the switch is a grounded variable capacitor. The presence of the conductive object increases the capacitance of the switch to ground. Determining switch activation is then a matter of measuring change in the capacitance.

The CY8C21x34 family has unique features that enable efficient designs for capacitive switch scan applications. The features include wide multiplexer array so that all channels being measured can be serviced by a common comparator and current source; a DAC adjustable current source; and automatic connection of comparator and reset switch.

This drive and multiplex arrangement bypasses the existing GPIO to connect the selected pin to an internal Analog Mux Bus, as shown in Figure 7. The capacitor charging current (IDAC, controlled by register DAC_D) and reset switch are connected to the Analog Mux Bus. This limits the pin-count requirement to simply the number of switches to be addressed; no external resistors or capacitors are required to enable operation.

The basic circuit and firmware of the PSoC CapSense solution are relatively simple, the physical design of the switchoperating environment is less so. There are three major categories for consideration when designing with capacitive sensing: the printed circuit board (PCB), the overlay material, and other elements not related to the PCB or capacitive sensing. Cypress has a series of application notes that cover these areas in more detail than we can manage here.

Example: Buttons and Lights

The CY8C24794 is supported by PSoC DesignerTM software, an evaluation board, ICE-Cube in-circuit emulator and miniprogrammer, all of which make it easy to experiment with new designs. The basic USB-based design described here lets you press a button on your target host PC and light up lights on the evaluation board. With all USB designs you are always dealing with two programs: one in the host and one in the remote device. A USB device does not actually ‘send’, it prepares data that the USB host will come and collect; the host controls all communications and a device only ‘talks’ when the host permits it.

The flow chart in Figure 8 shows the logical operation of the programs in both the device and the host in our example:

The USB_Start() call initiates the enumeration sequence that is handled by the USB User Module libraries; once enumeration is completed, we then post a buffer to receive a lights report from the PC. We then wait for an SOF flag to be set. The SOF_ISR sets this flag every 1 msec.

Once the SOF flag is set, we call scan-buttons(), which is a button de-bouncing routine. If we detect a button change, then we send a buttons report to the PC. We then check to see if a lights report was received in the previous frame; and, if so, we update the local LEDs. Note that from main()’s perspective, data is moved into and out of endpoint buffers; USB communications are handled in the background by the SIE. The USB run-time operation is as simple as reading and writing endpoint buffers.

For more information log on to http://www.cypress.com/?rID=3564

About the Author

Jon Pearson, is the Product Marketing Director at Cypress Semiconductor Corp.


Eheim 3e USB Interface


Eheim 3e USB Interface


$104.99


Eheim 3e USB Interface

Usb Interface Module


Usb Interface Module


$73.99


USB INTERFACE MODULE

Usb 2.0 Audio Interface


Usb 2.0 Audio Interface


$93.99


USB 2.0 AUDIO INTERFACE

USB Interface Cable - USB cable


USB Interface Cable - USB cable


$39.99


Fluke USB Interface Cable - USB cable - mini-USB Type B (M) - 4 pin USB Type A (M)

Apogee ONE USB Interface with Microphone


Apogee ONE USB Interface with Microphone


$249


Apogee ONE USB Interface with Microphone

TASCAM US-100 USB Audio Interface


TASCAM US-100 USB Audio Interface


$89.99


TASCAM US-100 USB Audio Interface

TASCAM US-2000 USB Audio Interface


TASCAM US-2000 USB Audio Interface


$283.6


TASCAM US-2000 USB Audio Interface

Yamaha UX16 USB MIDI Interface


Yamaha UX16 USB MIDI Interface


$49.99


Yamaha UX16 USB MIDI Interface

TASCAM US-600 USB Audio Interface


TASCAM US-600 USB Audio Interface


$149.99


TASCAM US-600 USB Audio Interface

Peavey xPort USB Guitar Interface


Peavey xPort USB Guitar Interface


$59.99


Peavey xPort USB Guitar Interface

RME Babyface USB 2.0 Interface


RME Babyface USB 2.0 Interface


$749


RME Babyface USB 2.0 Interface

Tascam Us-100 Usb Audio Interface


Tascam Us-100 Usb Audio Interface


$90.99


TASCAM US-100 USB Audio Interface

Peavey Xport Usb Guitar Interface


Peavey Xport Usb Guitar Interface


$59.99


Peavey xPort USB Guitar Interface

Tascam Us-600 Usb Audio Interface


Tascam Us-600 Usb Audio Interface


$136.49


TASCAM US-600 USB Audio Interface

Yamaha Ux16 Usb Midi Interface


Yamaha Ux16 Usb Midi Interface


$45.49


Yamaha UX16 USB MIDI Interface

Tascam Us-2000 Usb Audio Interface


Tascam Us-2000 Usb Audio Interface


$283.6


TASCAM US-2000 USB Audio Interface

Rme Babyface Usb 2.0 Interface


Rme Babyface Usb 2.0 Interface


$681.59


RME Babyface USB 2.0 Interface

Apogee One Usb Interface With Microphone


Apogee One Usb Interface With Microphone


$249


Apogee ONE USB Interface with Microphone

Phonic Audio/Recording Usb Interface


Phonic Audio/Recording Usb Interface


$44.99


PHONIC AUDIO/RECORDING USB INTERFACE

Usb 2.0 Audio/Midi Interface


Usb 2.0 Audio/Midi Interface


$117.99


USB 2.0 AUDIO/MIDI INTERFACE

CDMA VERIZON MODEM USB INTERFACE


CDMA VERIZON MODEM USB INTERFACE


$239.99


CDMA VERIZON MODEM USB INTERFACE

Samsung Bixolon Usb Interface For Srp-270/350/370/372


Samsung Bixolon Usb Interface For Srp-270/350/370/372


$35.99


SAMSUNG BIXOLON USB INTERFACE FOR SRP-270/350/370/372

Behringer UCG102 Guitar-to-USB Interface


Behringer UCG102 Guitar-to-USB Interface


$67.58


Behringer UCG102 Guitar-to-USB Interface

Avocent / USB AVR SERVER INTERFACE FOR    / AVRIQ-USB


Avocent / USB AVR SERVER INTERFACE FOR / AVRIQ-USB


$114.01


Avocent - USB AVR SERVER INTERFACE FOR - AVRIQ-USB

Phonic AM 442D USB Mixer with USB Interface


Phonic AM 442D USB Mixer with USB Interface


$179.99


Phonic AM 442D USB Mixer with USB Interface

Gem Sound PL-USB Phono-to-USB Interface


Gem Sound PL-USB Phono-to-USB Interface


$90.99


Gem Sound PL-USB Phono-to-USB Interface

Gem Sound Pl-Usb Phono-To-Usb Interface


Gem Sound Pl-Usb Phono-To-Usb Interface


$99.99


Gem Sound PL-USB Phono-to-USB Interface

Usb Uno 1x1 Usb Midi Interface


Usb Uno 1x1 Usb Midi Interface


$43.99


USB UNO 1X1 USB MIDI INTERFACE

Samsung USB Interface Cable


Samsung USB Interface Cable


$12.99


Samsung SPP-R200 Mobile Printer Copper Data Transfer Cable PIC-R200U Samsung USB USB Interface Cable www.samsungusa.com

Used Tascam Us-2000 Usb Interface


Used Tascam Us-2000 Usb Interface


$249.99


In Store Used USED TASCAM US-2000 USB INTERFACE

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

counter for wordpress