Quantcast
Channel: Total Phase Blog
Viewing all 822 articles
Browse latest View live

How Do I Capture USB Data Streams from a Remote Location for Test and Analysis at the Local Office?

$
0
0

Question from the Customer:

We are going to test new software that interacts with several low-speed serial devices over the USB bus. The hardware is offsite, not at our local office. Is it possible to capture USB data streams with the Beagle 12 USB Protocol Analyzer from a remote location and analyze it at another location? Also, how many Beagle adapters can we run from a computer? As there are multiple serial devices and we need to gather data at multiple test points from that location.

Response from Technical Support:

Thanks for your questions!  You can definitely launch more than one Beagle analyzer per computer – all you need is one instance Data Center Software open for each Beagle USB 12 Protocol Analyzer.

 Beagle USB 12 Host Analyzer for Analyzing Raw Data Packets
Figure 1: Beagle USB 12 Protocol Analyzer Full/Low speed USB 2.0 data

How many analyzers you can run on one computer depends on how many USB devices the computer can support. For your remote test and analysis, you can easily capture and store data, and send the capture file to another location.  The steps below describe how to do this.

 DC-example-hub-mouse
Figure 2: Data Center Software User Interface

 

  1. In the remote location, install the instances of the Data Center Software (free download, no fees or licenses required) that you need for each Beagle analyzer, and connect each Beagle analyzer to the computer via the USB ports.
  2. Next, capture the USB bus data and save the Data Center Software transaction log to a TDC file:
    1. Launch the Data Center Software to capture data.
    2. At the menu bar, select File, then select Save As, enter the file name and then click Save.
  3. After capturing the data, you can easily share the TDC file with anyone. You can email the file to a colleague or save it to a shared drive.
  4. At your office, open the TDC file with the Data Center Software and view the transaction log:
    1. Launch the Data Center Software
    2. From the menu select File, then select Open, choose the TDC file, and then click Open.

Additional resources that you may find helpful include:

We hope this answers your questions. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.


Use the Total Phase Promira Serial Platform or the Aardvark I2C/SPI Host Adapter in All Stages of the Product Life Cycle

$
0
0

How nice would it be to use the same tools for all phases of the product life cycle, from development to production to field support? Imagine a phase-to-phase transition that doesn’t require new tool validation. The Promira Serial Platform is so versatile that you can use it during design, release, manufacturing and support.

  • Proof of concept - Use the Promira platform to emulate proposed master/slave functions, verifying the feasibility of the design. The built-in level shifter provides you with the flexibility to work at different voltage levels; especially now that sub-3.3V signal levels are becoming increasingly popular in embedded systems.
  • Development - Test and debug the design by sending commands as a master or receiving data as a slave during both proof of concept and development stages. Total Phase accessory boards and software tools are also available to quickly bring your product to market.
  • Manufacturing - Use the Promira Serial Platform to easily program registers, BIOS, or firmware into EEPROMs and Flash memory. With the ability to communicate via Ethernet, you can set up several Promira platforms for remote use on a high volume production floor. Just before the product is shipped, burn the security features into each device. Ethernet connectivity allows you the run the Promira platform over long distances, which is useful in large production environments.
  • Quality Testing - Execute programs to run test cycles on the devices, and validate performance. With the higher speeds of I2C and SPI supported by the Promira platform, the read and write times can be significantly shortened, saving time and money during the test process.
  • Support - Not all equipment is portable and cannot easily be brought into the shop or factory for maintenance and repair (an ATM for instance). For complete customer service and in the field support, include the pocket-sized Promira platform in the field service kit for on-site trouble-shooting and repair. (See xxx blog for more details)
 Promira Serial Platform supports SPI slave/master  Aardvark I2C/SPI Host Adapter

Figure 1: Promira Serial Platform
High Speed I2C/SPI via USB, Ethernet, High Speed

Figure 2: Aardvark I2C/SPI
Host Adapter Low-Cost All-Purpose Tool

For some projects, you may find the low-cost Aardvark I2C/SPI Host Adapter as the effective tool to function as a master or slave for I2C or SPI protocols. The Promira Serial Platform expands those capabilities with many advanced features, including higher speeds, built-in level shifting, providing up to 200mA to the target devices, and communication via Ethernet or High-Speed USB.

Additional resources that you may find helpful include the following:

If you have questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

Quickly Design and Verify I2C Prototypes with the Aardvark I2C/SPI Host Adapter, a Beagle I2C/SPI Protocol Analyzer and an API Script

$
0
0

Total Phase tools are well-known for analysis, trouble-shooting and debugging, as well as programming and testing devices on the production floors – do you know how well our tools work for prototyping and debugging new design concepts? Here is an example of how two easy-to-use tools; the Aardvark I2C/SPI Host Adapter and the Beagle I2C/SPI Protocol Analyzer, can be used to prototype an I2C embedded system.

Aardvark I2C/SPI Host Adapter Beagle I2C/SPI Protocol Analyzer

Figure 1: Aardvark I2C/SPI Host Adapter

Figure 2: Beagle I2C/SPI Protocol Analyzer

In this example, the prototype design is a subsystem that monitors the acceleration and vibration of a remote-controlled vehicle. Here is the list of the tools used for this project:

  • The Aardvark adapter acts as the I2C master and is used to poll the accelerometer for its current position relative to gravity.
  • A custom GUI application is created using the Aardvark API to control the Aardvark adapter to collects and visually display accelerometer’s orientation in 3D.
  • A third-party I2C/SPI 3-Axis accelerometer board is used for simulating the accelerometer.
  • The Beagle analyzer and Data Center Software is used to non-intrusively capture the sent between the Aardvark adapter and the accelerometer for detailed analysis and verification.
  • PC (can be Windows, Linux, or Mac)
  • 10-Pin Split Cable
  • 2 USB cables

