<?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>Texas Instruments Design Archives | DMC, Inc.</title>
	<atom:link href="https://static.dmcinfo.com/blog/tag/texas-instruments-design/feed/index.xml" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Fri, 24 Jul 2026 19:07:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://static.dmcinfo.com/wp-content/uploads/2025/04/site-icon-150x150.png</url>
	<title>Texas Instruments Design Archives | DMC, Inc.</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>DMC Attends TI&#8217;s Technology Day</title>
		<link>https://static.dmcinfo.com/blog/28698/dmc-attends-tis-technology-day/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 12:13:33 +0000</pubDate>
				<category><![CDATA[Embedded Development & Programming]]></category>
		<category><![CDATA[Special Events]]></category>
		<category><![CDATA[Texas Instruments Design]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/28698/dmc-attends-tis-technology-day/</guid>

					<description><![CDATA[<p>Like many other students, I considered my TI-89 graphing calculator to be a lifeline during high school calculus and beyond. That device (which I still have and use today) was my first formal introduction&#160;to Texas Instruments, and since then I’ve used many of their silicon products. Since joining DMC, I’ve spent a lot of time [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/28698/dmc-attends-tis-technology-day/">DMC Attends TI&#8217;s Technology Day</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Like many other students, I considered my TI-89 graphing calculator to be a lifeline during high school calculus and beyond. That device (which I still have and use today) was my first formal introduction&nbsp;to Texas Instruments, and since then I’ve used many of their silicon products. Since joining DMC, I’ve spent a lot of time working with their MSP430 microcontroller line. When I learned that TI would be hosting a Technology Day in Milwaukee, WI, I decided to take the short drive north to learn from their experts.</p>



<p class="wp-block-paragraph">One of my personal goals for this conference was to become better acquainted with the various wireless technologies available on embedded platforms. As mobile devices (cell phones and&nbsp;tablet computers, in particular)&nbsp;become more equipped with wireless protocols (Bluetooth, Wi-Fi, NFC, etc.), more and more products with these same technologies are reaching the market. On top of that, hobbyists and open source developers have created some incredibly cool wireless-enabled widgets.</p>



<p class="wp-block-paragraph">Near-Field Communication (NFC)&nbsp;is a&nbsp;fairly new wireless technology that is becoming more and more prevalent as mobile device manufacturers&nbsp;start to include the necessary hardware on their products. One of the Technology Day morning sessions focused specifically on this protocol as it relates to the embedded world.</p>



<p class="wp-block-paragraph">In a nutshell, NFC is a short-range 13.56MHz wireless technology that supports peer-to-peer communication in addition to reading passive &#8220;tags.&#8221; It is very much an extension of the familiar RFID technology that has become a valuable asset&nbsp;in physical access control, contactless payment, logistics, and many other applications, and NFC&#8217;s two-way capabilities add to the&nbsp;list of potential uses.</p>



<p class="wp-block-paragraph">One of the coolest things I&nbsp;saw during the seminar was assisted Bluetooth pairing using NFC. Just about anyone who has tried to pair their mobile phone or computer to a Bluetooth-enabled device will tell you that the process is a huge pain. For example, I was recently on vacation with a few friends and driving in a rental car. The car had a Bluetooth-ready&nbsp;entertainment console that could be used as a wireless speaker. Between the four of us, it took 3 phones, two computers, and about 20 minutes before we got a successful connection! Thankfully, it only took <a href="//www.youtube.com/watch?v=jHbCE53s9hQ">about&nbsp;6 minutes</a> for our blood pressures to return to normal.</p>



<p class="wp-block-paragraph">Last year, TI released this handy app note to complement a MSP430-based development kit they released that demonstrates, among many other functions, NFC-assisted Bluetooth pairing. The operation is super-simple; the presenter was able to connect his Android phone to the device over Bluetooth by simply waving the phone next to the NFC antenna on the board. Within seconds, he was manipulating LEDs on the board with the TI-developed Android app. To prove that the connection wasn&#8217;t just NFC, he asked a volunteer to take the phone, move outside of NFC range (a few feet was enough in this case), and play around with the LEDs. As you can imagine, it worked like a charm. This is going to make me even more frustrated the next time I try to pair two Bluetooth devices without NFC&#8230;</p>



<p class="wp-block-paragraph">The <em>Internet of Things</em> is a concept that has been rattling around in the brains of tech junkies and visionaries for quite some time now. The idea is simple: make everything accessible and controllable using the Web. Your refrigerator, for example, can automatically order new groceries when its stock is running low. Your car might send you automatic email notifications when it&#8217;s getting close to oil change time. The possibilities are vast. So, however, are the technical challenges of getting such a network established.</p>



<p class="wp-block-paragraph">A key component of this effort is deciding on a wireless technology. A&nbsp;huge number of households across the globe have access to some sort of Wi-Fi network, whether it be a router at home&nbsp;or free public access. This fact alone makes Wi-Fi a viable choice. TI, as well as several other silicon IC&nbsp;manufacturers, has released Wi-Fi-enabled products to contribute to this rising market. One of the sessions at this year&#8217;s Technology Day covered one product in particular, the CC3000 module. The CC3000 handles a great deal of the Wi-Fi connection and communication tasks, which frees up the main processor to run the application software. Communication with the processor is over SPI, which makes it very portable to new or existing designs, regardless of the microprocessor manufacturer.</p>



<p class="wp-block-paragraph">One example for a simple project that could use this Wi-Fi module is something I&#8217;ve had worked out in my head for a few months now. Like a handful of other DMC&nbsp;employees, I take public transit to work. As a result, I&#8217;m tethered to the Chicago bus schedule and a slave to the (oft unpredictable) Midwestern weather. What I&#8217;d like to do to stay prepared and on top of my schedule is create a web-enabled device that will grab the bus tracking data, the current weather, the date and time, and perhaps an inspirational quote, and display them on a scrolling LCD by my apartment door.</p>



<p class="wp-block-paragraph">Prototyping a device like this would be simple with an Arduino or an&nbsp;SOC device like the Raspberry Pi. The problem is, those devices are either too expensive (the Arduino +&nbsp;Wi-Fi shield) or too souped-up (the Raspberry Pi) to justify using them for such a simple gizmo. That&nbsp;doubles if I ever make more than one. Thus, if I ever get serious about making something like this,&nbsp;a cheap microcontroller and an embedded Wi-Fi module (like the CC3000)&nbsp;might make a lot more sense.</p>



<p class="wp-block-paragraph">Throughout the day, I&nbsp;was able to network with TI engineers and customers, which is, in my opinion,&nbsp;one of the strongest benefits of events like these. It&#8217;s always great to see that other folks in the industry are as enthusiastic about the cutting edge of technology as we are at DMC! I have no doubt that we&#8217;ll be back for future Texas Instruments Technology Days.</p>
<p>The post <a href="https://static.dmcinfo.com/blog/28698/dmc-attends-tis-technology-day/">DMC Attends TI&#8217;s Technology Day</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Revealing the Hidden Awesomeness of the TI LaunchPad</title>
		<link>https://static.dmcinfo.com/blog/28764/revealing-the-hidden-awesomeness-of-the-ti-launchpad/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Tue, 25 Sep 2012 10:06:34 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Embedded Development & Programming]]></category>
		<category><![CDATA[Texas Instruments Design]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/28764/revealing-the-hidden-awesomeness-of-the-ti-launchpad/</guid>

					<description><![CDATA[<p>TI (Texas Instruments) is awesome &#8211;&#160;I&#8217;ve always known it. What I like the most is their extremely low-cost ($4.30, who beats that?) Launchpad development kit&#160;that includes 2 &#8220;value line&#8221; (pronounced &#8220;super-cheap&#8221;) micro-controllers, USB programmer and development software. That is everything you need to dive into the wonderful world of the super-lower-power microcontrollers. &#160; Picking the [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/28764/revealing-the-hidden-awesomeness-of-the-ti-launchpad/">Revealing the Hidden Awesomeness of the TI LaunchPad</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><a href="http://www.ti.com/">TI (Texas Instruments)</a> is awesome &#8211;&nbsp;I&#8217;ve always known it. What I like the most is their extremely low-cost ($4.30, who beats that?) <a href="https://www.ti.com/design-development/embedded-development/msp430-mcus.html#hardware">Launchpad development kit</a>&nbsp;that includes 2 &#8220;value line&#8221; (pronounced &#8220;super-cheap&#8221;) micro-controllers, USB programmer and development software. That is everything you need to dive into the wonderful world of the super-lower-power microcontrollers.</p>



<p class="wp-block-paragraph">&nbsp;</p>



<p class="wp-block-paragraph"><strong>Picking the test project</strong><br>
There are so many options for&nbsp;a first project: flashing LED, doomsday device, iSomething…<br>
<br>
Hm, iSomething sounds like a cool idea. How about making a poor-guy MP3 player? Maybe downgraded to the extreme: one song, poor audio quality, no control buttons?<br>
<br>
To make a digital audio player we need two major components: storage memory for digital audio and Digital-to-Analog&nbsp;Converter (<a href="http://en.wikipedia.org/wiki/Digital-to-analog_converter">DAC</a>). Expectedly, such a simple microcontroller does not have a built-in DAC, so it sounds like I would need a separate chip. But wait&#8230;</p>



<p class="wp-block-paragraph"><strong>Who needs a DAC for lousy quality audio?</strong><br> There is an easy alternative to DAC – Pulse Width Modulation (<a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">PWM</a>). The idea is to generate an audio signal with variable-width digital pulses, which should produce acceptable quality audio with high enough pulse frequency. Sure enough, TI has an <a href="http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&amp;tabId=1502&amp;literatureNumber=slaa116&amp;docCategoryId=1&amp;familyId=911">application note</a> to demonstrate exactly that (PWM for audio application). Since I decided not to worry about audio quality, I picked 8-bit for audio resolution (as a side note &#8211; it is supposed to be roughly equal to AM radio quality). The 8-bit resolution gave me 256 possible PWM widths (for example, value 10 means that output stays on for 10 cycles and after that turns off for 255-10=245 cycles).<br> <br> Assuming that my TI chip runs at the max speed (16 MHz) my complete PWM cycle would be: 16,000,000Hz/256=62,500 Hz. Wow, at such high PWM frequency I should be able to generate sound with frequencies up to 62,500Hz/2=31,250 Hz (this calculation is based on <a href="http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem">Whittaker–Nyquist–Kotelnikov–Shannon sampling theorem</a>). This also means that I have to store 31,250 bytes of data for 1 second of music. Where am I going to store my music?<br> <br> <strong>External storage</strong><br> MSP430G2231 only has 2KB of memory. Since I need 31,250 bytes to store 1 second of music, I could store the whole 0.06 seconds using internal storage. This is definitely not enough.<br> <br> This just means that I need external storage. How about a <a href="http://en.wikipedia.org/wiki/Secure_Digital">SD/MMC Card</a>? It is the perfect external storage for microcontrollers because it is inexpensive and supports microcontroller friendly <a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a> protocol. The Launchpad came with 2 chips: MSP430G2211 and MSP430G2231 the latest has built-in universal serial interface that supports SPI protocol, perfect! After checking the TI website, I found this <a href="https://www.ti.com/lit/an/slaa116a/slaa116a.pdf?ts=1754897722699">application note</a> to interface between MSP430 and SD Card. Now I need to decide how to store the music.<br> <br> <strong>Audio format battle: mp3 vs. au</strong><br> It would be really cool to play mp3 files on the Launchpad, but it&#8217;s not going to work. For example, the smallest <a href="https://github.com/liuduanfei/helix">Helix mp3 decoder</a> needs ~20K of program memory, and my microcontroller has only 2K. Of course I could add an external mp3 decoder &#8211; but that&#8217;s not fun.<br> <br> Since mp3 is out, I could just write audio as a stream of samples (bytes) and add simple header to tell how many samples are in my file, sample rate, etc. It would be nice to use a standard audio file format, however, so I chose arguably the simplest audio file format ever created: <a href="http://en.wikipedia.org/wiki/Au_file_format">au format</a>. Even though it is quite old, the format is still supported by many applications including my favorite (open source) audio editor – <a href="http://en.wikipedia.org/wiki/Audacity_(audio_editor)">audacity</a>.<br> <br> <strong>Getting audio file to the SD card</strong><br> Storing files to an SD card is also tricky. For multiple reasons I decided not to use a file system on the SD card, so I have to write an .au file to the card as a raw data. This can be done by using HDD imaging tools. I&#8217;ve had good experience with DiskImage, although other disk imaging software (such as <a href="http://en.wikipedia.org/wiki/Dd_(Unix)">dd</a>) should work as well.</p>



<p class="wp-block-paragraph">&nbsp;</p>



<p class="wp-block-paragraph"><strong>Hardware</strong><br>
There are only two external components to the Launchpad used: the SD card and the earbud headphones. I connected the SD card power to one of the Launchpad pins, so I could reset the card by toggling its power. The earbud headphones connected to the Launchpad PWM output pin through a current limiting resistor. &#8220;But where is your low-pass filter?&#8221; curious readers will ask. Well, yes, I should be using a low-pass filter to smooth-out PWM pulses. However, headphones work well enough as a low-pass filter&nbsp;due to their mechanical nature.&nbsp;So, cancel the filter and&nbsp;connect&nbsp;everything&nbsp;together!<br>
<br>
<strong>SD card access time issue</strong><br>
After fixing a few software bugs I finally heard something in the headphones. It was&nbsp;sort-of&nbsp;music but with some strange clicking noise. Such a disappointment; I thought I was done!<br>
<br>
It turns out that&nbsp;as the data, which was stored&nbsp;on the SD card&nbsp;in 512 byte blocks, sometimes took time to&nbsp;switch&nbsp;between these&nbsp;blocks,&nbsp;and every so often I was missing a few samples and it caused these clicks. I added a small (16 samples) <a href="http://en.wikipedia.org/wiki/FIFO">FIFO</a> buffer between the SD card and PWM. The buffer made its magic and I was&nbsp;enjoying AM quality music for a whole 15 minutes.<br>
<br>
<strong>Conclusion</strong><br>
It&#8217;s totally possible to play acceptable quality audio using a very&nbsp;basic microcontroller. The sample rate can be pretty high (~31kHz in my case),&nbsp;allowing&nbsp;you&nbsp;to achieve much better audio quality, although PWM resolution (8 bit) is a limiting factor.<br>
<br>
One of the options to drastically improve audio quality&nbsp;would&nbsp;be to use two independent 8 bit PWMs and sum up their signals. This would increase the audio resolution to 16-bits which should sound (almost) like a CD quality. However, MSP430G2231 has only one PWM channel so it is&nbsp;not an option here.<br>
<br>
<strong>Video</strong><br>
Here is a video of the Launchpad playing (kind of) music, enjoy.<br>
<br>
<iframe frameborder="0" height="315" src="//www.youtube.com/embed/UIwhMklDaE0" width="560">&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;</iframe></p>
<p>The post <a href="https://static.dmcinfo.com/blog/28764/revealing-the-hidden-awesomeness-of-the-ti-launchpad/">Revealing the Hidden Awesomeness of the TI LaunchPad</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
