Cypress

Altera 28nm FPGA內含Cypress SRAM

十一月 20, 2011
By

Altera 28nm FPGA內含Cypress SRAM

http://www.eettaiwan.com/ART_8800655878_628626_NP_48624c87.HTM

Cypress Semiconductor 宣佈, Altera 公司的 28奈米Stratix V GX FPGA 開發套件,已採用 Cypress Quad Data Rate II(QDRII) 以及 QDRII+ SRAM

Cypress 的 SRAM 能讓 Stratix V FPGA 開發套件實現高達100 Gbps的線路速率。

Stratix V GX FPGA開發套件提供完整的設計環境,協助客戶進行Altera高效能28奈米FPGA的開發工作,並滿足網路線路卡、先進LTE基地台、高階無線射頻卡(RF cards)以及軍用雷達等各種應用需求。

新款套件讓研發業者能以最新協定(PCIe Gen3)和各種記憶體子系統(包括DDR3、QDRII以及QDRII+)來設計並測試Stratix V GX FPGA。

Stratix V GX FPGA開發板內建4.5MB QDRII+,透過元件的硬型化記憶體控制器連結FPGA,可以帶來最高的效能以及最低的延遲。

QDRII+元件搭載晶粒內終端電阻(ODT),因此不必使用外部終端電阻,進而能夠提升訊號完整性、降低系統成本以及節省電路板空間。

新款元件密度高達144 Mbit,速度最高至550 MHz。突發傳送長度(optional burst)為4時,144 Mbit QDRII+每秒能完成5.5億次處理,延遲週期為2.5;突發長度為2,每秒則能完成6.66億次交易,提供業界最高的記憶體介面效能。

65奈米SRAM適用於各種網路應用,包括核心與邊界路由器、固定式與模組化乙太網路交換器、3G基地台以及保全路由器。

此外,新款元件也能提升醫療成像與軍用訊號處理系統的效能。

————————————————————————————————–

Wi-Fi in automation—Add Wi-Fi connectivity to a PSoC design

十月 2, 2011
By

Wi-Fi in automation—Add Wi-Fi connectivity to a PSoC design

N. Venkatesh, Redpine Signals and Kapil Rai, Cypress Semiconductors

9/22/2011 11:29 AM EDT

http://www.eetimes.com/design/communications-design/4227966/Wi-Fi-in-automation-Add-Wi-Fi-connectivity-to-a-PSoC-design?cid=NL_CommsDesign&Ecosystem=communications-design

Here’s how to add Wi-Fi connectivity to a design based on a PSoC device.

Electronic and electrical equipment in the home or commercial buildings have largely been discrete and independent systems – control and management of lighting, temperature, access as well as various alarms have been carried out by separate control mechanisms. The field of domotics deals with the automation of these systems and recently has been receiving increasing attention:

* HVAC control is used to manage temperature and humidity in various parts of a building at various times through, for example, a thermostat accessible over the Internet

* Lighting control systems automatically turn on or off lights in a room, or control brightness and color to create various ambiences

* The operation of appliances such as washers, dryers, and sprinklers can be controlled to take advantage of variations in the cost of utilities

* Data read from sensors monitoring for gas leaks, breakage of glass, intrusion, movement, and smoke can be used to quickly meet required safety measures while raising an appropriate level of alarm

Overall, domotics provides not only greater degrees of comfort and safety but also savings in energy cost. Core to domotics is connectivity, which has evolved to encompass various different methods. Today, the most prevalent are mostly hard-wired with proprietary signaling, including dedicated cables carrying discrete digital data, standardized RS-232 or RS-422 serial cable, Ethernet, and powerline. Emerging wireless methods include Wi-Fi, Zigbee, and Bluetooth.

Connectivity in Automation

The installation of a means of connectivity is only part of the solution to the problem of automation. The profusion of devices and appliances in the home has resulted in a large number of individual remote control units that are hand-held, wall-mounted, free of user intervention, or linked to other appliances. The greater goal of universal automation is the ability to control devices from a common unit. This is not just a centralized controller but rather the ability to control the system from a multitude of devices, as shown in Figure 1.

For example, a smartphone may run applications that control lighting and heating while displaying any security alerts. A TV remote may be used to turn on sprinklers. The home computer may be the nodal point for the collection and display of energy consumption information.