Here’s an overview of the steps to run and analyze this prototype:

  1. Connect the Aardvark adapter and the Beagle analyzer to the computer with USB cables.
  2. Connect the accelerometer board to the Aardvark adapter. Connect the female end of the 10-pin header cable from the Aardvark adapter to the male end of the header socket on the board labeled “Aardvark.”
  3. Connect the Beagle analyzer with the female-end of the 10-pin header socket to the 10-pin split cable. Then connect the 10-pin split cable to SDA, SCL and Ground cables as labeled on the board.
  4. Launch the customized API software.
  5. Launch the Data Center Software: Connect the Beagle analyzer, set the Device Settings (I2C) and the Capture Settings, and then Run Data.
     DC-setup
    Figure 3: Setting Up Data Center Software
  6. For simulation data, move the accelerometer board and observe and real-time data, which can be saved for further analysis.
 Data Center Real-Time Data
Figure 4: Real-Time Data Viewed on the Data Center Software
 Setup for Prototyping

Figure 5: Equipment and Software Setup for Real-Time Prototyping

Additional resources that you may find helpful include the following:

If you have questions about our host adapters, protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

USB Power Delivery Analyzer Summary and Resources

$
0
0

Earlier this week we announced the availability of a new product – the USB Power Delivery Analyzer.  With a very competitive price point, this early entrant into the ecosystem is a Type-C connector sniffing dongle, able to act as USB 3.1 Gen 2 data pass through while simultaneously recording traffic on CC1 or CC2.   Your HDMI, DVI, and Thunderbolt traffic are also passed through, giving you the perfect opportunity to view the power negotiation and then watch the screen come to life as soon as the negotiation is complete.

 USB Power Delivery Analyzer

Figure 1: USB Power Delivery Analyzer

