<?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>MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><description>How to make an MSP432 LaunchPad talk i2c to a DAC. This TI-RTOS program tells the DAC to output a sine wave. It could be something else but I reused an existing Arduino sketch. In my previous i2c example, the focus was on reading data from a sens...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>https://community.element14.com/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><pubDate>Sat, 04 Mar 2017 15:28:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Somewhat related video:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;span&gt;[View:https://www.youtube.com/watch?v=WGfV5O3l5_8:597:448]&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2617&amp;AppID=150&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>https://community.element14.com/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><pubDate>Thu, 02 Mar 2017 17:39:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A little more advanced use of i2c and TI-RTOS&lt;/p&gt;&lt;p&gt;Integration of a SCPI library that listens to commands from LabVIEW or PuTTY, and sets the output of the DAC as result.&lt;/p&gt;&lt;p&gt;This example uses RTOS events and mailbox system (also used in &lt;a class="jive-link-blog-small" href="/challengesprojects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-pid-library-part-1---intro"&gt;MSP432 and TI-RTOS: PID Library Part 1 - Intro&lt;/a&gt;). DAC task waits for a message to arrive, then sets output accordingly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/164x416/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd/3515.contentimage_5F00_183799.png:164:416]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;protocol analyzer:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x540/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd/8306.contentimage_5F00_183800.png:620:540]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Scope:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/616x372/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd/2538.contentimage_5F00_183801.png:616:372]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2617&amp;AppID=150&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>https://community.element14.com/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><pubDate>Wed, 01 Mar 2017 11:42:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I don&amp;#39;t understand why you&amp;#39;re all fussing. The DAC doesn&amp;#39;t have the drive that the processor does, but it&amp;#39;s still registering an ACK successfully.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Much more importantly, when are we going to hear it playing a tune?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2617&amp;AppID=150&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>https://community.element14.com/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><pubDate>Wed, 01 Mar 2017 06:54:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd</guid><dc:creator>Robert Peter Oakes</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Well, I am happy to say it is not unique to your setup, here is what I am getting on the CPU side of the I2C bus using the MSP432, not so many spikes on the DAC output but still the runts etc on the data lines. it looks like there coinciding with the ack, the dac certainly is not being corrupted by it, and the scope is also ignoring it... thought ?&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x372/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd/5582.contentimage_5F00_183797.png:620:372]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;its on every 9th bit... more like the ACK, perhaps a higher value pull up would reduce the effect ?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2617&amp;AppID=150&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSP432 and TI-RTOS: another I2C example - talk to a DAC</title><link>https://community.element14.com/challenges-projects/design-challenges/texas-instruments-safe-sound-wearables-design-challenge/b/blog/posts/msp432-and-ti-rtos-another-i2c-example---talk-to-a-dac</link><pubDate>Tue, 28 Feb 2017 17:03:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ac9ac63c-ba5d-4c7f-91b9-2e21fde9d2fd</guid><dc:creator>Robert Peter Oakes</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;I cant help nut notice those runts on the channel 2 line, and also aligning with the &amp;quot;?&amp;quot; in the decode... any ideas, there probably aligning with the ack response with the I2C bus&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I used the ISO1540 instead of the 1541 (I happened to have some), this may help with this too as the 1540 is 2 channel bi directional vs just one of them, aside from that there pin compatable.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2617&amp;AppID=150&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>