<?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 Kinetis K20D50M interface with Capacitance sensor in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306677#M13072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to interface Kinetis K20D50M with Capacitance sensor(&lt;A href="http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf" title="http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf"&gt;http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I dont have experience with Kinetis and CodeWarrior. I was wandering if there are any sample projects that I can use to figure out how to interface the sensor and the microcontroller using CodeWarrior. I wrote below what should I do. It is pretty simple but I was just wandering if there are some good tutorials that teach how to do interface or if there are some similar projects that I can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;/P&gt;&lt;P&gt;Saul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="font-family: Helvetica; font-size: 12px;"&gt;&lt;DIV class="gmail_quote"&gt;&lt;BLOCKQUOTE class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left-width: 1px; border-left-color: #cccccc; padding-left: 1ex;"&gt;&lt;DIV&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;DIV class="h5"&gt;&lt;DIV&gt;&lt;P&gt;The 060 capacitance meter can transfer measurement results to micro controller via serial port. There is a sample file showing what the meter sends out.&amp;nbsp; &lt;A href="http://www.jyetech.com/Products/CapMeter/CapMeter_log.zip" target="_blank"&gt;http://www.jyetech.com/Products/CapMeter/CapMeter_log.zip&lt;/A&gt;.&lt;/P&gt;&lt;DIV&gt;Each output line is ended with the character ‘CR' (0x0D) So I should basically look for 0x0D. Once it is found that means the next character is the start of a new line. Then count 15 characters. The 16th character is the start of capacitance reading which is 4 characters followed by 1 unit character. &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Mar 2014 22:39:10 GMT</pubDate>
    <dc:creator>saulmukha</dc:creator>
    <dc:date>2014-03-30T22:39:10Z</dc:date>
    <item>
      <title>Kinetis K20D50M interface with Capacitance sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306677#M13072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to interface Kinetis K20D50M with Capacitance sensor(&lt;A href="http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf" title="http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf"&gt;http://www.jyetech.com/Products/CapMeter/Capacitance%20Meter%20Manual.pdf)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I dont have experience with Kinetis and CodeWarrior. I was wandering if there are any sample projects that I can use to figure out how to interface the sensor and the microcontroller using CodeWarrior. I wrote below what should I do. It is pretty simple but I was just wandering if there are some good tutorials that teach how to do interface or if there are some similar projects that I can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;/P&gt;&lt;P&gt;Saul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="font-family: Helvetica; font-size: 12px;"&gt;&lt;DIV class="gmail_quote"&gt;&lt;BLOCKQUOTE class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left-width: 1px; border-left-color: #cccccc; padding-left: 1ex;"&gt;&lt;DIV&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;DIV class="h5"&gt;&lt;DIV&gt;&lt;P&gt;The 060 capacitance meter can transfer measurement results to micro controller via serial port. There is a sample file showing what the meter sends out.&amp;nbsp; &lt;A href="http://www.jyetech.com/Products/CapMeter/CapMeter_log.zip" target="_blank"&gt;http://www.jyetech.com/Products/CapMeter/CapMeter_log.zip&lt;/A&gt;.&lt;/P&gt;&lt;DIV&gt;Each output line is ended with the character ‘CR' (0x0D) So I should basically look for 0x0D. Once it is found that means the next character is the start of a new line. Then count 15 characters. The 16th character is the start of capacitance reading which is 4 characters followed by 1 unit character. &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2014 22:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306677#M13072</guid>
      <dc:creator>saulmukha</dc:creator>
      <dc:date>2014-03-30T22:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D50M interface with Capacitance sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306678#M13073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the &lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/software/KINETIS_50MHZ_SC.zip?fasp=1&amp;amp;WT_TYPE=Lab%20and%20Test%20Software&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;Parent_nodeId=1326501155174721854883&amp;amp;Parent_pageType=product"&gt;KINETIS_50MHZ_SC&lt;/A&gt; sample code package, please review on path:&lt;/P&gt;&lt;P&gt;C:\(your download path)\kinetis_50MHz_sc\k20d50m_sc_baremetal\build\iar&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day :P,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306678#M13073</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-03-31T16:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D50M interface with Capacitance sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306679#M13074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perla, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for a quick response. I am looking for an «input capture/output compare» sample project. Do you have any sample projects that I can use? I need to read data in from another source using 38400 Baudrate serial transmission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Saul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 01:28:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306679#M13074</guid>
      <dc:creator>saulmukha</dc:creator>
      <dc:date>2014-04-03T01:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Kinetis K20D50M interface with Capacitance sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306680#M13075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an example code originally created for the TWR-K20D72M&lt;/P&gt;&lt;P&gt;using FlexTimer in output compare mode, with clear Output on match&lt;/P&gt;&lt;P&gt;(FTM0_CH3 - pin PTC4).&lt;/P&gt;&lt;P&gt;For this particular example the Channel 3 has been initialized in set and&lt;/P&gt;&lt;P&gt;when on match event occures CH3 value changes to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example is pretty simple but in main you will find basic configurations&lt;/P&gt;&lt;P&gt;for use the module.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nic day :P,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 22:19:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D50M-interface-with-Capacitance-sensor/m-p/306680#M13075</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-04T22:19:28Z</dc:date>
    </item>
  </channel>
</rss>

