<?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>XJTAG Blog &#187; Electronics</title>
	<atom:link href="http://blog.xjtag.com/tag/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xjtag.com</link>
	<description>XJTAG boundary scan solutions for the whole product lifecycle</description>
	<lastBuildDate>Mon, 06 Sep 2010 07:00:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging faults: always remember XJAnalyser!</title>
		<link>http://blog.xjtag.com/2010/09/debugging-faults-always-remember-xjanalyser/</link>
		<comments>http://blog.xjtag.com/2010/09/debugging-faults-always-remember-xjanalyser/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 07:00:58 +0000</pubDate>
		<dc:creator>Bob Storey</dc:creator>
				<category><![CDATA[Electronics Tips]]></category>
		<category><![CDATA[XJAnalyser]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.xjtag.com/?p=559</guid>
		<description><![CDATA[The traditional technique for debugging printed circuit boards is to &#8220;observe&#8221; the state using oscilloscopes or multi-meters and deduce a fault. This method actually suppresses a very powerful engineering instinct that would help us a lot if we could only give it a better chance. Let me illustrate the point with an example:-
Did you ever [...]]]></description>
			<content:encoded><![CDATA[<p>The traditional technique for debugging printed circuit boards is to &#8220;observe&#8221; the state using oscilloscopes or multi-meters and deduce a fault. This method actually suppresses a very powerful engineering instinct that would help us a lot if we could only give it a better chance.<span id="more-559"></span> Let me illustrate the point with an example:-</p>
<p>Did you ever attempt to diagnose, understand or repair a mechanical or electro-mechanical mechanism (perhaps a toaster that won’t toast or even a gearbox from a car or motorbike)? Once you’ve removed the covers and are able to look at what you have, if you are lucky you may immediately see a broken component, but more than likely it will be hidden from immediate view. That’s when the engineers’ instinct to start moving the parts of the mechanism will become difficult to resist. Say you turn an input shaft and it gets stuck, you can use that as a starting point and ask “why is it stuck?” That’s a new track that may well lead to the answer you are looking for. Interacting with a problem, not simply observing is much more powerful as a problem solving method.</p>
<p>XJAnalyser is an ideal engineers’ tool that will allow you not only to observe, but also to interact with your board to debug or fault-find problems. Because it’s a “plug and play” tool, it’s always there when you need to explore board level issues in an intelligent, interactive and inspirational way. It won’t hold back your natural problem solving instincts by requiring a lengthy set-up.</p>
<p>The tool allows you to make use of the inbuilt JTAG test access. XJAnalyser allows you to not only to control circuit nets with a click of the mouse, but also show you the result on a clean graphical view.  Just like the mechanical fault analogy, you are able not only to observe, but also to manipulate.</p>
<p>You can quickly put your circuit into a state that will test your hunch. This might be impossible (or just very time consuming to achieve) within the “mission mode” operation of the circuit, perhaps requiring board mods or even special fault finding software to be written. Just like being able to turn the shaft of a gearbox to answer instinctive curiosity, with XJAnalyser you can either provoke some aspect of the problem or eliminate one of a number of possible explanations.</p>
<p>In fact, the analogy with mechanical systems understates the full power of XJAnalyser because it gives you visibility (and control) of circuit nodes which increasingly in modern electronics are entirely hidden from view and physical access. Once used XJAnalyser will quickly take its place alongside oscilloscope, logic analyser and multi-meter as an indispensable part of your work bench.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xjtag.com/2010/09/debugging-faults-always-remember-xjanalyser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pull Resistors</title>
		<link>http://blog.xjtag.com/2009/07/pull-resistors/</link>
		<comments>http://blog.xjtag.com/2009/07/pull-resistors/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 07:00:18 +0000</pubDate>
		<dc:creator>Dominic Plunkett</dc:creator>
				<category><![CDATA[Board Design]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.webtest.ctg.local/?p=12</guid>
		<description><![CDATA[Many of us have been designing electronics for years and haven&#8217;t really considered pull up and down resistor values. We just use the same old values like 10K. With some new silicon the leakage currents are higher than we have been used too. This means the pull resistors might not being doing the task we [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us have been designing electronics for years and haven&#8217;t really considered pull up and down resistor values. We just use the same old values like 10K. With some new silicon the leakage currents are higher than we have been used too. This means the pull resistors might not being doing the task we require. When there is a need to reduce power consumption, again these values need to be looked at in greater detail. XJTAG often finds resistors on boards that don&#8217;t actually perform the task intended.</p>
<p><span id="more-12"></span></p>
<h3>Back to basics</h3>
<p>In most case a range of values will work fine for pull resistors, which is why we don&#8217;t give them much consideration. There are two limits for the range of values that will work correctly.</p>
<h4>The lower limit on resistance can be calculated as follows:</h4>
<ul>
<li>V<sub>supply</sub> = 1.8 V</li>
<li>V<sub>OL</sub> = 0.4 V the worst case ( highest output voltage when an output is driven low)</li>
<li>I<sub>OL</sub> = 12 mA the worst case drive current for the worst case driver on the net</li>
</ul>
<p>Using V = IR ( R= V/I)</p>
<ul>
<li>R= (1.8 &#8211; 0.4) / 0.012 = 116 Ω</li>
</ul>
<p>So a pull up resistor which is stronger (i.e. lower value ) than 116 Ω many not work reliably.</p>
<h4>The upper limit on resistance can be calculated as follows:</h4>
<ul>
<li>V<sub>supply</sub> = 1.8 V</li>
<li>V<sub>IH</sub> = 1.17 V ( lowest V<sub>IH</sub> off all the devices on the net)</li>
<li>I<sub>leakage</sub> = 20 μA Sum of all the worst case leakage currents</li>
</ul>
<p>and therefore</p>
<ul>
<li>R= (1.8 &#8211; 1.17) / 0.000020 = 31.5 kΩ</li>
</ul>
<p>So a pull up resistor which is weaker (i.e. greater value) than 31.5 kΩ many not work reliably.</p>
<h3>So what should I use?</h3>
<p>Most datasheets specify the values across temperature, voltage and process. So the above limits should also work across temperature, voltage and process. You may however want to adjust the limits slightly to take into account resistor tolerances. So where in the above range should you choose?</p>
<p>For lowest power, choose 31.5 kΩ. Apart from that it doesn&#8217;t really matter. If the last milliWatt isn&#8217;t important it can be useful to choose a value that is used elsewhere on the board. E.g. in the PSU the feedback resistor might be 27 kΩ so use that instead of the standard 10 kΩ that you might have chosen.</p>
<p><strong>NB.</strong> One last thing: some internal pull resistors are very strong, especially on the Spartan3 devices. If you are trying to overcome them the effective leakage current is much stronger &#8211; in the mA range is possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xjtag.com/2009/07/pull-resistors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
