<?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 Design StudioのトピックRe: Virtual com on KL26 using PEx</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647651#M8451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, first i wanna thank you for interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send you the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application uses some serial ports as bridge receiving data from one (RS485) and transmitting them to onother (RF) and viceversa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I woul like also introduce the capability to receive data from USB and to trasmit them on RS485.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jan 2017 08:41:31 GMT</pubDate>
    <dc:creator>stefanoluschi</dc:creator>
    <dc:date>2017-01-07T08:41:31Z</dc:date>
    <item>
      <title>Virtual com on KL26 using PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647649#M8449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sirs,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have two projects both based on kinetics kl26z256vll4 that needs an USB virtual com to connectd to a PC.&lt;/P&gt;&lt;P&gt;I just have developed a lot of FW using KDS 3.2 and processor expert for both.&lt;/P&gt;&lt;P&gt;Now i should integrate USB CDC.&lt;/P&gt;&lt;P&gt;I added FSL_USB_Stack from components and also KineticsSDK (SDK V2.0) but i have some problems:&lt;/P&gt;&lt;P&gt;1) in FSL_USB_CDC_Device i must select&amp;nbsp;Kinetis KL26Z48 because it doesn't exist the right processor. Is it right?&lt;/P&gt;&lt;P&gt;2) the Init_USB_OTG has many errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Component name (USB0) "The component is not supported for selected processor"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Clock gate "No type specified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Module clock Source&amp;nbsp;&lt;SPAN&gt;"No type specified"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) I have an error in Watchdog_Reset&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;../Generated_Code/wdt_kinetis.c: In function 'Watchdog_Reset':&lt;BR /&gt;../Generated_Code/wdt_kinetis.c:42:2: error: assignment of read-only member 'SRS0'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so i comment the code raw. (just to see if the system is able to compile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) having&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;deselected "Inherited USB Init" in FSL_USB_Stack i have another linker error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;G:\Spintop\Tecnico\WKSPACE\PE2\KL46USBPE\Debug/../Generated_Code/USB1.c:161: undefined reference to `USB0_Init'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in these routine:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;uint8_t USB1_Init(void)&lt;BR /&gt;{&lt;BR /&gt; uint8_t err;&lt;BR /&gt; void USB0_Init(void); /* no inherited init component, use Init function name from properties */&lt;/P&gt;&lt;P&gt;USB0_Init(); /* no inherited init component, call Init function name from properties */&lt;BR /&gt; /* Initialize the USB interface */&lt;BR /&gt; err = CDC1_Init();&lt;BR /&gt; if(err != ERR_OK) {&lt;BR /&gt; /* Error initializing USB Class */&lt;BR /&gt; return ERR_FAILED;&lt;BR /&gt; }&lt;BR /&gt; USB1_usb_int_en();&lt;BR /&gt; return ERR_OK;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I decide to comment in this way:&lt;/P&gt;&lt;P&gt;uint8_t USB1_Init(void)&lt;BR /&gt;{&lt;BR /&gt; uint8_t err;&lt;BR /&gt;//void USB0_Init(void); /* no inherited init component, use Init function name from properties */&lt;/P&gt;&lt;P&gt;//USB0_Init(); /* no inherited init component, call Init function name from properties */&lt;BR /&gt; /* Initialize the USB interface */&lt;BR /&gt; err = CDC1_Init();&lt;BR /&gt; if(err != ERR_OK) {&lt;BR /&gt; /* Error initializing USB Class */&lt;BR /&gt; return ERR_FAILED;&lt;BR /&gt; }&lt;BR /&gt; USB1_usb_int_en();&lt;BR /&gt; return ERR_OK;&lt;BR /&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally it compile everything but when debug i note that the system is halted at startup at this location:&lt;/P&gt;&lt;P&gt;DefaultISR:&lt;BR /&gt; ldr r0, =DefaultISR&lt;BR /&gt; bx r0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please note that also McuLibConfig is configured as&amp;nbsp;Kinetis SDK V2.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to solve these problems?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you think that exist some libraries that only need to be included in the project in a similar way of LPC series?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Stefano&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 17:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647649#M8449</guid>
      <dc:creator>stefanoluschi</dc:creator>
      <dc:date>2016-12-28T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual com on KL26 using PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647650#M8450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello Stefano,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry i have some confused with our project, you said you use PE and KSDKv2.0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while as far as i know, the KSDKv2.0 has not includes PE. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So could you please your project to me , then i can check the problem in convenient .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 06:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647650#M8450</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-04T06:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual com on KL26 using PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647651#M8451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, first i wanna thank you for interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send you the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application uses some serial ports as bridge receiving data from one (RS485) and transmitting them to onother (RF) and viceversa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I woul like also introduce the capability to receive data from USB and to trasmit them on RS485.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 08:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647651#M8451</guid>
      <dc:creator>stefanoluschi</dc:creator>
      <dc:date>2017-01-07T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual com on KL26 using PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647652#M8452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefano,&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Your project send to me used KSDKv1.3, not v2.0 , the V2.0 do not include Processor Expert.&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/12510iFEF579F29A05BD97/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;2. If your chip is kl26z256vll4 , when use PE , the processor must be kl26z256vll4&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/12554iCD3D380AC048BBB1/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;3. There is a tutorial about use KSDK USB CDC , maybe it can helps you :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; it use the component of "fsl_usb_framework"&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://centaurian.co.uk/2015/12/23/ksdk-usb-cdc-printf/" title="https://centaurian.co.uk/2015/12/23/ksdk-usb-cdc-printf/"&gt;KSDK USB CDC PRINTF | Centaurian&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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>Wed, 11 Jan 2017 10:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647652#M8452</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-11T10:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual com on KL26 using PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647653#M8453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two projects, the first is based on mkl26z256vll4 and the second &lt;/P&gt;&lt;P&gt;on mkl26z256vlh4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordiali saluti,&lt;/P&gt;&lt;P&gt;Stefano Luschi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 10:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Virtual-com-on-KL26-using-PEx/m-p/647653#M8453</guid>
      <dc:creator>stefanoluschi</dc:creator>
      <dc:date>2017-01-11T10:27:29Z</dc:date>
    </item>
  </channel>
</rss>

