<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DAC_UpdateValue in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529031#M1279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmorton on Sun Feb 03 22:20:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: dmorton&lt;/STRONG&gt;&lt;BR /&gt;Oh yeah, again because the DAC output appears to be undocumented, if it is indeed supported at all, where on the Embedded Artists board would I connect headphones to?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm, looks like I disable jumper pin J32, and then pick up the signal across jumper pins J34.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And.. it appears that references to PWM audio are in fact DAC audio, at least when coming from the 1769 board which has a DAC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:40:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:40:59Z</dc:date>
    <item>
      <title>DAC_UpdateValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529029#M1277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmorton on Sun Feb 03 21:29:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am playing with the demos for the Embedded Artists base board, in particular the demos that emit sounds through the speak - speaker_wav primarily.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The speaker_wav project is pretty basic, passing an unsigned byte into DAC_UpdateValue at 8000Hz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The inline documentation for DAC_UpdateValue in lpc|_17xx_dac.c indicates that the second parameter, the value parameter, is a 10 bit value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is strange is that the speaker_wav project passes an 8 bit value into DAC_UpdateValue, and if I modify the project to scale up the 8 bit values to 10 bit values, no sound is emitted. If, on the other hand, I scale down the 8 bit values, I just get softer sounds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.embeddedartists.com/sites/default/files/support/xpr/base/LPCXpresso_BaseBoard_rev_B_Users_Guide.pdf&lt;/A&gt;&lt;SPAN&gt; there is no mention of driving the speaker with a DAC, only with PWM. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im wondering if perhaps the DAC is emulated by PWM and limited to 8 bits rather than 10 bits?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529029#M1277</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAC_UpdateValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529030#M1278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmorton on Sun Feb 03 21:50:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh yeah, again because the DAC output appears to be undocumented, if it is indeed supported at all, where on the Embedded Artists board would I connect headphones to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:40:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529030#M1278</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAC_UpdateValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529031#M1279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmorton on Sun Feb 03 22:20:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: dmorton&lt;/STRONG&gt;&lt;BR /&gt;Oh yeah, again because the DAC output appears to be undocumented, if it is indeed supported at all, where on the Embedded Artists board would I connect headphones to?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm, looks like I disable jumper pin J32, and then pick up the signal across jumper pins J34.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And.. it appears that references to PWM audio are in fact DAC audio, at least when coming from the 1769 board which has a DAC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DAC-UpdateValue/m-p/529031#M1279</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:40:59Z</dc:date>
    </item>
  </channel>
</rss>