Total Phase worked closely with Google to bring this product to life.  Originally part of Google’s Chromium project (code named “Twinkie"), when coupled with the open source PulseView visualization software this matchbox-sized device enables easy monitoring and decoding of CC1/CC2 (configuration channel), while concurrently passing through USB 2.0 and USB 3.1 traffic (up to 10 Gbps).

The power negotiation, including alternate video display modes (VDM) for HDMI, Display Port, and Thunderbolt are monitored on the CC1/CC2 lines and transmitted to the analysis PC via the included USB A to USB Micro-B cable.

The open source PulseView software provides a digital representation of the negotiation between host and source allowing users to decode the BMC and PD packets.

PulseView display of captured power delivery readings

Figure 1: PulseView Software - View of Captured Data

Additionally, the USB Power Delivery Analyzer can be used as a Power Sink displaying different colored-LEDs based on the voltage (5V, 20V and other).

Additional resources that you may find helpful include the following:

If you have questions about our host adapters, protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

How to Monitor and Analyze USB Power Delivery with the USB Power Delivery Analyzer

$
0
0

Delivering power over USB has become increasingly more important, as many consumer products and IoT devices are becoming more complex and require more power and better power supply negotiation. In response to this demand, the new USB Type-C standard, along with the also-new USB Power Delivery (PD) spec, was created to meet these growing demands.

Do you know how well your product works in this environment? Our new USB Power Delivery Analyzer gives developers the visibility and transparency to debug their USB PD applications.

USB Power Delivery Analyzer

Figure 1: USB Power Delivery Analyzer

We'll show you an example of how to monitor your USB PD system using the USB Power Delivery Analyzer. This example monitors power delivery between a SanDisk USB Type-C Flash Drive and a Google laptop with Type-C receptacles. For more detailed step-by-step instructions, please refer to our knowledge base article Monitoring Flash Drive Power Delivery Using USB Power Delivery Analyzer, Sigrok and PulseView. Of course, you can modify the steps for other devices and setups.

The equipment used in this example:

Overview of the setup:

  1. Connect the Chrome laptop power supply between the power source and the Chrome laptop Type-C receptacle.
  2. Using a cable, connect the USB Power analyzer to the Linux laptop.
  3. Connect the USB Power analyzer target USB plug to the Chrome laptop Type-C receptacle, and the USB Power analyzer target USB receptacle to the Flash Drive USB Type-C plug.
    System Setup for USB Power Delivery Measurements  Closeup of System Setup for USB Power Delivery Measurements
    Figure 2: System Setup

    Figure 3: Close-up of the USB Power Analyzer Setup

  4. Launch the Ubuntu Linux system.
  5. Download and install the USB Power Delivery Analyzer software packages and the Ubuntu software.

Capture, Monitor and Analyze the USB trace:

  1. Open a software terminal and activate the Sigrok application.  You should see the light on the USB power analyzer blink red and green, and then a blue light. The blue color indicates the USB power analyzer is capturing data.
  2. Open another terminal and activate the PulseView application. You can now set up this application and monitor the captured data as shown below:
 Realtime Data of USB Power Delivery Measurements

Figure 4:  Real-Time Captured Data

Additional resources that you may find helpful include the following:

If you have questions about our USB Power Delivery Analyzer or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

How much power can be delivered to downstream devices like I2C and SPI EEPROMs from the USB port when using the Aardvark I2C/SPI Host Adapter?

$
0
0

Question from the Customer:

I have a project where I’ll be using the Aardvark I2C/SPI Host Adapter, powered by its USB port, to test and provide power to I2C and SPI EEPROMs. I have a couple of questions:

  • Does it matter if the USB port (that is powering the Aardvark adapter) is from a USB hub or a USB host controller?
  • I’ll be writing up a program to test these devices. How do I set up pins 4 and 6 on the Aardvark adapter to provide power?

Response from Technical Support:

Thanks for your questions! The Aardvark adapter is compatible with USB hubs as well as USB host controllers. However, for your use, we recommend connecting the Aardvark adapter to a USB host controller.

 Aardvark I2C/SPI Host Adapter

Figure 1: Aardvark I2C/SPI Host Adapter

  • USB hubs are rated to provide a maximum of 100 mA per USB device, which is about how much power the Aardvark adapter itself will consume.
  • If the Aardvark adapter is directly plugged into a USB host controller, that USB port could provide up to 500 mA, which leaves approximately 400 mA for any downstream target device.  In addition to the power consumption of the devices, the Aardvark adapter can drive the output signals with up to 10 mA current, source or sink. The Aardvark adapter always reports itself to the host as a low-power device (<100 mA). Based on this specification, we strongly recommend not drawing large amounts of current from the USB host. For details about signal level and voltage ratings, please refer to section 2.2 of the Aardvark I2C/SPI Host Adapter User Manual.

Regarding the pins to use to deliver power from the Aardvark adapter, the Aardvark adapter is configured to perform, as listed below:

  • NC/+5V (Pin 4): I2C Power
  • NC/+5V (Pin 6): SPI Power

By default, these pins are left unconnected when the Aardvark adapter is shipped. Setting up these pins depends on the hardware version of the Aardvark adapter.

  • For our current Aardvark models, hardware version 2.00 or later, you can switch pins 4 and 6 on/off using the software API, specifically the command aa_target_power. For additional information about API commands, please refer to section 5 of the Aardvark I2C/SPI Host Adapter User Manual.  For more information, you can also refer to our knowledge base article "Using the Aardvark with Python on 64-bit Windows".
  • For older Aardvark adapters of versions earlier than 2.00 (before 2013), in addition to using the API commands, jumpers inside  the Aardvark must be set up.  To connect VDD to pins 4 and 6, connect jumpers J301 and J302. (Note:  opening the Aardvark enclosure will negate any hardware warranty).

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

It’s so Quick and Easy to Capture, Analyze, and Debug USB Data with Your Beagle USB Protocol Analyzer

$
0
0

Question from the Customer:

I am new to USB and just purchased my first Beagle USB Protocol Analyzer. The product manual  does a splendid job explaining how USB works and the Data Center Software User Manual illustrates how easy it is to start a capture.

What I am looking for is a simple, straightforward path to getting started - after I connect the Beagle USB 12 Protocol Analyzer to the software and start capturing the data, how do I wade through the data? Do you have tutorials for the more novice users like myself to get started, and maybe a few other tutorials to help bring me up to a more advanced level?

 Beagle USB 12 Host Analyzer for Analyzing Raw Data Packets

Figure 1: Beagle USB 12 Protocol Analyzer
Full/Low speed USB 2.0 Data Descriptor Parsing

Response from Technical Support:

Thanks for your question! In addition to the user manuals, we have many resources for you to learn how to use the Beagle USB 12 Protocol Analyzer. For starters, we recommend the Beagle USB 12 Protocol Analyzer Quick Start Guide. It gives you a good jumpstart about using the Beagle analyzer with the Data Center Software: how to configure the Beagle analyzer for the desired speed, capture USB data, and then save or export the data for future analysis.

For easy to follow demonstrations about using the data, we have two videos that may be useful to you. Both videos refer to using a Beagle 480 analyzer - they also apply to the Beagle 12 analyzer because the Data Center software is used for both devices.

USB Debugging using a Real-Time USB Bus Monitor Video Using the Bus Tree Feature of the Data Center Software for USB Debugging and Analysis Video
 USB Debugging using a Real-Time USB Bus Monitor Video  Using the Bus Tree Feature of the Data Center Software for USB Debugging and Analysis Video

Additional resources that you may find helpful include the following:

We hope this answers your question. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

The Beagle USB 480 Protocol Analyzer: Advanced Debugging Using the Digital I/O Port

$
0
0

Introduction

USB is everywhere. The familiar ports can be found in wide variety of applications: from consumer devices like smartphones and laptops, to infotainment systems in newer automobiles, and of course, embedded systems.

With its growing presence in electronic devices, the popularity of USB is continuing to create a need for improved development, support, and testing processes. Developers are faced with the challenge of keeping up with these new demands – specifically supplying applications for debugging these USB applications more efficiently and with more detailed real-time data. Total Phase has kept up with demand and delivers the tools needed to meet your USB development challenges.

The Beagle USB 480 Protocol Analyzer monitors USB traffic at Low, Full and High Speeds. But that’s not all; it is designed to do much more  – utilizing the DIN 9 port will provide powerful, advanced troubleshooting by allowing you trigger debuggers and external logic, and correlate what’s occurring in USB with the data in your embedded system.

This application brief describes various trouble-shooting techniques applying the Beagle analyzer's USB monitoring capability with the digital I/O port with the Total Phase Data Center Software.

 Beagle USB 480 Protocol Analyzer  

 

Beagle 480 USB Protocol Analyzer - Digital Port Pinout

Figure 1: Beagle USB 480 Protocol Analyzer Figure 2: DIN 9 Port Details:
Pin 1-4 input; Pin 5-8 output; Pin 9 ground

How the Data Center Software Works with the Beagle Analyzer

The Data Center Software, connected to the Beagle analyzer, displays and filters captured USB traffic, all in real-time. The data can be parsed and filtered and for high-speed devices, class-level decoding can be applied. For advanced troubleshooting, triggers can be set up, which include synchronizing to external logic.

Tracking and Correlating USB and Non-USB Events

Here is an easy and straightforward example of how the I/O ports can be utilized to monitor the status of your USB code, with the additional visibility and feedback of what your code is doing.

Configure the firmware on the DUT to output signals or toggle when certain tasks start and when they end, such as specific data patterns or a series of packets. These signals can be set up for more than task, each assigned to a separate output pin. An example setup can include:

  • Assign one pin to a low-level USB task
  • Assign a second pin to the higher-level class
  • Assign another pin to the user software

Trigger the Debugger and Find the Code Problem

In the process of debugging USB applications, it can be difficult pinpoint the exact nature of errors.  If the embedded system is paused, the USB connection will be interrupted and your connection will be cut.

The Beagle analyzer, with the Data Center software, enables you to step through the code for the USB DUT, while seeing the USB traffic at the same time, giving you the tools you need to identify the issue and where it is in your code

Using the Data Center software, you can set up data match triggers and feed the triggers into your debugger to create break conditions, all in real-time.  This allows you to choose a specific USB event and associate it with a specific section of your code, all through the Beagle analyzer’s digital output.  In addition to data matches, you can trigger on other USB packet types such as SETUPs, ACKs, corrupted packets, and more.

Data Center Software View Panel
Figure 3: Data Center Software Viewing Panel

 Synching for Reverse Engineering

For reverse engineering, you can set up the analyzer to accept triggers, based on a specific data pattern from the target device. Using this pattern synchronized to the data on the bus, you will be able to "lock in" and start read messages that are sent and received.

Synching with External Test Systems

Not all problems are due to erroneous digital signals; problems can occur in the analog domain, such as voltage spikes or ground bounce that cause random failures, or failures that only occur at specific data rates. These problems are very difficult to troubleshoot – especially if your only debug tool is an oscilloscope. But synchronize the oscilloscope with the Beagle analyzer and lock into the details. For these challenges, the Beagle 480 analyzer can be used to trigger an oscilloscope when it sees an erroneous packet, allowing you to correlate the analog data on the oscilloscope to that problem. Having such details can help you repeat the condition of the problem, and then find the problem in a much tighter range, that is much easier to work with.

Conclusion

As you can see, the Beagle USB 480 analyzer provides USB debugging capabilities beyond that of just monitoring USB data.  Using the digital inputs and outputs give engineers additional visibility into their application by synching the analyzer with external test devices, such as debuggers and oscilloscopes.  With the complex embedded systems that engineers are designing today, USB is only part of the picture and advanced debugging tools and strategies are a requirement for developing solid products. The Beagle USB 480 analyzer satisfies this requirement by being able to correlate USB events with what is occurring with the rest of the system, drastically reducing development time and streamlining the debugging process.

Additional resources that you may find helpful include the following:

If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.


Why Suffer the Cost-Effective Dilemma of Either Lower Cost or Higher Performance? The Total Phase Promira Serial Platform Gives You Both.

$
0
0

“This upswing and push for new capabilities creates a budgetary dilemma for many embedded engineers. ”  

Changes are coming in established driver interface protocols” Embedded Computing Design (Sept 24, 2015), written by Dr. Jerry Krasner, Ph. D., Vice President of Embedded Market Forecasters raises many points of the challenges and opportunities in the field of driver protocols, I2C, SPI and USB, a significant component of embedded devices.

In addition to the increase of speed from kHz to GHz, there is the growing embedded devices market as well as the advancement of commercial and industrial applications. A recent survey, 2015 EMF Survey of Embedded Developers, shows the summary of where embedded protocols are applied in the following markets: Industry, IoT (Internet of Things) and Non-IoT. Note the high percentage of I2C, SPI and USB in all three categories.

 Products used in embedded designs as a driver interface

 Table 1: Products used in embedded designs as a driver interface 2015 EMF Survey of Embedded Developers, Sept 24, 2015

To meet the demands, technical advancements need to move as fast as the market. How do embedded design engineers develop, prototype, test, QA and then manufacture their technical contributions to this growing market? Which tools do you select that can best support the growing need within your resources of cost, and the time and effort to most effectively use such tools?

“Some smaller toolmakers, like Total Phase, have finally have solved the dilemma. “

Total Phase provides a range of cost-effective tools for embedded devices.

 Compare the features of the Promira and the I2C/SPI Active Applications, and the Cheetah and Aardvark host adapters.
Table 2: Total Phase Promira Serial Platform, Aardvark I2C/SPI Host Adapter and Cheetah SPI Host Adapter

Low-cost or high-performance – is it one or the other? For the I2C and SPI developers, the Promira Serial Platform is a very flexible and cost-effective tool for embedded devices - it may be the best choice for your engineering lab. 

“The difference is that the new platform architecture lets end-users purchase high-performance applications only when they need them.”

As you can see in Table 2 above, the Promira platform I2C and SPI Active Level Applications give you the opportunity to upgrade to more advanced features as you need them. You don’t have to stress your budget at once on oversized equipment that may soon become obsolete. As Total Phase is committed to meet the technical aspect of market requirements, be confident and assured that you can meet the upcoming demands – cost-effective, high performance, within budget.

In addition to the options you see listed in Table 2, the Promira platform includes:

  • Integrated signal level shifting from 0.9V to 5.0V
  • High speed USB connectivity to the host computer
  • Ethernet connectivity
  • Ability to provide up to 200mA to target devices

What Dr. Jerry Krasner has to say:

“Their latest generation of tools is no longer task specific (e.g., program SPI at up to 8 MHz, sniff SPI at up to 24 MHz, etc.), but consists of complex FPGA-based platforms with customization capabilities beyond their predecessors. The result is the access to relevant technology in cost-effective tools that was previously unattainable in earlier generations. “

Additional resources that you may find helpful include the following:

If you have other questions about our Promira platforms, host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

USB Developer Days - What Experts Say About the Type-C Power Delivery Analyzer!

$
0
0

One of my favorite aspects of my job is meeting new and existing customers and learning about their projects and initiatives.  I recently had the chance to meet face-to-face with a number of USB-minded developers and engineers at the USB Developer Days in San Diego. superspeedusbThe event is sponsored by the USB Implementers Forum; the USB-IF facilitates the development of USB compatible devices and provides compliance standards and testing. If you are working in USB and don’t  know about USB-IF events – you should definitely check them out.

There was a lot of buzz around the latest USB connector - the USB Type-C - at this recent USB Developer Days event. The Type-C is a reversible-plug connector that connects to both hosts and devices and is anticipated to eventually replace the myriad of connectors and cables on the market.  200 of the best and brightest USB engineers were in attendance and all seemed excited about the new connector. They were thrilled to learn that Total Phase, a trusted name in USB protocol analysis, has joined the USB Type-C family. With our affordable USB Power Delivery Analyzer engineers can monitor power delivery (PD) negotiation, visualize and decode PD packets and Injecting PD packets on CC1 or CC2 lines, among other things.

USB Power Delivery Analyzer

USB Power Delivery Analyzer

The conversations around the USB PD analyzer were insightful if not predictive about the direction of the future of USB connectors. There are a growing number of industries that are now interested in this USB Type-C Power Delivery technology – not just USB device companies, but power adapter and DisplayPort companies too. It’s more than the monitoring of PD that is on the mind of developers, but also the monitoring of custom commands over the same CC lines, as well as being able to inject commands on those CC lines.There is speculation that the USB Type-C will replace the more proprietary charging cables and result in a single charging standard. If the excitement around the USB Type-C persists and those people with whom I spoke at USB Dev Days continue to develop as they have planned, I believe the speculation will result in reality. And am thrilled that Total Phase will be part of this new technology and help bring it to the marketplace. It’s a great time to be in USB!

Additional resources that you may find helpful include the following:

If you have questions about our USB Power Delivery Analyzer or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

With the Beagle USB 5000 v2 Protocol Analyzer, How Do I Filter and Capture Only the LTSSM Transitions from a UVC USB Video Class Device and Save the Data on a Hard Drive?

$
0
0

Question from the Customer:

I am using the Beagle USB 5000 v2 SuperSpeed Protocol Analyzer to analyze a UVC (USB Video Class) device.

  1. I don't want to capture the UVC frame data - I only want to capture the LTSSM (Link Training Status State Machine) transitions. How can I filter that data?
  2. How can I trigger the capture whenever a specific state entry occurs on the LTSSM?
  3. In the product feature, it is mentioned that the "Maximum single file Capture Size is 25.6 GB".  I need to store and analyze more data than that - how can I save the USB traffic directly on may hard drive?

Response from Technical Support:

Thanks for your questions! You can definitely use the Beagle USB 5000 analyzer and the Data Center Software to filter and capture data. The Beagle USB 5000 analyzer offers two ways – using LiveFilter or capture. The versatile and easy to use Beagle Software API gives you the ability to save the data to your hard drive, through your own custom program.

The following sections provide the information that you requested.

 Beagle 5000 USB Superspeed protocol analyzer Data Center Software

Figure 1: Beagle 5000 USB v2 Protocol Analyzer

Figure 2: Data Center Software

Capturing LTSSM transmissions only:

Using the LiveFilter, you can filter a specific data pattern. Simply apply the filter to focus on your event(s) of interest, and disable the filter to view the context of the event. This way you can see all the transactions that occurred before and after the selected event. For details about using this feature, please refer to the section Filtering a Capture in the Data Center Software User Manual. Figure 3 below shows an example of using LiveFilter:

 Use Data Center Software to "trigger" data with filters
Figure 3: Using LiveFilter with the Data Center Software and a Beagle Analyzer

Triggering captures based on a specific LTSSM state:

The Beagle USB 5000 analyzer has the ability to capture data when certain events occur on the bus: data is only stored on the analyzer until the capture is triggered, and then it is downloaded to the analysis machine (computer). For details about the triggering feature and the LTSSM view, please refer to the sections Triggering a Capture and LTSSM View in the Data Center Software User Manual. We also have a tutorial video about viewing LTSSM:

video-DataCenterLTSSM

Saving captured data to the hard drive:

The Beagle USB 5000 analyzer and the Data Center Software can stop the transaction and then save the transaction log to a TDC or a CSV file. By default, this data is only saved to the RAM of the computer. Use the Beagle Software API to create a custom program to save data to the hard drive on the fly. The API supports multiple operating systems and program languages, and program examples are provided so that you can customize them for your specific setup.

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com or submit a request for technical support.

Which SPI Host Adapter or Serial Platform can Easily Write/Read SPI Data that is Greater than 8 Bits per Word?

$
0
0

Question from the Customer:

I am using the Aardvark I2C/SPI Host Adapter in SPI slave mode, with MATLAB to interface with the Aardvark adapter. The master outputs a packet that we would like to read. But we aren’t able to read our entire packet, because it appears that the data output is limited to 8 bits. In the header file, the SPI slave read data output only is an 8-bit variable. Is there a way to work around this?

Response from Technical Support:

Thanks for your question! The Aardvark adapter supports 8-bit words and can transfer 8-bit SPI data without td delay, and multiple 8-bit SPI data with td delay.  To send data that is non-8 bit packets, we recommend the Promira Serial Platform.

Promira Serial Platform

Figure 1: Promira Serial Platform

The Promira platform supports multiple 8-bit words as well as multiple non 8-bit words, which provides greater flexibility for interfacing with the more complex devices.

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

Can I Manually Control the Rx Receiver Termination of the Beagle USB 5000 Protocol Analyzer Instead of Using the Default Auto-Detect?

$
0
0

Question from the Customer:

It appears that the default receiver termination detection system of the Beagle USB 5000 v2 SuperSpeed Protocol Analyzer – Ultimate Edition is auto-detect. I’m testing and debugging a device on the USB 3.0 bus and want to control the receiver termination. Can I manually set the receiver termination to be always “on” or always “off” in the upstream or downstream direction?

Here are details of what I’m trying to do:

When the termination resistor is set manually, the auto-detection system will be turned off. Once the handle to the Beagle analyzer is closed, the state of the receiver termination detection system will revert to the default setting of auto-detect.

Response from Technical Support:

Thanks for your question! You can easily control the receiver termination manually - there are two ways to do this. You can use the built-in  Data Center Software features or you can create a customized program with the Beagle Software API.

 Beagle 5000 USB Superspeed protocol analyzer Data Center Software
Figure 1: Beagle 5000 USB v2 Protocol Analyzer Figure 2: Data Center Software

With the Capture Window of the Data Center Software, you can toggle the receiver termination with Force On and Force Off.  This option is highlighted in the figure below. For more information, please refer to the Capture Control Window section of the Data Center Software User manual.

 
Data Center - Set Receiver Termination
Figure 3: Data Center Software Capture Window
 

The Beagle Software API can be used to create customized programs for specific setup requirements. The API supports multiple software languages and operation systems. For information about functions that control the receiver termination, please refer to the section USB Monitor Interface (USB 3.0) of the Beagle Protocol Analyzer User Manual.

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

Saving Time, Money and Effort by Using the Cost Effective Beagle USB 480 Power Protocol Analyzer

$
0
0

It’s always exciting to learn something new – especially when it’s about use cases for Total Phase tools.  As someone who is relatively new to the company, I’m interested in hearing how our customers’ use our tools in their line of work. There is no better way to learn from customers than to meet with them face-to-face. I had that opportunity in Minneapolis last week at ESC. It was great to meet new customers and put faces to names of existing customers. Conversations are always more engaging in person and demonstrations are too. After speaking a bit with one customer we were able to determine that using the Beagle USB 480 Power Protocol Analyzer in their projects would not only save time but also money.

  beagle480power-300jpg
Figure 1: Beagle USB 480 Power Protocol Analyzer

The Beagle USB 480 Power Protocol Analyzer is capable of monitoring current and voltage levels on the VBUS. This VBUS data is correlated to the USB traffic from the DUT. The customer was enthusiastic about learning more about the power monitoring. They had been having power issues in their development work, and the Beagle USB 480 Power Protocol Analyzer will be able to easily address and assist with the resolution of their roadblock, saving them time and money -  very cost effective.

In one meeting,  the engineers asked if they could bring in their project to test with Total Phase tools. This was the first time I saw Total Phase tools in an actual development setting. It was great to see how our tools give visibility into an area where the engineers are struggling. In this scenario the Beagle USB 480 Protocol Analyzer – Ultimate with its advanced triggering capabilities was used to monitor data from the customer’s system. The Beagle provided a view of significant changes in the current/voltage levels of their project allowing them to easily find the offending transactions to help solve their issue.

Overall, ESC Minneapolis was a great show – but it was our customers who made it a wonderful experience. I look forward to next time!

 

For more information, please refer to the following documents:

If you have questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com or submit a request for technical support.

ARM TechCon 2015, ARM, CAN Bus, USB Bus and Total Phase

$
0
0

Total Phase exhibits at ARM TechConThere was lots of activity at ARM TechCon 2015, in Santa Clara last week, with over 4,000 attendees, 7 tracks and 6 keynotes. This was Total Phase’s first time exhibiting at this conference and we truly enjoyed the experience.

Many of the new ARM designs support the CAN Bus and the USB Bus. A number of engineers (especially from the automotive industry) stopped by our booth to see how our tools can help with more efficient data transfer across their embedded network. With the Komodo CAN Duo Interface, we were able to show how easy it is to generate CAN traffic, communicate with CAN devices, and analyze CAN traffic from multiple devices at the same time. The Komodo interface is an invaluable tool when designing CAN systems with your ARM processor.

For some time now, ARM processors have supported Full Speed, High Speed, and now Super Speed USB. Total Phase’s family of Beagle USB protocol analyzers includes features for each level of application, making analysis easy and affordable.

In addition to demonstrating the Beagle analyzer and the Komodo interface Karen and I were busy showing off our new Promira Serial Platform with Applications for I2C and SPI, including both Master and Slave functionality. Our Promira platform’s I2C Master supports High-Speed mode I2C up to 3.4 MHz, and our SPI Master supports single, dual and quad modes up to 80 MHz.  Using the Promira with our Control Center, Data Center and Flash Center software, engineers experience the power this tool brings to help with the design and debug processes.

ARM TechCon was a great way to wrap up the year. Thanks to all of you who stopped by the booth. Wishing you all a happy and safe holiday season and looking forward to seeing you in 2016.

Additional resources that you may find helpful include the following:

If you have any questions about our Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.


How Much Impact Does the Type-C Connector Have on Your Interconnect Designs and the Market You Can Reach? How about the USB Power Delivery Analyzer?

$
0
0

“Given the substantial use of USB for IoT and non-IoT developments, the Type-C™ connector should have an impressive impact on interconnect designs and developments.”

The USB Type-C Connector: USB will never be the same”, Embedded Computing Design (Sept 17, 2015), written by Dr. Jerry Krasner, Ph. D., Vice President of Embedded Market Forecasters, tells us about the rapidly growing development and implementation of the Type-C USB connector (USB-C).

The Type-C USB connector was introduced about a year ago, and it already shows tremendous impact on developers and the market.

“As the industry transitions to Type-C connectors, an increase in product designers' creativity will result because they can now use one port to connect with various different products. “

One USB Type-C connector supports multiple serial technologies. For developers, this feature provides the flexibility of using one port to interface various high-speed interconnects. This flexibility makes it easy to incorporate off-the-shelf items in new designs, which can greatly reduce the cost of both development and production.  This feature also makes it easier to interface various products to work together. How are developers responding to this?

A recent 2015 EMF Survey of Embedded Developers shows that 16.5% of developments are using the USB-C connector.

The following table shows the overall plans that developers have for interconnect technologies. Note the extensive use of USB technologies, and that both IoT and IoT developers are taking this technical advantage.

tableDesignsInterconnect
Table 1: Interconnect Technologies Planned for Next Generation Products, 2015 EMF Survey of Embedded Developers, Sept 17, 2015

What Dr. Jerry Krasner has to say:

“USB Type-C is the new universal USB connector that replaces the entire plethora of medium, small, and large connectors that are used in your cell phones and your PCs with one small, easy-to-use connector.”

To meet these growing demands and to successfully explore and further develop this wide spreading technology, Total Phase offers the USB Power Delivery Analyzer.  The hardware capabilities of this tool include the following:

  • Sniffing Power Delivery (PD) traffic on Control Channel lines
  • Transparent interposing on a USB Type-C connection
  • Monitor VBUS and VCONN voltages and currents
  • Injecting PD packets on CC1 or CC2 lines
  • Putting Rd/Rp/Ra resistors on Control Channel Lines
 Using the Power Delivery Analyzer
Figure 1: Example of Using USB Power Delivery Analyzer

Additional resources that you may find helpful include the following:

If you have questions about our USB Power Delivery Analyzer or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

How Can I Best Control the Bitrate of an SPI Master When I’m Working with Slower SPI Devices?

$
0
0

Question from the Customer:

I have been using the Aardvark I2C/SPI Host Adapter for many projects. Right now, I have a new project where I’ll be using the Aardvark adapter in SPI master mode. As I understand it, the slowest clock rate I can use in master mode is 125 kHz. However, for this project, I need a much slower bitrate, about 50 kHz. Is where a way I can slow down the Aardvark adapter (or another adapter) to communicate with slower SPI devices?

Response from Technical Support:

Thanks for your question! For your project, we recommend the Promira Serial Platform, which can be configured to the speed for the system requirement of your project.  As you noted, the bitrates that the Aardvark SPI master supports is 125 kHz to 8 MHz, which cannot be changed.  The Cheetah SPI Host Adapter also operates at higher speeds, 100 kHz to 40+ MHz. The clock rate of the Promira platform is much more flexible. As an SPI master, the Promira platfrom can operate at bitrates from 31 kHz to 80 MHz. As an SPI slave, the bitrate can range from 31 kHz to 20 MHz.

For more details about SPI bitrates and timing, please refer to the sections SPI Signaling Characteristics and SPI AC Characteristics of the Promira Serial Platform User Manual.

 Promira Serial Platform

Figure 1: Promira Serial Platform

You may find the Promira platform very useful for future projects – it provides a number of advantages over the Aardvark and Cheetah adapters, including:

  • Integrated level shifting from 0.9-3.3V (5V tolerant)
  • High-speed USB connectivity - provides high performance and convenience for benchtop programming, testing, and emulation
  • Ethernet connectivity - convenient for benchtop work, and enables remote control for your automation needs over long distances
  • More target power - provides a total of 200 mA to target devices
  • Scalability - SPI and I2C Active applications allow you to upgrade your Promira platform as needed; new applications will be released on a ongoing basis.

The following table provides a quick comparison between the levels of the Promira I2C and SPI Active Level applications, as well the Aardvark and Cheetah adapters.

 Compare the features of the Promira and the I2C/SPI Active Applications, and the Cheetah and Aardvark host adapters.

Additional resources that you may find helpful:

We hope this answers your questions. If you have other questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

How Do I Set up the Beagle I2C/SPI Protocol Analyzer to Communicate with Devices of Lower Signal Levels, such as 2.7V?

$
0
0

Question from the Customer:

I am planning to buy your Beagle I2C/SPI Protocol Analyzer. In the Beagle Protocol Analyzer User Manual, the input high voltage signal level is noted as 3.3V with +/-10% tolerance. However, on the target board, the high signal level is limited to +2.7V (the MCU is powered with 2.7V). How can the Beagle I2C/SPI Protocol Analyzer accept +2.7V voltage signals as high logic level signals?

Response from Technical Support:

Thanks for your question! The Beagle I2C/SPI analyzer operates at 3.3V signal levels. An interface is needed to communicate with devices that operate at a lower signal levels, for this we provide - the Total Phase Level Shifter Board. You can use the Data Center Software with both the Level Shifter Board and the Beagle I2C/SPI analyzer.

 Level Shifter Board

Figure 1: Level Shifter Board

It’s simple to provide accurate signal levels between both devices -  just connect the Level Shifter Board between the Beagle I2C/SPI analyzer and the target device. Then run your capture in Data Center to view data from the bus.  Here is a summary of the Level Shifter board features:

  • Level shifting for I2C, SPI, and MDIO signals
  • Supports voltage levels of 1.2V, 1.5V, 1.8V, 2.5V, 3.0V, and 3.3V
  • Supply power to downstream devices
  • I2C speeds of 800 kHz
  • SPI and MDIO speeds of 20 MHz
  • Can be used with the Aardvark I2C/SPI Host Adapter, the Cheetah SPI Host Adapter, as well as the Beagle I2C/SPI Protocol Analyzer

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com or submit a request for technical support.

USB-IF in Taiwan - our International Colleagues are Excited About Type-C Connector and our USB Power Delivery Analyzer

$
0
0

It’s an exciting time to be at the forefront of technology. For the USB world, the new USB Type-C connector and Power Delivery protocol sparked great interest and created a lot of energy at the recent USB-IF Plug Fest and Developer Days in Taipei, Taiwan. I was lucky enough to represent Total Phase with our CEO Gil Ben-Dov at both events. During the week of the USB-IF Plug Fest, the Total Phase testing suite had non-stop activities – the room was filled with people who are working with the newest power delivery specs from 8am to 6pm everyday. It was fascinating to learn about the newest USB technology and see how Total Phase’s USB Power Delivery Analyzer provides insights into people’s USB projects.

 USB Power Delivery Analyzer

Figure 1: USB Power Delivery Analyzer

Everyone we encountered was impressed by our USB Power Delivery Analyzer’s small footprint and affordable price tag. With the open source software Sigrock and Pulseview, the Power Delivery Analyzer was able to capture the power delivery trace and decode PD packets on the CC1 and CC2 lines of the device under test. We tested a variety of Type-C devices including hubs, E-Mark cables, monitors, laptops, and dual-role-port devices, and used a Macbook and Chromebook as our hosts. It was evident with the number of inquiries and level of buzz that the USB industry is heading in the direction of Type-C and Power Delivery, as people were very excited about the new protocol and our analyzer’s ability to show the Power Delivery negotiation.

 Engineers testing new devices with the USB Power Delivery Analyzer
Figure 2: Steven Chang, some customers and me testing USB Power Delivery with the Total Phase USB Power Delivery Analyzer

One test case that was of particular interest was the use of a Type-C hub that could do video. The engineers came back to our suite three times with updated versions of their firmware in attempts to solve their problems – they told us their firmware engineers had been up 72 consecutive hours working on their product! With our Power Delivery Analyzer, we were able to show them that they were using a bad cable (comparing the volume of junk packets with our known good cable versus their cable) and easily provided the quickest way to visualize the problem.

It was my first time attending the USB-IF Plug Fest and it was definitely a very insightful experience that opened my eyes to the realm of USB technology. On top of learning all about Power Delivery, we had a great time in Taiwan, enjoyed the unseasonably warm weather and delicious local food.

 Gil Ben-Dove Dining at Taiwan during technical symposium
Figure 3: Gil Ben-Dov with some stinky tofu at a night market

Additional resources that you may find helpful include the following:

If you have questions about our USB Power Delivery Analyzer or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

What are the Best Tools for Programming SPI Flash Devices that have Various Voltage Signal Levels?

$
0
0

Question from the Customer:

We have been using the Cheetah SPI Host Adapter with the Flash Center Software to program a Flash device in a Flash SOIC-8 Socket Board. The Flash SPI device has 3.3V voltage level signals.  As we now have 1.8V devices to work with, we are considering the Level Shifter Board (TP240610) so that 1.8V devices can be programmed in the socket. Is this the best solution, or are there other devices that could be easier to use for working with various SPI Flash devices that have 3.3V and 1.8V logical voltage level signals?

Response from Technical Support:

Thanks for your questions! We have two recommendations for you.

For greater flexibility, we recommend our Flash SOIC-8 Socket Board - 10/34 (TP282310), which supports multiple SPI signal logic levels, including 1.8V and 3.3V logical signal levels.

 Flash SOIC-8 Socket Board 10/34

Figure 1: Flash SOIC-8 Socket Board – 10/34[RCA7]

For even greater flexibility, we  recommend the Promira Serial Platform with one of our SPI Active Applications.  In addition to its built-in level shifting, which eliminates the need for level shifting boards, the Promira platform provides up to 200mA to target devices, High-Speed USB connectivity as well as Ethernet connectivity and much more. You can upgrade the features by purchasing more advanced SPI and I2C Active Applications that are appropriate for your current requirements.

 promira-insets

Figure 2: Promira Serial Platform

 

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our serial platforms, board accessories or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.

Viewing all 822 articles
Browse latest View live