<?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>Saleae Archives - Digital Me</title>
	<atom:link href="https://ba0sh1.com/tag/saleae/feed/" rel="self" type="application/rss+xml" />
	<link>https://ba0sh1.com/tag/saleae/</link>
	<description>Electronics, Computers at leisure time</description>
	<lastBuildDate>Sun, 30 Dec 2012 15:07:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
	<item>
		<title>Saleae Logic PWM generator</title>
		<link>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/</link>
					<comments>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Sun, 30 Dec 2012 15:07:30 +0000</pubDate>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Logic Analyzer]]></category>
		<category><![CDATA[PWM]]></category>
		<category><![CDATA[Saleae]]></category>
		<category><![CDATA[Tool]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=526</guid>

					<description><![CDATA[<p>In a recent project I need a 3.3V PWM signal generator. Initially I think the fastest  way to do it is using an Arduino and write a simple program with analogWrite() function....</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/12/30/saleae-pwm-generator/">Saleae Logic PWM generator</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In a recent project I need a 3.3V PWM signal generator. Initially I think the fastest  way to do it is using an Arduino and write a simple program with analogWrite() function. But I&#8217;m too lazy to setup the breadboard&#8230; so I tried google.</p>
<p>Soon I come across a free software called &#8220;<a title="PWM Logic" href="http://www.brrrbaybay.com/index.php/pwm-logic/about" target="_blank" rel="noopener">PWM Logic</a>&#8220;. Supposedly it will turn Saleae Logic Analyzer into a PWM generator. An original Saleae Logic is somewhat too steep for my pocket right now. But I do have a cheap Chinese clone lying aroung. So I hook it up. Not surprisingly it does not work.<span id="more-526"></span></p>
<figure id="attachment_527" aria-describedby="caption-attachment-527" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" class="thumbnail size-full wp-image-527" alt="Salea Logic clone" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/a4c97-salea-logic-clone.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/a4c97-salea-logic-clone.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/a4c97-salea-logic-clone-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-527" class="wp-caption-text">Salea Logic clone</figcaption></figure>
<p>Knowing that Saleae Logic hardware is nothing but a Cypress CY68013A chip (that is why it is so easy to clone),  I decide to take a further step to reverse engineer the board and check why.</p>
<p>Some more googling leads me to the schematic of a cloned USBEE AX. USBEE AX is basically the same as Saleae except for two analog channels with limited function. On the schematic there is a 74LCV245 octal bus transceiver in between the testing terminals and CY68013A. The direction pin is connected to &#8220;DIR&#8221; net, but does not seems to link to anywhere else.</p>
<figure id="attachment_529" aria-describedby="caption-attachment-529" style="width: 300px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/ecbb7-schematic.jpg"><img decoding="async" loading="lazy" class="size-medium wp-image-529" alt="USBEE AX (clone) schematic" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/ecbb7-schematic.jpg?w=300&#038;h=157" width="300" height="157" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic.jpg 960w, https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic-300x157.jpg 300w, https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic-768x402.jpg 768w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-529" class="wp-caption-text">USBEE AX (clone) schematic</figcaption></figure>
<p>Tracing the board, the culprit is found immediately. On my Saleae clone, the 74245 direction pin is grounded, which means it can only receive signal from the terminals, not output to them. While examine the original Saleae <a href="http://electronicsjunk.com/?p=27" target="_blank" rel="noopener">teardown</a>, there is no 74245 at all, the terminals are directly connected to CY68013A (with some schottky barrier, maybe). So the Chinese copycat actually did some &#8220;innovation&#8221; to include a buffer chip, for protection?</p>
<p>Since the reason is found, the next step is simple: break the 74245 direction pin and install a jumper to select input/output function.</p>
<figure id="attachment_530" aria-describedby="caption-attachment-530" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-530" alt="Jumper added (front)" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/9998e-added-jumper-front.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/9998e-added-jumper-front.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/9998e-added-jumper-front-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-530" class="wp-caption-text">Jumper added (front)</figcaption></figure>
<figure id="attachment_531" aria-describedby="caption-attachment-531" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-531" alt="Jumper added (back)" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/06f73-added-jumper-back.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/06f73-added-jumper-back.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/06f73-added-jumper-back-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-531" class="wp-caption-text">Jumper added (back)</figcaption></figure>
<figure id="attachment_534" aria-describedby="caption-attachment-534" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-534" alt="Finished LA/PWM box" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/63b74-la_pwm.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/63b74-la_pwm.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/63b74-la_pwm-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-534" class="wp-caption-text">Finished LA/PWM box</figcaption></figure>
<p>Now I have a dual function Logic Analyzer / PWM Generator <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<figure id="attachment_535" aria-describedby="caption-attachment-535" style="width: 510px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-535" alt="PWM Logic screen shot" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/56b2b-pwm-logic-sc.jpg" width="510" height="418" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/56b2b-pwm-logic-sc.jpg 510w, https://ba0sh1.com/wp-content/uploads/2012/12/56b2b-pwm-logic-sc-300x246.jpg 300w" sizes="(max-width: 510px) 100vw, 510px" /><figcaption id="caption-attachment-535" class="wp-caption-text">PWM Logic screen shot</figcaption></figure>
<p>P.S. CY68013A based logic analyzer is as good as its companion software does. Saleae have put a lot of efforts into its Logic software. Buying a clone and pirate the original software is not legal.</p>
<p>Update 28/09/2013: The PWM Logic homepage seems to be down at the moment. I have a local mirror here: <a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/09/d0409-pwmlogicsetup_1_0_1_3.zip">PwmLogicSetup 1.0.1.3</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/12/30/saleae-pwm-generator/">Saleae Logic PWM generator</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>
