<?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 Software Development KitのトピックRe: Displaying analog data with FRDM-KL43z SDK and PE?</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496807#M4661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to initialize the UART that you'll be using as your debug console and initialize the debug console. I'm not terribly familiar with PEx, is there a debug console bean you can bring into your project? This may handle all of that for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to print the value you read from the ADC, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14549852953904173 jive_macro_code jive_text_macro" data-renderedposition="113_8_1232_16" jivemacro_uid="_14549852953904173"&gt;&lt;P&gt;printf("Current ADC reading: %i\n", ir_receiver);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't worry about the datatype at first, if the only thing you ant to see is the data being sent over the UART to your console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 02:35:41 GMT</pubDate>
    <dc:creator>Jmart</dc:creator>
    <dc:date>2016-02-09T02:35:41Z</dc:date>
    <item>
      <title>Displaying analog data with FRDM-KL43z SDK and PE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496806#M4660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to interface an IR Receiver with the FRDM-KL43z, SDK and processor expert. So far I've included the fsl_adc16 analog to digital converter component and the debug console component. I haven't used the debug console before and would appreciate some guidance. I generated some code using processor expert and my code is basically the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int ir_receiver;&lt;/P&gt;&lt;P&gt;ir_receiver = read_adc_raw_data(or whatever this function is);&lt;/P&gt;&lt;P&gt;printf(ir_receiver);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose I'll have to change int to double or something. Will the debug console open automatically? or is there something else I have to configure.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 00:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496806#M4660</guid>
      <dc:creator>christopherira</dc:creator>
      <dc:date>2016-02-09T00:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying analog data with FRDM-KL43z SDK and PE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496807#M4661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to initialize the UART that you'll be using as your debug console and initialize the debug console. I'm not terribly familiar with PEx, is there a debug console bean you can bring into your project? This may handle all of that for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to print the value you read from the ADC, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14549852953904173 jive_macro_code jive_text_macro" data-renderedposition="113_8_1232_16" jivemacro_uid="_14549852953904173"&gt;&lt;P&gt;printf("Current ADC reading: %i\n", ir_receiver);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't worry about the datatype at first, if the only thing you ant to see is the data being sent over the UART to your console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 02:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496807#M4661</guid>
      <dc:creator>Jmart</dc:creator>
      <dc:date>2016-02-09T02:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying analog data with FRDM-KL43z SDK and PE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496808#M4662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the processor expert for the debug console component, for the pins (not sure why the debug console needs pins).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23383iB4EE873CE393CAA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it says it's auto initialized. So I am trying to simply display the value on my computer (is the debug console even the best way to do this?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1707i1253184D4D951520/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 23:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496808#M4662</guid>
      <dc:creator>christopherira</dc:creator>
      <dc:date>2016-02-09T23:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying analog data with FRDM-KL43z SDK and PE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496809#M4663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This is the processor expert for the debug console component, for the pins (not sure why the debug console needs pins).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The debug console requires pins because it outputs the console data over a peripheral, that usually being a serial interface (UART). Does your board have a dedicated UART for debug purposes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 16:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496809#M4663</guid>
      <dc:creator>Jmart</dc:creator>
      <dc:date>2016-02-16T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying analog data with FRDM-KL43z SDK and PE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496810#M4664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay thank you, that makes sense. And yes it does. User manual says "signal connections are available to implement a UART serial channel." I don't think this is what I want, though. Is there any way I can display the analog data in Kinetis Design Studio? I just want to stream the analog values so I can view them and interpret them. Thanks for your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 20:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Displaying-analog-data-with-FRDM-KL43z-SDK-and-PE/m-p/496810#M4664</guid>
      <dc:creator>christopherira</dc:creator>
      <dc:date>2016-02-16T20:33:21Z</dc:date>
    </item>
  </channel>
</rss>

