<?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: Do you have the startup code for configuring DA7212 codec on FRDM K66 board? in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693320#M249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use drivers provided in SDK package, the demo example code and de drivers example code of SAI module have file named fsl_dialog7212.c . Please check this examples codes inside the path &amp;lt;SDK_2.2_FRDM-K66F&amp;gt;\boards\frdmk66f\driver_examples\sai\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information could help you.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 21:00:14 GMT</pubDate>
    <dc:creator>jorge_a_vazquez</dc:creator>
    <dc:date>2017-06-09T21:00:14Z</dc:date>
    <item>
      <title>Do you have the startup code for configuring DA7212 codec on FRDM K66 board?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693319#M248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far, this is what I have tried:&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;I2C_MasterTransferCreateHandle(I2C0, &amp;amp;g_m_handle, i2c_master_callback, NULL);&lt;/P&gt;&lt;P&gt;readcodec();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;readcodec()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint8_t data[2];&lt;/P&gt;&lt;P&gt;i2c_master_config_t masterConfig;&lt;/P&gt;&lt;P&gt;I2C_MasterGetDefaultConfig(&amp;amp;masterConfig);&lt;/P&gt;&lt;P&gt;masterConfig.baudRate_Bps = I2C_BAUDRATE;&lt;/P&gt;&lt;P&gt;sourceClock = CLOCK_GetFreq(I2C0_CLK_SRC);&lt;/P&gt;&lt;P&gt;I2C_MasterInit(I2C0, &amp;amp;masterConfig, sourceClock);&lt;/P&gt;&lt;P&gt;i2c_master_transfer_t masterXfer;&lt;BR /&gt; memset(&amp;amp;masterXfer, 0, sizeof(masterXfer));&lt;/P&gt;&lt;P&gt;masterXfer.slaveAddress = 0x1AU;&lt;BR /&gt; masterXfer.direction = kI2C_Read;&lt;BR /&gt; masterXfer.subaddress = 0x2;&lt;BR /&gt; masterXfer.subaddressSize = 0;&lt;BR /&gt; masterXfer.data = &amp;amp;data;&lt;BR /&gt; masterXfer.dataSize = 1;&lt;BR /&gt; masterXfer.flags = kI2C_TransferNoStopFlag;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2C_MasterTransferNonBlocking(&lt;SPAN&gt;I2C0&lt;/SPAN&gt;, &amp;amp;g_m_handle, &amp;amp;masterXfer);&lt;/P&gt;&lt;P&gt;/* wait for transfer completed. */&lt;BR /&gt; while ((!nakFlag) &amp;amp;&amp;amp; (!completionFlag))&lt;BR /&gt; {&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;nakFlag = false;&lt;/P&gt;&lt;P&gt;if (completionFlag == true)&lt;BR /&gt; {&lt;BR /&gt; completionFlag = false;&lt;BR /&gt; find_device = true;&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is based out of the Accelerometer demo application that was part of the KSDK bundle.&lt;/P&gt;&lt;P&gt;I am trying to read DA7212's status register. So far, no I2C interrupt itself is getting generated, and the code is stuck at while(!nakFlag). Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a sample application for using DA7212 in the FRDM K66 board?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 16:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693319#M248</guid>
      <dc:creator>vishnusasidhara</dc:creator>
      <dc:date>2017-05-25T16:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Do you have the startup code for configuring DA7212 codec on FRDM K66 board?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693320#M249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use drivers provided in SDK package, the demo example code and de drivers example code of SAI module have file named fsl_dialog7212.c . Please check this examples codes inside the path &amp;lt;SDK_2.2_FRDM-K66F&amp;gt;\boards\frdmk66f\driver_examples\sai\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information could help you.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 21:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693320#M249</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-06-09T21:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Do you have the startup code for configuring DA7212 codec on FRDM K66 board?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693321#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I am using SDK 2.0 and doesn't have this folder under driver_examples. I am able to find only SDK 2.0 and WolfSSL for Kinetis under &lt;EM style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A href="http://www.nxp.com/ksdk"&gt;www.nxp.com/ksdk&lt;/A&gt;. &lt;/EM&gt;Can you please help me with the link to this SDK 2.2 download?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 10:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693321#M250</guid>
      <dc:creator>vishnusasidhara</dc:creator>
      <dc:date>2017-06-15T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Do you have the startup code for configuring DA7212 codec on FRDM K66 board?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693322#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please download SDK 2.x in the SDK builder here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have problems with the download, please check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333304"&gt;https://community.nxp.com/docs/DOC-333304&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 16:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693322#M251</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-06-15T16:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Do you have the startup code for configuring DA7212 codec on FRDM K66 board?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693323#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge. I was able to download the SDK and it solved the issues. My codec is up. Sorry for the delay in response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Do-you-have-the-startup-code-for-configuring-DA7212-codec-on/m-p/693323#M252</guid>
      <dc:creator>vishnusasidhara</dc:creator>
      <dc:date>2017-08-11T13:16:23Z</dc:date>
    </item>
  </channel>
</rss>

