<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Test Equipment Connection &#187; engineers</title>
	<atom:link href="http://blog.testequipmentconnection.com/tag/engineers/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.testequipmentconnection.com</link>
	<description>Quality refurbished test equipment</description>
	<lastBuildDate>Wed, 09 Mar 2022 14:42:21 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Using an Oscilloscope to Debug the I2C Protocol</title>
		<link>http://blog.testequipmentconnection.com/using-an-oscilloscope-to-debug-the-i2c-protocol</link>
		<comments>http://blog.testequipmentconnection.com/using-an-oscilloscope-to-debug-the-i2c-protocol#comments</comments>
		<pubDate>Mon, 19 Jul 2010 18:49:10 +0000</pubDate>
		<dc:creator><![CDATA[Mike Novello]]></dc:creator>
				<category><![CDATA[Oscilloscope News]]></category>
		<category><![CDATA[DACs]]></category>
		<category><![CDATA[DeBug]]></category>
		<category><![CDATA[EEPROMs]]></category>
		<category><![CDATA[engineers]]></category>
		<category><![CDATA[fan control chips]]></category>
		<category><![CDATA[I2C Protocol]]></category>
		<category><![CDATA[LeCroy]]></category>
		<category><![CDATA[low-speed ADCs]]></category>
		<category><![CDATA[mbedded system]]></category>
		<category><![CDATA[Oscilloscope]]></category>
		<category><![CDATA[PLDs]]></category>
		<category><![CDATA[protocol operations]]></category>
		<category><![CDATA[SCL]]></category>
		<category><![CDATA[SDA]]></category>
		<category><![CDATA[Serial Clock Line]]></category>
		<category><![CDATA[Serial Data Line]]></category>

		<guid isPermaLink="false">http://blog.testequipmentconnection.com/?p=916</guid>
		<description><![CDATA[A modern scope can take the tedium out of checking protocol operations in an embedded system with multiple I2C devices In designing and testing an embedded system, engineers need to provide a way for the various devices and subsystems on &#8230; <a href="http://blog.testequipmentconnection.com/using-an-oscilloscope-to-debug-the-i2c-protocol">Read More <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h3>A modern scope can take the tedium out of checking protocol operations in an embedded system with multiple I2C devices</h3>
<p style="text-align: justify;">In designing and testing an embedded system, engineers need to provide a way for the various devices and subsystems on the system, such as DACs, low-speed ADCs, fan control chips, EEPROMs, and PLDs to communicate. The Inter-Integrated Circuit protocol, more commonly known as I2C, is one of the more popular protocols in use today.</p>
<p style="text-align: justify;">Unlike protocols such as SPI and UART that may need multiple dedicated I/O connections, I2C communication takes place using only two I/O connections. Since I/O connections on embedded systems are generally scarce and engineers need to use a minimal number of pins per device, the I2C protocol is often preferred. However, when using an embedded system with multiple I2C devices, debugging the I2C protocol can be tedious. But by using a modern digital oscilloscope for debugging, engineers can analyze the I2C protocol and view physical signals without disrupting the system.</p>
<p style="text-align: justify;"><strong>Understanding I2C </strong></p>
<p style="text-align: justify;">It is important for engineers to understand the protocol thoroughly in order to select the correct set of tools for debugging. I2C is a multimaster single-ended serial protocol, which means it can support multiple slaves and multiple masters on the same bus. It is based on two bidirectional lines, Serial Clock Line (SCL) and Serial Data Line (SDA), which are pulled high with pull-up resistors. These lines together are commonly known as an I2C bus, which is used for communication among all I2C devices (multiple masters and slaves).</p>
<p style="text-align: justify;">I2C protocol comes in four modes: Standard mode (100 kHz), Fast mode (400 kHz), Fast mode-Plus (1 MHz), and High Speed mode (3.4 MHz). The protocol consists of a Start bit, Address bits, read/write (R/W) bit, data byte, acknowledge bit (ACK), no-acknowledge bit (NACK), stop bit, and re-start bit (which is equivalent to Start bit without a stop bit).</p>
<p style="text-align: justify;"><img src="http://www.electronicproducts.com/images2/farc_lecroy01_jul2010.gif" alt="" /></p>
<p style="text-align: justify;">Fig. 1. The screenshot shows I2C address, and how SDA and SCL signals are interpreted for various protocol components.</p>
<p style="text-align: justify;">The Start bit (S) is always sent by a master to initiate communication. It is defined as high to low transition on the SDA line, while SCL is held high.</p>
<p style="text-align: justify;">Address bits are either in a 7- or 10-bit format, depending on system configuration. The 7-bit format has fixed address bits and hardware-selectable address bits (optional), for a total of 7 bits. And the 10-bit format consists of a fixed command (11110) and a 10-bit address (fixed or hardware selectable).</p>
<p style="text-align: justify;">The read/write bit (R/W) is the eighth bit on the address byte, where low is write and high is read, for the 7-bit addressing mode.</p>
<p style="text-align: justify;">In the 10-bit addressing mode, read/write is a little more involved than the 7-bit addressing mode. The write operation consists of two bytes, and the read operation consists of three bytes.</p>
<p style="text-align: justify;"><img src="http://www.electronicproducts.com/images2/farc_lecroy02_jul2010.gif" alt="" /></p>
<p style="text-align: justify;">Fig. 2. The display shows Write (top) and Read (bottom) addressing for 10-bit I2C mode.</p>
<p style="text-align: justify;">The data byte is sent by the transmitting device (master or slave) and the acknowledge bit (ACK) occurs on the ninth SCL clock pulse. It is transmitted by the receiving device, while it pulls SDA line low. The no-acknowledge bit is transmitted when the receiving device fails to pull the SDA line low. The transfer is aborted when NACK is received. The stop bit is always sent by the master to end the communication. It is defined as low to high transition on the SDA line while the SCL line is held high.</p>
<p style="text-align: justify;">Debugging the I2C protocol</p>
<p style="text-align: justify;">Embedded-system engineers must make sense of the I2C messages sent back and forth on their system. They must identify the messages being sent to a particular device based on the device&#8217;s address, and then continue to analyze the payload/data bytes transferred between the devices.</p>
<p style="text-align: justify;">Often, engineers use low-cost I2C sniffer/analyzers to capture I2C traffic for analysis. However, most embedded designs have no connector to attach an I2C analyzer on the embedded board, so engineers must look at electrical signals on the I2C bus to make sense of the error or messages transferred among devices.</p>
<p style="text-align: justify;">The problem becomes even more complicated when the device that must be debugged is hot swappable, and engineers cannot put the entire system in debug mode. Oscilloscopes are very useful in these situations, because they allow engineers to probe the I2C bus and capture I2C traffic without disrupting the entire system.</p>
<p style="text-align: justify;">Nevertheless, capturing I2C traffic is only half the battle. Engineers must also decode the messages sent to several devices, and so often spend many hours manually counting bits. An oscilloscope with an I2C trigger and decode package avoids the frustration of decoding messages manually and gives an instant snapshot of the I2C communication taking place.</p>
<p style="text-align: justify;">For example, consider the state of a Nintendo Wii controller&#8217;s I2C bus while it is connected to a FreeStyleGames DJ Hero system (see Fig. 3). Since the Wii controller and DJ Hero communicate over I2C, several packets are being sent back and forth at any given time [1].</p>
<p style="text-align: justify;"><img src="http://www.electronicproducts.com/images2/farc_lecroy03_jul2010.gif" alt="" /></p>
<p style="text-align: justify;">Fig 3. I2C traffic with multiple devices.</p>
<p style="text-align: justify;">Using a modern digital oscilloscope, engineers can capture I2C traffic and use its decoding capabilities to analyze messages communicated between the master and the slave. The scope&#8217;s ability to decode the I2C protocol lets engineers debug the design efficiently and effectively. To quickly view timing and packet relationships, a table view provides a higher-level snapshot of a long I2C bus capture.</p>
<p style="text-align: justify;">The table view in Fig. 3 shows messages (in the data column) sent to each device based on the device address (in the address column) and presents the data in a format similar to a sniffer/analyzer. Also, the scope&#8217;s I2C trigger capabilities enable engineers to focus on the device they plan to debug, using specific address and data triggers to isolate communication between a particular slave and master.</p>
<p style="text-align: justify;">Advanced debug tools</p>
<p style="text-align: justify;">Finally, some oscilloscopes also have feature-finding algorithms that help engineers interpret what surrounds the anomaly and what caused it on the SCL line (see Ffig. 4). The feature finder is especially helpful in locating the clock synchronization process, which is automatically performed by masters in a multi-master environment.</p>
<p style="text-align: justify;"><img src="http://www.electronicproducts.com/images2/farc_lecroy04_jul2010.gif" alt="" /></p>
<p style="text-align: justify;">Fig. 4. The runt is shown in the yellow box and the &#8220;found feature&#8221; in the lower trace. The upper left shows a table of three features found that met this condition.</p>
<p style="text-align: justify;">The I2C protocol is ubiquitous in embedded systems, but the protocol structure of multiple slaves and masters creates many challenges to solving problems in a system. Choosing the correct scope with specialized trigger, decode, advanced search, and viewing tools can simplify and shorten the debug process. ■</p>
<ol style="text-align: justify;" type="1">
<li>Note      that no claims are made regarding any known bug in Nintendo Wii and      FreeStyleGames DJ Hero. These systems were used merely to provide an      example of a hypothetical real-world situation.</li>
</ol>
<p style="text-align: justify;"><em>(source</em> <em>www2.electronicproducts.com-  Vrajesh Dave of LeCroy, Chestnut Hill, NY <a href="http://www.lecroy.com/">http://www.lecroy.com</a>)</em></p>
<p style="text-align: justify;">
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://blog.testequipmentconnection.com/using-an-oscilloscope-to-debug-the-i2c-protocol/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>$620 Million for Smart Grid</title>
		<link>http://blog.testequipmentconnection.com/secretary-chu-announces-620-million-for-smart-grid</link>
		<comments>http://blog.testequipmentconnection.com/secretary-chu-announces-620-million-for-smart-grid#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:20:24 +0000</pubDate>
		<dc:creator><![CDATA[Mike Novello]]></dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Test & Measurement]]></category>
		<category><![CDATA[advanced battery systems]]></category>
		<category><![CDATA[compressed air energy systems]]></category>
		<category><![CDATA[consumers]]></category>
		<category><![CDATA[cyber security specialists]]></category>
		<category><![CDATA[electricians]]></category>
		<category><![CDATA[Energy-Storage]]></category>
		<category><![CDATA[engineers]]></category>
		<category><![CDATA[equipment installers]]></category>
		<category><![CDATA[flow batteries]]></category>
		<category><![CDATA[flywheels]]></category>
		<category><![CDATA[IT system designers]]></category>
		<category><![CDATA[Smart Grid]]></category>
		<category><![CDATA[Smart-Grid-systems]]></category>
		<category><![CDATA[Smart-Grid-technologies]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[utility-scale energy storag]]></category>

		<guid isPermaLink="false">http://blog.testequipmentconnection.com/?p=546</guid>
		<description><![CDATA[Secretary Chu Announced $620 Million for Smart Grid Demonstration and Energy Storage Projects. Recovery Act funding will upgrade the electrical grid, save energy and create jobs! COLUMBUS, OHIO – At an event in Columbus, Secretary Chu announced that the Department &#8230; <a href="http://blog.testequipmentconnection.com/secretary-chu-announces-620-million-for-smart-grid">Read More <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Secretary Chu Announced $620 Million for Smart Grid Demonstration and Energy Storage Projects. Recovery Act funding will upgrade the electrical grid, save energy and create jobs!</strong></p>
<p><object width="580" height="360" data="http://www.youtube.com/v/9RJiElIhBz4&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x234900&amp;color2=0x4e9e00&amp;hd=1&amp;border=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/9RJiElIhBz4&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x234900&amp;color2=0x4e9e00&amp;hd=1&amp;border=1" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: justify;"><strong><br />
</strong><br />
COLUMBUS, OHIO – At an event in Columbus, Secretary Chu announced that the Department of Energy is awarding $620 million for projects around the country to demonstrate advanced Smart Grid technologies and integrated systems that will help build a smarter, more efficient, more resilient electrical grid.  These 32 demonstration projects, which include large-scale energy storage, smart meters, distribution and transmission system monitoring devices, and a range of other smart technologies, will act as models for deploying integrated Smart Grid systems on a broader scale. This funding from the American Recovery and Reinvestment Act will be leveraged with $1 billion in funds from the private sector to support more than $1.6 billion in total Smart Grid projects nationally.</p>
<p style="text-align: justify;">“These demonstration projects will further our knowledge and understanding of what works best and delivers the best results for the Smart Grid, setting the course for a modern grid that is critical to achieving our energy goals,” said Secretary Chu.  “This funding will be used to show how Smart Grid technologies can be applied to whole systems to promote energy savings for consumers, increase energy efficiency, and foster the growth of renewable energy sources like wind and solar power.”</p>
<p style="text-align: justify;">These efforts will provide invaluable data on the benefits and cost-effectiveness of the Smart Grid, including energy and cost savings. An analysis by the Electric Power Research Institute estimates that implementing Smart Grid technologies could reduce electricity use by more than 4 percent by 2030.  That would mean a savings of $20.4 billion for businesses and consumers around the country, and $700 million for Ohio alone &#8212; or $61 in utility savings for every man, woman and child in Ohio.</p>
<p style="text-align: justify;">The demonstration projects announced will also help verify the technological and business viability of new smart technologies and show how fully integrated Smart Grid systems can be readily adapted and copied around the country.  Applicants say this investment will create thousands of new job opportunities that will include manufacturing workers, engineers, electricians, equipment installers, IT system designers, cyber security specialists, and business and power system analysts.</p>
<p style="text-align: justify;">The funding awards are divided into two topic areas.  In the first group, 16 awards totaling $435 million will support fully integrated, regional Smart Grid demonstrations in 21 states, representing over 50 utilities and electricity organizations with a combined customer base of almost 100 million consumers.  The projects include streamlined communication technologies that will allow different parts of the grid to “talk” to each other in real time; sensing and control devices that help grid operators monitor and control the flow of electricity to avoid disruptions and outages; smart meters and in-home systems that empower consumers to reduce their energy use and save money; energy storage options; and on-site and renewable energy sources that can be integrated onto the electrical grid.</p>
<p style="text-align: justify;">In the second group, an additional 16 awards for a total of $185 million will help fund utility-scale energy storage projects that will enhance the reliability and efficiency of the grid, while reducing the need for new electricity plants. Improved energy storage technologies will allow for expanded integration of renewable energy resources like wind and photovoltaic systems and will improve frequency regulation and peak energy management.  The selected projects include advanced battery systems (including flow batteries), flywheels, and compressed air energy systems.  (source www.energy.gov)</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://blog.testequipmentconnection.com/secretary-chu-announces-620-million-for-smart-grid/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