For all this to be possible, a measure of standardization is required in many tasks related to connectivity. For example, while individual data formats that are used by an appliance may be different from those used by other appliances, it is desirable that the method of transferring that data across a network be commonly implemented.

One of the most prevalent means of providing for a common data transport method is through the use of the IP protocol. IP is natively available on networks based on many physical mechanisms – Ethernet, DSL, wireless, and optical fiber. The connection-less, packet-switching nature of the TCP/IP protocol makes it ideal for use in heterogeneous networks spanning multiple hops from source to destination. TCP/IP based transport is the basis of emerging home networks that service high speed data transfer needs like file transfers, video streaming, and wireless audio as well as low-speed data for applications such as sensor monitoring and control.

These networks are comprised of individual segments of multiple types, including powerline (HomePlug), Ethernet, coaxial (MoCA), and wireless (Wi-Fi). Along with meeting the needs of data networking, these networks will also provide the backbone for automation traffic, resulting in a near-universal network. The increasing number of controllable devices in homes and the adoption of smart energy have in part been fuelling the rapid growth of home automation.

Wi-Fi and its Integration

Among wireless methods, the IEEE 802.11 family of standards, popularized, branded, and enhanced in interoperability by the Wi-Fi Alliance, has several unique advantages as the choice of wireless link for use in automation applications. It is a direct extension of the Ethernet-based LAN and supports TCP/IP natively. It is already found in a majority of offices and homes where electronic appliances exist in significant numbers so there is no need to incur new investment or effort to plan and deploy the wireless infrastructure. Wi-Fi also has adequate operational range that minimizes the number of access points required. At client devices, Wi-Fi provides both high throughput when needed and low energy consumption. Properly designed Wi-Fi devices make maximum use of the power-save methods defined in the 802.11 protocol.

Highly integrated modules available from several vendors enable a low cost of adding Wi-Fi to an embedded system. Wi-Fi, however, was mainly targeted towards high-capacity computing platforms that need to be on the local network. The devices used in automation, however, are largely based on low-cost and application-specific embedded controllers. In fact, the control of devices through electronic means has been made prevalent by the availability of low end 8-/16-/32-bit embedded controllers. Current embedded system-on-chip devices that contain MCUs may also integrate memory, digital peripherals, and precision analog peripherals that reduce the number of components in a system and enable quick design of end-products. Embedded MCU and SoC vendors, in conjunction with third-party specialist software houses, provide powerful and easy-to-use software development environments. The entire hardware and software development process thus becomes predictable in schedule and low in cost.

Interfacing a WLAN subsystem to an embedded MCU-based system requires the consideration of several factors including the physical and electrical specifications, choice of interface, host load, the software architecture, power-save mechanisms, wireless performance, and certification.

The main components of a WLAN subsystem are the Medium Access Controller (MAC), the Baseband Processor (BBP), the analog front-end, the RF transceiver, power amplifier and other RF front-end components.

RF transmission is through an antenna that may either be mounted on the board itself or may be located externally. The integration effort can be minimized by choosing a WLAN module that is fully self-contained. This approach offers several benefits:

* The WLAN module is already verified for wireless performance and calibrated

* Since all critical RF circuitry is present in the module, and often enclosed in a shield, no performance degradation is expected during integration into the embedded system

* Board layout and assembly are simplified

* Even in cases where an external antenna is used, the connection to the module is of low complexity – typically using a miniature coaxial connector and RF cable

* The self-contained module can be certified independently of the end product. FCC and certification authorities permit ‘modular certification’ where a wireless module may be certified and then used directly in a system without the need for further certification.

Figure 3 shows an example of a self-contained Wi-Fi module from Redpine Signals. In essence, the entire integration of Wi-Fi connectivity can be as simple as adding an embedded MCU peripheral.

Figure 3: A Self-contained Wi-Fi Module

There are several possibilities in the choice of interface to the embedded MCU. Interfaces such as USB, PCI ,or PCIe are used in systems where high data throughput is required such as storage devices, wireless routers, and laptops. In appliances and devices prevalent in domotics, however, the interface is generally one of several low-power options including SDIO, SPI, and UART. High-end embedded MCUs provide SDIO interfaces, almost always in conjunction with a resident operating system, while common general purpose 16-bit or 8-bit microcontrollers do not. In the latter cases, WLAN integrators choose between the Serial Peripheral Interface (SPI) and the serial UART interface. SPI is a serial interface with synchronous data clocking that can be used to transfer blocks of data in a byte-oriented ‘address followed by data’ format. SPI is a low power interface and can provide fairly high application level data throughput of up to 15 Mbps or more.

