<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Create and Measure signals with Hercules High End Timer (HET) - 1: adapt TI example to a LaunchPad</title><link>/technologies/automotive/b/blog/posts/create-and-measure-signals-with-hercules-high-end-timer-het---1-adapt-ti-example-to-a-launchpad</link><description>This project uses the timers of a TI Hercules microcontroller to generate complex digital signals and to measure digital signals. The TI Hercules microcontroller has interesting timers. They call them high-end timers, HET. They are autonomous pr...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Create and Measure signals with Hercules High End Timer (HET) - 1: adapt TI example to a LaunchPad</title><link>https://community.element14.com/technologies/automotive/b/blog/posts/create-and-measure-signals-with-hercules-high-end-timer-het---1-adapt-ti-example-to-a-launchpad</link><pubDate>Wed, 08 Jan 2020 21:00:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2032f76b-2f04-4013-bb6f-8ce4ef6f10c9</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I found a bug in the application note example that caused the sampling part calculateand interrupt on wrong border conditions.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I ported the code, I saw that the error sinal from the HET sampler failed with outside 17%&amp;nbsp; - 41% ranges, instead of the expected 20 - 80%&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x372/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-2032f76b-2f04-4013-bb6f-8ce4ef6f10c9/3175.contentimage_5F00_205837.png:620:372]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Turns out that the low resolution pre-scaler of the second het was taken from HALCoGen and never updated,while the one of HET1 is reprogrammed just before the HET engines are kicked off.&lt;/p&gt;&lt;p&gt;This caused that the 2nd het was only correct if the pre-scaler in the firmware was exactly the same as the one defined in HALCoGen for HET2.&lt;/p&gt;&lt;p&gt;I corrected the code so that HET2 uses the same pre-scaler as HET1. AS seen below, it now only shows the error output where the duty cycle is below 20 and above 80 %:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x374/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-2032f76b-2f04-4013-bb6f-8ce4ef6f10c9/7851.contentimage_5F00_205838.png:620:374]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8532&amp;AppID=8&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create and Measure signals with Hercules High End Timer (HET) - 1: adapt TI example to a LaunchPad</title><link>https://community.element14.com/technologies/automotive/b/blog/posts/create-and-measure-signals-with-hercules-high-end-timer-het---1-adapt-ti-example-to-a-launchpad</link><pubDate>Tue, 07 Jan 2020 18:33:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2032f76b-2f04-4013-bb6f-8ce4ef6f10c9</guid><dc:creator>Fred27</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;An interesting read. TI do seen to like their quirky little side processors. There&amp;#39;s the PRUs on the Sitara, the Sensor Controller in the CC26xx/CC13xx, and now the HET which I&amp;#39;d never heard of.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8532&amp;AppID=8&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create and Measure signals with Hercules High End Timer (HET) - 1: adapt TI example to a LaunchPad</title><link>https://community.element14.com/technologies/automotive/b/blog/posts/create-and-measure-signals-with-hercules-high-end-timer-het---1-adapt-ti-example-to-a-launchpad</link><pubDate>Mon, 06 Jan 2020 21:53:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2032f76b-2f04-4013-bb6f-8ce4ef6f10c9</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8532&amp;AppID=8&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>