<?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: lwadc calibration procedure  in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwadc-calibration-procedure/m-p/646277#M17132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goncalo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current BSP not support calibration, please check the init_lwadc.c file. The calibration data pointer is Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12898i32780A384D780A65/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 14:08:16 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2016-12-06T14:08:16Z</dc:date>
    <item>
      <title>lwadc calibration procedure</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwadc-calibration-procedure/m-p/646276#M17131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use the lwadc api provided with MQX 4.2.0 to read some analog inputs&amp;nbsp;on the Freescale K60, but the documentation is a bit scarce and I have some doubts regarding the calibration function. I am basing myself on the sample code to read the potentiometer provided with mqx.&lt;/P&gt;&lt;P&gt;-&lt;A _jive_internal="true" href="https://community.nxp.com/message/411805?q=lwadc_cal"&gt;Here&lt;/A&gt; is recommended to run the calibration procedure using ioctl, but the lwadc does not use file handles. So where should I get this file handler to each adc channel? Can't I just read/write the register (in this case bit CAL on ADCx_SC3) myself?&lt;/P&gt;&lt;P&gt;-Why does the sample aplication have no calibration procedure? Isn't is allways needed?&lt;/P&gt;&lt;P&gt;-When should I do the calibration? After _lwadc_init() and before _lwadc_init_input()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Goncalo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 13:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/lwadc-calibration-procedure/m-p/646276#M17131</guid>
      <dc:creator>goncaloandre</dc:creator>
      <dc:date>2016-12-05T13:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: lwadc calibration procedure</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwadc-calibration-procedure/m-p/646277#M17132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goncalo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current BSP not support calibration, please check the init_lwadc.c file. The calibration data pointer is Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12898i32780A384D780A65/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/lwadc-calibration-procedure/m-p/646277#M17132</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-12-06T14:08:16Z</dc:date>
    </item>
  </channel>
</rss>