The Development Environment

The development challenges of automation systems involve designers having to juggle an array of tasks including board design, selection of components, configuration of subsystems, defining performance expectations, creating validation environments, and planning for certification, among many others. Embedded MCU vendors help ease this effort through the supply of versatile and flexible evaluation or development kits. These kits provide the ideal development platform where design, performance, and integration issues are resolved. WLAN integration should also, naturally, fall into this path. Design engineers can, today, use evaluation boards from WLAN vendors that integrate the target wireless module and provide a ready interface for directly plugging into their chosen embedded MCU development kit. These evaluation boards are accompanied by example projects and libraries already ported, or easily portable, on to the chosen embedded MCU platform. Shown in Figure 4 is a development kit from Cypress for the PSoC devices with a compatible Wi-Fi Expansion board from Redpine Signals.

Add Wi-Fi to PSoC Cont’d.

The integration of a Wi-Fi interface into these systems should not only have a minimal impact on the system configuration and resources used, but also on the design methodology and associated design risk.

As an example, consider an embedded design built using a PSoC device from Cypress. An easy to use development kit is shown in Figure 4, and a screenshot of its PSoC Creator development environment is shown in Figure 5. PSoC Creator is a state-of-the-art software development IDE combined with a revolutionary graphical design editor to form a uniquely powerful hardware/software co-design environment.

Adding Wi-Fi connectivity to a design based on a PSoC device is simplified by using a suitable development kit, for example a Wi-Fi Expansion Board kit from Redpine Signals. At the development or prototyping stage of an embedded design project, the Wi-Fi kit can be plugged into the expansion port of a PSoC kit, as shown in Figure 4. The Redpine-provided PSoC creator ‘component’ would be loaded into the PSoC Creator schematic and configured by setting its properties as required in the Wi-Fi network to be used. The inclusion of the Wi-Fi driver in the software configuration requires only a drag-and-drop procedure in the Creator development environment. The interface can be set to either UART or SPI at design time and programmable digital resources on PSoC are configured accordingly.

The component is configured with the parameters of the wireless network and layer 3 connections. Figure 7 shows the key configurable parameters of the component.

The rest of the design that is needed to interface to the rest of the system is developed using the PSoC creator. The resulting bitstream is then loaded onto the PSoC module on the kit, making it ready for its intended application with active WLAN connectivity. The fully self-contained nature of the Redpine module ensures that the additional resources available on the PSoC are available for use to develop the rest of the system. The other expansion ports and the prototyping area on the PSoC development kit can be used to develop other hardware that interfaces to the PSoC. Cypress also offers a variety of other expansion boards that can be mated to other available expansion ports. Running wireless connectivity tests is accomplished with a simple setup as shown in Figure 8. The Access Point is optional – since the 802.11 ad-hoc, or IBSS, mode can be used to open a direct connection between the EBK and the Laptop.

This approach greatly eases the development of an automation system and provides it with the flexibility of Wi-Fi connectivity.

About the Authors

N.Venkatesh is Vice President of Advanced Technologies at Redpine Signals, and has over 25 years of engineering and management experience wireless system design, chip design, telecommunications, optical networking and avionics. With Redpine, Mr. Venkatesh is a key wireless technologist and champions the universal integration of wireless into embedded systems. His responsibilities include leading the development of wireless systems at Redpine, and their application into diverse industry areas.

Kapil Rai (Sr Director at Cypress) leads the Cypress Systems Solutions group that focuses on development of Standard Solution Products, which allow customers to easily configure the controllers without writing any code. He is also responsible for the WW Design Partner program and Applications Support for Cypress. Prior to Cypress Kapil worked at Microchip where he was in lead roles as Design, Applications and Marketing for the 8 and 16 bit microcontroller Business Units.

———————————————————————————————-

Cypress Launches PSoC® “Peripheral of the Month” Program

九月 1, 2011
By

Cypress Launches PSoC® “Peripheral of the Month” Program

The PSoC® 3 CapSense® Plus solution is the first installment of a new PSoC Peripheral of the Month program designed to highlight applications and functions that standard MCUs can’t deliver, but PSoC can. Each month in the PSoC Insider, we’ll present a new solution, complete with all the resources you need to start designing, including videos, app notes, webinars and more. Visit www.cypress.com/go/PotM to learn more.

