<?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>Kinetis MicrocontrollersのトピックInterface between Kinetis K20D50M and a sensor</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interface-between-Kinetis-K20D50M-and-a-sensor/m-p/310227#M13337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really new to microcontrollers. I am trying to interface K20D50M with a capacitance sensor. I was wandering if there are any demo projects that I can use. &lt;/P&gt;&lt;P&gt;Here is the serial data format of the capacitance sensor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;The ASCII output from TXD pin of J4 contains three fields: sequence number, measurement time (in seconds), and measured capacitance. The line format is as below. &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; font-family: TimesNewRoman;"&gt;SSSSS TTTTT.tt CCCCU &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; font-family: TimesNewRoman;"&gt;where ‘SSSSS’is 5 digit sequence number, ‘TTTTT.tt’is 8 digit time stamp (in second), and CCCCU is 5 digit measured capacitance with U being unit digit. Different fields are separated by 1 space. Each line is ended with ‘LF’(0x0A) and ‘CR’(0x0D). Output baud rate is 38400bps fixed. Data format is 8 data bits, 1 stop bit, and no parity. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;Output level is 5V. So a level converter is needed to connect to RS232 compatible device (PC serial port, for example). &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please send me If you have any demo projects that would be helpful&lt;/P&gt;&lt;P&gt;Thank you and have a great day&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 19:33:11 GMT</pubDate>
    <dc:creator>sosopavliashvil</dc:creator>
    <dc:date>2014-04-03T19:33:11Z</dc:date>
    <item>
      <title>Interface between Kinetis K20D50M and a sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interface-between-Kinetis-K20D50M-and-a-sensor/m-p/310227#M13337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really new to microcontrollers. I am trying to interface K20D50M with a capacitance sensor. I was wandering if there are any demo projects that I can use. &lt;/P&gt;&lt;P&gt;Here is the serial data format of the capacitance sensor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;The ASCII output from TXD pin of J4 contains three fields: sequence number, measurement time (in seconds), and measured capacitance. The line format is as below. &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; font-family: TimesNewRoman;"&gt;SSSSS TTTTT.tt CCCCU &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; font-family: TimesNewRoman;"&gt;where ‘SSSSS’is 5 digit sequence number, ‘TTTTT.tt’is 8 digit time stamp (in second), and CCCCU is 5 digit measured capacitance with U being unit digit. Different fields are separated by 1 space. Each line is ended with ‘LF’(0x0A) and ‘CR’(0x0D). Output baud rate is 38400bps fixed. Data format is 8 data bits, 1 stop bit, and no parity. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;Output level is 5V. So a level converter is needed to connect to RS232 compatible device (PC serial port, for example). &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please send me If you have any demo projects that would be helpful&lt;/P&gt;&lt;P&gt;Thank you and have a great day&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRoman;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 19:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interface-between-Kinetis-K20D50M-and-a-sensor/m-p/310227#M13337</guid>
      <dc:creator>sosopavliashvil</dc:creator>
      <dc:date>2014-04-03T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Interface between Kinetis K20D50M and a sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interface-between-Kinetis-K20D50M-and-a-sensor/m-p/310228#M13338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case I suggest you to download the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K20_50&amp;amp;nodeId=01624698C9DE2DDDA7&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;&lt;STRONG&gt;Kinetis 50MHz bare metal sample code&lt;/STRONG&gt;&lt;/A&gt;, here you will find an example project for serial communication (available for 19200 and 115200 baudrate), please take a look on the 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;/P&gt;&lt;P&gt;The &lt;STRONG&gt;serial_test_xxxxx&lt;/STRONG&gt; codes have been developed for IAR but you could use them as reference if you are using another tool.&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>Tue, 08 Apr 2014 19:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interface-between-Kinetis-K20D50M-and-a-sensor/m-p/310228#M13338</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-08T19:49:20Z</dc:date>
    </item>
  </channel>
</rss>

