How Can I Run Parallel Scripts with the Promira Serial Platform To Toggle GPIO During SPI Writes?

Question from the Customer:

I am using the Promira Serial Platform with Promira Software API I2C/SPI Active. I’m looking to create a script (in Python) so that the SPI and GPIO commands occur in parallel; the GPIO toggles during SPI writes. Here is a summary of what I’m looking to do:

 

start gpio toggle;
submit spi write queue;
delay;
stop g...

USB Power Delivery Analyzer Supports the New USB 3.2 Specification

Over the years, USB-IF, the organization that oversees USB technology, has progressively released improved USB specifications that offer significantly faster speeds and additional features. From USB 2.0 that introduced High-speed USB to USB 3.1 Gen 1 and Gen 2, we have seen major developments since USB was first introduced in 1996, especially w...

How Do I Apply Low Level Commands to Test a Target SPI Device with Retries?

Question from the Customer:

We need to apply low level commands to determine if the target SPI device is awake. Part of that evaluation is the number of retries it takes. We’ve been using the Aardvark I2C/SPI Host Adapter – would it work for this test case? Are there some limitations we should know?

Response from Technical Support:

Thanks f...

What Do Emissions Control, Diagnostics and Troubleshooting, OBD-II and CAN Protocol Have to Do with Each Other?

As mentioned in a previous article, What’s New About CAN FD?, the creation of the Control Area Network (CAN) bus started in 1983 at the Robert Bosch Company.

After finalizing the first design, the CAN protocol was introduced to the Society of Automotive Engineers (SAE) in 1986. In 1991, the CAN protocol was publicly released by its usage in th...

What’s New About CAN FD?

CAN, Control Area Network, was created to improve vehicles as well as reduce the cost and maintenance of internal wiring – which was quickly increasing as more features were moving from mechanical to electronic technologies. For interaction and control, a protocol was required to handle the increasing complexity of operative devices within a v...

How Are Promira Serial Platform Pins Configured? Do I Need to Add Pull-Up Resistors?

Question from the Customer:

Can you tell me about the pin configuration of pin 14 and pin 15 of the Promira Serial Platform? I am using these two pins as DO. Are they both open-collector pins – will I need to add pull-up resistors?

Response from Technical Support:

Thanks for your questions! The I/O circuit depends on how you are using the Pro...

CAN Bus Hacking in Vehicles

If you’re a Criminal Minds fan, you’ll know this TV drama produces fictional and enticing crime episodes where police and FBI agents investigate unique crimes and their perpetrators. One recent episode, “Collision Course”, focused on a crime where hackers targeted vehicles and took control of the vehicle’s controller area network, the...

Can the Promira Serial Platform Reduce Clock Cycle Gaps and Provide Precise Timing when Testing a New SPI Device?

Question from the Customer:
We’ve been using the Aardvark I2C/SPI Host Adapter for years – the software updates have been great, but now we’re testing a faster prototype SPI device. We need a faster adapter. Our goal: eliminate gaps between clock cycles.

Currently, there is a gap between each 8 clock cycles. For test harness purposes, to ...

How to Program Large Files to SPI Flash Memory Using the Cheetah SPI Host Adapter

Flash Center Software should be used with our Cheetah SPI Host Adapter to program large files to SPI flash memory. A common use case related to this topic is loading field-programmable gate array (FPGA) images to different addresses within SPI flash memory.

When loading large files, you often need to program one sector of memory while leaving o...

What Causes Partial Error Codes to Occur When the SPI Data Is Correct?

Question from the Customer:

I’m using the Beagle I2C/SPI Protocol Analyzer and the Data Center Software. I have a question about the results I see. I send a 20-bit (2.5bytes) data packet, and the results show the data is wrong.  The error code is P4, as shown below.

Viewing error codes in Data Center SoftwareWe are certain the SPI data is correct – why is the Data Center Software ...