To find out more and buy a PSoC 3 Development Kit, visit www.cypress.com/go/cy8ckit-030.

For a PSoC 5 Development Kit, visit www.cypress.com/go/cy8ckit-050.

———————————————————-

Cypress推32位元匯流排128/64/32Mb非同步SRAM

八月 13, 2011
By

Cypress推32位元匯流排128/64/32Mb非同步SRAM

上網時間: 2011年08月08日

http://www.eettaiwan.com/ART_8800648560_628626_NP_3fd3c65a.HTM

Cypress Semiconductor 日前推出

128-Mbit、64-Mbit、以及32-Mbit 的超長電池續航力(More Battery Life,MoBL) SRAM

新元件擁有32位元匯流排寬度,主要瞄準電信、電腦、週邊、消費、醫療、以及軍事等領域,

可搭配32位元 DSP 、 FPGA 以及處理器應用,提升系統效能。

新款128 Mbit(CY62192ESL)、64-Mbit (CY62182ESL) 以及32-Mbit (CY62172ESL) MoBL 元件提供 32-bit 的I/O 組態,

存取時間(TAA)為55-ns,支援1.7至5.5伏特的超寬電壓範圍。

這些低功耗非同步SRAM提供符合RoHS規範的119 BGA環保封裝,

尺吋為14.0 x 22.0 x 2.4 mm,採用Cypress高效能90奈米 R95 CMOS 製程技術。

Cypress非同步記憶體事業部資深總監Sunil Thamaran表示,

包括影像、音效、視訊以及遊戲等應用,

都需要在SRAM與控制晶片之間傳送大量的資料,

因此資料流量就成為決定效能的重要因素之一。

另外,該公司也正著手研發新一代65奈米高效能非同步記憶體產品,

除了進一步降低功耗外,還加入包括ECC資料校正等先進功能。

CY62192ESL 128-Mbit、CY62182ESL 64-Mbit 以及CY62172ESL 32-Mbit 低功耗非同步SRAM

現已向重要客戶限量供應樣本,並正進行全面的驗證。

——————————————————————–

the Cypress Resource Center

七月 15, 2011
By

Explore high-performance, mixed-signal,

programmable solutions with the Cypress Resource Center

Cypress delivers high-performance, mixed-signal, programmable solutions that provide customers with rapid time-to-market and exceptional system value. Cypress offerings include the PSoC® Programmable System-on-Chip™, USB controllers, general-purpose programmable clocks, image sensors and memories. Cypress also offers wired and wireless connectivity solutions ranging from its WirelessUSB™ radio system-on-chip, to West Bridge™ and EZ-USB® FX2LP controllers that enhance connectivity and performance in multimedia handsets. Cypress serves numerous markets including consumer, computation, data communications, automotive, industrial, and solar power. Visit www.cypress.com for more information.

http://www.eetasia.com/resource/index.do?sponsorId=1000002902&source=EE_AR#1

—————————————————————————–

PSoC® devices

七月 14, 2011
By

PSoC® devices

Countdown to 1 Billion

Cypress is nearing the 1 billion unit mark in shipments of PSoC® devices, the world’s only programmable analog and digital embedded design platform.

To celebrate the event, Cypress has posted an active counter on its website at www.cypress.com. There you can guess the exact date and time when we reach the 1 billion milestone. The winning entry will receive a new NOOK™ Color eReader with Cypress’s PSoC-based TrueTouch® touchscreen controller.

New PSoC® Development Kit for Precision Analog Temperature Sensing

The new CY8CKIT-025 Development Kit for PSoC 3 and PSoC 5 architectures enables you to measure temperature accurately with a 0.1 degree C resolution with any of four different temperature sensors, including a thermocouple, a diode, a thermistor and a resistance temperature detector (RTD).

The CY8CKIT-025 PSoC Kit leverages the integrated 20-bit Delta Sigma ADC in the PSoC 3 and PSoC 5 architectures, which delivers better than 18-bit effective number of bits (ENOB) performance.  It is designed for use with the CY8CKIT-030 PSoC 3 Development Kit, the CY8CKIT-050 PSoC 5 Development Kit, or the CY8CKIT-001 PSoC Development Kit (all sold separately). The new kit includes each of the four different types of analog temperature sensors, along with a bonus CY8CKIT-012 PSoC Prototyping and Development Expansion Board.  Check out the new kit at www.cypress.com/go/cy8ckit-025.

Weekly Live Webinars Shed Light on Designing with PSoC

Each week, Cypress Application Engineers offer free, live webinars for interested designers. These informative, 30-minute webinars cover a wide range of topics, including applications, design examples, PSoC Creator tips, and more.

The webinars are presented via WebEx and use VoIP so it’s easy to watch them from your desk. For topics, dates and times and to register for an upcoming webinar, visit http://www.cypress.com/?rID=51939

Cypress and Redpine Signals Team up on Embedded WiFi Solutions

Cypress and Redpine Signals have made it easy for you to add low-power, single-stream 802.11n Wi-Fi capability to embedded systems with PSoC 3 and PSoC 5 devices.

You can now pair Redpine’s Connect-io-n™ modules with your PSoC design. The certified Connect-io-n modules work seamlessly with Cypress’s PSoC platforms to implement single-stream 802.11n connectivity in a smaller space and at lower cost than legacy 802.11b and 802.11g modules. 

Find out more at www.redpinesignals.com/Products/Modules/Connect-io-n/index.html

———————————————————

Cypress brings USB 3.0 to mobile handhelds

七月 13, 2011
By

Cypress brings USB 3.0 to mobile handhelds

Ismini Scouras  7/6/2011 10:02 AM EDT

http://www.eetimes.com/electronics-products/logic-interfaces-products/4217606/Cypress-brings-USB-3-0-to-mobile-handhelds-?cid=NL_EETimesDaily

Cypress Semiconductor Corp. has started to sample what it claims is the first USB 3.0 (SuperSpeed USB) product specifically built to improve the performance of mobile handhelds.

Marketed under the brand name West Bridge Benicia, the CYWB0263 peripheral controller is a highly optimized Data transfer Offload Engine (DtOE) that enables mobile devices to double the IOPS (Input/output Operations Per Second) throughput, stream high-definition video, "sideload" multimedia content at up to 200 MB per second, and reduce battery charging time by 50 percent with increased charging currents up to 900mA, according to Cypress.

The technology improves the performance of a device during boot, page loading, switching between apps and other tasks that require frequent memory access.  It employs the second generation of Cypress’s Simultaneous Link to Independent Multimedia (SLIM II) architecture, which manages multiple, non-blocking paths between peripherals, memory and the processor to allow maximum data throughput.

This new generation West Bridge controller supports the latest mass storage standards such as SD 3.0 (SDXC with UHS-I) and e-MMC4.4x, enabling faster data access and greater storage capacity.

It also provides Cypress’s new EZ-Dtect feature, which provides charger and accessory detection without the need for any external power management device.

Cypress also introduced a new USB OTG and USB 2.0 solution for mobile devices

– the West Bridge Bay controller. West Bridge Bay offers the same benefits as Benicia — SD 3.0 and e-MMC4.4x support, EZ-Dtect functionality, and the SLIM II architecture — for devices without USB 3.0 capability. The new West Bridge peripheral controllers act as data transfer co-processors to an embedded application processor in a handheld, freeing the processor from data-intensive operations.

They employ a configurable ARM9 processor core that enables the devices to act as low power audio co-processors.

Availability

West Bridge Benicia and Bay peripheral controllers are sampling to lead customers today.

The devices are expected to reach full production by September of 2011.
For more information, click here.

http://www.cypress.com/?id=214

http://www.cypress.com/?id=214&rid=39301

http://www.cypress.com/?id=214&rid=39303

http://www.cypress.com/?id=214&rid=39302

———————————————————————————-

Improving USB 3.0 with better I/O management

六月 17, 2011
By

Improving USB 3.0 with better I/O management

Sangram Keshari Maharana & Avineet Singh

6/6/2011 6:49 PM EDT

http://www.eetimes.com/design/embedded/4216667/Improving-USB-3-0-with-better-I-O-management?cid=NL_CommsDesign&Ecosystem=communications-design

This article explores the impact of USB 3.0 on mobile handheld hardware and software design and what can be done, through proper I/O management, to improve interactions between USB 3.0 connected components.

USB has been popular in the market for its simplicity, maturity and plug-and-play features.

However, the 480 Mbps speed of USB 2.0 was not sufficient to support new generation storage and video.

Therefore, the time was ripe for migration to a faster standard; this has led to the development of the new USB 3.0 protocol.

The challenge that arises for developers is how to leverage USB 3.0’s full potential.

This article will explore the impact on hardware and software design to implement USB 3.0 with particular focus on handheld products.

First, we will compare the capabilities of USB 2.0 and USB 3.0 and the impact of the transition on the components that interact with the USB 3.0 module.

In a common scenario, on the device side, the processor is connected to USB, storage, and peripherals directly. Keeping this architecture in mind, the impact on processor due to the transition from High-Speed to SuperSpeed is summarized in Table 1 below.

Table 1. USB 3.0 versus USB 2.0

Data rate comparisons
The basic difference between USB 2.0 and USB 3.0 is bandwidth. The theoretical bandwidth provided by USB2.0 is 480Mbps. In reality, the maximum throughput received is about 320Mbps (40MBps), which is roughly two third of the theoretical value. With USB3.0, the raw throughput is 4.8Gbps.

If we use the same proportion rate, then the expected data speed is 3.2Gbps (400MBps). However, many developers expect to be able to provide even higher throughput. Figure 1 below shows the data rate difference between USB 2.0 and USB 3.0 for a Buffalo external storage disk for different transfer sizes. It should be noted that the USB 3.0 data rate is restricted by the storage device; otherwise a data rate of 400 Mbps can easily be achieved.

Figure 1: USB 2.0 and USB 3.0 data rate differences (To view larger image, click here.)
It can be seen that as the transfer size of a single request increases, the data rate increases in tandem. That is because as the transfer size increases per request, the number of requests and hence interrupts that the MSC device has to handle decreases, resulting in better overall performance.

After a 64KB transfer size, the data rate attains saturation because the Windows driver does not request more than 64KB data in a single SCSI request. This data shows the importance and effect of interrupts on the overall system performance.

This high data rate increases the interrupt rate and data request rate which can load the processor significantly. While the core is busy processing USB-related real-time requests, latencies increase and users see applications slow down, which is not at all a desirable result.

Data flow considerations
Unlike the USB 2.0 standard, where data is queued in one direction at a time, USB 3.0 supports simultaneous reading and writing. That is because USB 2.0 is a half-duplex protocol while USB 3.0 is a full-duplex protocol.

Full-duplex communications is achieved by adding more connections to support simultaneous data transfers. It also comes at the cost of increasing software complexity twofold as well.

With USB 2.0, the processor is involved in only one transaction at a time, and the data structures and request handling are simpler. But with the arrival of full duplex USB 3.0, the data structure will now require double the information. Again the USB software module needs to be able to handle the concurrency in data handling.

Page 2
Managing power with USB
Changes in the packet transfer protocol (i.e., Broadcast to Directed), elimination of device polling, and definition of link and functional-level intermediate states enables aggressive power management in USB3.0. Later we will discuss the overhead the processor of the USB device must take on because of the third power reduction-change i.e. the multi intermediate state.

In USB 2.0, the states available are ACTIVE and SUSPEND. SuperSpeed has two more states: FAST EXIT IDLE and SLOW EXIT IDLE. More states mean more complexity in both hardware and software.

The device can initiate a power-saving state using link-level power management. To get the actual benefit, the processor needs to track the idle time in the USB interface and to act more intelligently.

The rate of entrance to and exit from power link states can be very frequent for a device. For example, isochronous transfer allows devices to enter low power states between service intervals. This can be a significant addition to the processor’s runtime loading.

Streaming support on USB 3.0
USB3.0 extends the bulk transfer type with streams. Bulk streams provide in-band, protocol-level support for multiplexing multiple independent logical data streams through a standard bulk pipe. This facilitates the design of complex class protocols over USB.

For example, the USB Attached SCSI (UAS) mass storage class uses bulk streams as opposed to the simpler BOT protocol. In BOT, there is only one pending request at a time, where in UAS, there can be n-1 outstanding request at a time, where n is the number of streams supported in the bulk endpoint.

Implementing and maintaining a complex class protocol can also keep a processor busy. Where a single flat data-structure was enough for BOT, the UAS protocol demands a priority queue-based data structure to be implemented in the device-side firmware.

USB device architecture analysis
Given that mass storage devices are the most common high-performance USB peripheral available on the market, we will take an example of a mass storage device (Figure 2 below) to formulate a mathematical expression for analyzing performance.

Figure 2: Mass storage device data transfer requirements
We shall discuss the data phase since most of the time the interface will be involved in transferring data packets rather than control packets. The steps for data transfer are as follows:

1. Processor gets a request from USB.
2. Processor processes the request.
3. Processor queues storage read/write request.
4. Processor waits for transfer completion.
5. Processor sends completion status to USB host

The timing notion behind this transfer is show in Figure 3 below, where the total delay is the sum of the USB transfer, the OS processing delay and the storage transfer.

Figure 3 : Total delay = X + Y + Z (To view larger image, click here).
Following is a more complete explanation of these delay components:

Delay X is the amount of time taken for transferring the request data packet between the host and the processor. This depends on the USB protocol and the efficiency of the USB device hardware to handle it. The request packet size is only a few tens of byte, so the delay will be in order of few nanoseconds.

Delay Y is the amount of time required by the processor to process the USB request and to set up the direct memory access. This depends on the type of processor, number of threads/processes running on it, and the software architecture.

For a general purpose processor handling a large number of processes/tasks, the OS processing delay can be very large depending on the interrupt latency, context switch latency, queue latency etc. Worst case delay Y can be on the order of hundreds of microseconds.

Delay Z is the time required for the data transfer between USB and the storage device, depending on the request type. It also depends on the direct memory access architecture and type of storage device, not on the USB speed as the bottleneck here would be the storage speed and not the USB speed (in case of SuperSpeed). Delay Z can vary from a few microseconds to milliseconds depending on the storage device type and request data size.

Even though the speed of USB has gone up by ten times (from 480Mbps to 5Gbps), the real throughput shall be much less than the theoretical value as USB’s contribution(X) towards total delay is negligible in comparison to OS processing delay (Y) and storage transfer delay (Z). Z delay can be improved by adopting better storage devices but Y delay needs to be managed aggressively through more efficient system design.

Page 3
Improving the efficiency of UB 3.0
To fully utilize the potential of USB 3.0 will require the following changes in most embedded mobile device design:

* High-performance processor: The complexity and number of tasks to be handled by the processor due to USB 3.0 will increase dramatically. A powerful processor is required if the performance of other applications is not to be compromised.

Impact on design: This will not only add to product cost but also increase the power consumption, which can prove to be a serious disadvantage for handheld devices.

* Architectural modifications: Existing system architectures would have to be changed to incorporate USB 3.0. Also, storage devices with higher capacities and better performance are required if the full potential of the USB 3.0 is to be realized.

Impact on design: This will increase the complexity of the system and hence affect time-to-market and project risk.

Redesigning for better performance
To improve performance, instead of connecting the USB controller to the general purpose processor (GP),it can be connected to an I/O module (Figure 4, below). This type of I/O module is called an I/O channel where the I/O module is enhanced to become a separate processor.

The GP directs the I/O channel to execute a program in main memory. The I/O channel fetches these instructions and executes these instructions without GP intervention. The GP is only interrupted when the entire sequence is completed.

Figure 4: USB 3.0 West Bridge I/O processor configuration (To view large image, click here)
If the I/O module has its own local memory, then it is called an I/O processor. This set-up minimizes the general purpose processor’s involvement.

This way, the requirement of a high-performance processor and architecture changes can be avoided and thus the unit cost and the risk involved in production can be reduced.

The West Bridge is one such intelligent I/O Processor that enhances and modularizes a peripheral controller in an embedded computer architecture.

Much in the same way a South Bridge improves data throughput in a PC architecture, a West Bridge topology improves throughput for high throughput data transfers between USB, the general purpose processor, storage, and other peripherals.

The West Bridge device is specially designed for this kind of operation and significantly boosts performance. As the total delay in a data transfer is dependent upon the processing delay, this delay is greatly reduced when a West Bridge architecture is used.

The major factor affecting the performance of a GP depends on the frequency of interrupts. In short, each time an interrupt is received by the GP, a context switch is required and the ISR has to be called, thus increasing the total execution time for other applications running over it. When a West Bridge device is used, most of the USB-specific interrupts are handled by it, thus improving the performance of GP.

A test was performed where a 15.1 GB Embedded Multi Media Card (eMMC) card was enumerated using a mass storage class driver. A comparison was done using the number of interrupts a GP had to handle with and without a West Bridge. Figure 5 below depicts the result for various tasks performed on that system. The individual interrupt numbers are given in log2 units.

Figure 5: Interrupt handling with West Bridge and without (To view larger image, click here).
Shown above is the reduction in the number of interrupts a GP has to handle when it uses a application-specific I/O processor such as West Bridge. Without West Bridge, the GP will have to handle a large number of interrupts, generated at ‘super speed’ that force the GP to remain in idle state for longer time because of repetitative context switchings.

Instead, the GP can offload this responsibility to the West Bridge and maintain its efficiency in handling other real-time tasks while leveraging USB 3.0. Not only does a West Bridge architecture facilitate simplifying the overall architecture of the system platform, it also boosts overall performance and lowers project risk.

Sangram Keshari Maharana works for Data Communication Division at Cypress Semicondutor. He has persued Batchelor degree in Electronics and Communication main stream from National Institute of Technology, Calicut in 2008. He can be reached at: sksm@cypress.com.

Avineet Singh works for the Data Communication Division at Cypress Semiconductor. He has received Batchelor degree in honors Computer Science from National Institute of Technology,Suratkal in 2007 year. He can be reached at: avineet.singh@gmail.com.

———————————————————————————————–

Cypress Developer Community

六月 10, 2011
By

 

Cypress Developer Community

Cypress Semiconductor

 

http://www.cypress.com/?app=forum&source=relatedFiles_48790

————————————————————-

Cypress Developer Community™ Adds Over 20 New PSoC Creator™ Videos

一月 20, 2011
By

 

Cypress Developer Community

Adds Over 20 New PSoC Creator™ Videos

http://www.businesswire.com/news/home/20110111005428/en/Cypress-Developer-Community%E2%84%A2-Adds-20-PSoC-Creator%E2%84%A2

Videos Highlight Ease-of-Use, Flexibility of Unique IDE and Powerful PSoC® 3 and 5 Products

SAN JOSE, Calif.–(BUSINESS WIRE)

–Cypress Semiconductor Corp. (Nasdaq:CY), today announced the release of over 20 new videos that demonstrate the unique functionality of the PSoC Creator™ IDE. The tutorials, which are about one minute in length, cover a range of topics selected to help designers quickly become familiar and productive with the tool. Videos such as Configuring a Component, Creating a Design in One Minute and Using the Component Catalog showcase PSoC Creator’s ease of use and functionality.

“PSoC Creator offers tremendous functionality in an intuitive and easy to use format”

To watch the videos, visit www.cypress.com/go/community, click on the “Videos” tab and search for “Creator.”

PSoC Creator Integrated Development Environment (IDE) was designed for the PSoC® 3 and PSoC 5 programmable system-on-chip families.

The unique design software enables engineers to design the way they think, using schematic-based design capture along with certified, pre-packaged peripherals to keep system creation independent of the target PSoC device. Users simply lay out the design just as they would on paper or a whiteboard, and let the tool auto-select it into the correct PSoC configuration. With PSoC Creator, customers create designs according to application requirements, not the limitations of the target device.

More information and free downloads of PSoC Creator are available at www.cypress.com/go/psoccreator.

The Cypress Developer Community™ was created for designers to share design tips, ask questions and find in-depth information on a wide range of Cypress products. In addition to the video library, the website includes forums on a range of applications, as well as product forums including USB controllers, memory, clocks and buffers. The community also offers blog entries from Cypress technical experts, and Cypress’s University Alliance.

“PSoC Creator offers tremendous functionality in an intuitive and easy to use format,” said Mark Saunders, Senior Product Marketing Manager. “We’re pleased that these videos give community members a quick and interesting way to become familiar with the tool and pick up helpful tips.”

Interact with PSoC by entering the ARM® Cortex™M3/ PSoC 5 Design Challenge!

Visit www.cypress.com/go/challenge to get started today.

About PSoC 3 and PSoC 5

The new PSoC 3 and PSoC 5 architectures include high-precision programmable analog capability (up to 20-bit resolution for an Analog to Digital Converter) and expanded programmable digital resources integrated with powerful, industry-standard MCU cores and ample memory and communications peripherals. The PSoC 3 devices are based on a new, high-performance 8-bit 8051 processor, while the PSoC 5 devices include a powerful 32-bit ARM Cortex™-M3 processor. The new products provide designers with a seamless, programmable design platform, enabling easy migration from 8 to 32 bits.

The robust features of these new solutions dramatically expand the applications and markets that PSoC can address, including automotive, portable medical, industrial and many more.

More information about PSoC products is available at www.cypress.com/psoc

and free online training is atwww.cypress.com/psoctraining.

——————————————————————————————————

Tag cloud