<?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 USB CDC problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1433310#M62733</link>
    <description>&lt;P&gt;Hello, my&amp;nbsp;frdmkl27z_dev_cdc_vcom_bm code stopped in the following part, what I need to do to work on this part..?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raduansarif_0-1648111046457.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174696i9B6AA7C8514F7407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raduansarif_0-1648111046457.jpeg" alt="raduansarif_0-1648111046457.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 08:37:33 GMT</pubDate>
    <dc:creator>raduansarif</dc:creator>
    <dc:date>2022-03-24T08:37:33Z</dc:date>
    <item>
      <title>USB CDC problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1433310#M62733</link>
      <description>&lt;P&gt;Hello, my&amp;nbsp;frdmkl27z_dev_cdc_vcom_bm code stopped in the following part, what I need to do to work on this part..?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raduansarif_0-1648111046457.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174696i9B6AA7C8514F7407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raduansarif_0-1648111046457.jpeg" alt="raduansarif_0-1648111046457.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 08:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1433310#M62733</guid>
      <dc:creator>raduansarif</dc:creator>
      <dc:date>2022-03-24T08:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434138#M62758</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Possibilities:&lt;BR /&gt;&lt;BR /&gt;A) The structure pointer khciState is not &lt;SPAN&gt;initialize&lt;/SPAN&gt; correctly.&lt;BR /&gt;&lt;BR /&gt;B) The Buffer Description Table (BDT) is not aligned on a 512 byte boundary as I explained in other thread (It is best to keep everything in one thread, rather than starting many about the same subject).&lt;BR /&gt;&lt;BR /&gt;As the BDT is part of a structure in this code the structure must start on a boundary, which may or many not account for structure packing and it matters here, that will place the BDT on that 512 byte boundary.&lt;BR /&gt;&lt;BR /&gt;C) Something about the USB is not &lt;SPAN&gt;initialized&amp;nbsp;&lt;/SPAN&gt;correctly (-&amp;gt;registerbase-&amp;gt;).&amp;nbsp; Probably would not have gotten this far in the code if that is the case.&amp;nbsp; Using USB1 rather than USB0 on a part with only one USB.&lt;BR /&gt;&lt;BR /&gt;Find out exactly where BDT is in the address map by looking at the listing, .sym or .map file.&lt;BR /&gt;Keeping in mind it is part of the larger structure containing it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:28:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434138#M62758</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2022-03-25T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434685#M62772</link>
      <description>&lt;P&gt;hello &lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/38376" target="_self"&gt;&lt;SPAN class=""&gt;bobpaddock&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;In my MCU MKL27Z128LH4, this example ( &lt;STRONG&gt;frdmkl27z_hello_world_virtual_com&lt;/STRONG&gt;) is working.&lt;/P&gt;&lt;P&gt;I try with&amp;nbsp;&lt;STRONG&gt;frdmkl27z_dev_cdc_vcom_bm&amp;nbsp;&lt;/STRONG&gt;but I fails in&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (kStatus_USB_Success != USB_DeviceClassInit(CONTROLLER_ID, &amp;amp;s_cdcAcmConfigList, &amp;amp;s_cdcVcom.deviceHandle))&lt;BR /&gt;{&lt;BR /&gt;usb_echo("USB device init failed\r\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;this part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try with&amp;nbsp;&lt;STRONG&gt;frdmkl43z_dev_cdc_vcom_bm,&lt;/STRONG&gt; it's also connected with the port.&lt;/P&gt;&lt;P&gt;What is the actual problem, I do not understand&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 08:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434685#M62772</guid>
      <dc:creator>raduansarif</dc:creator>
      <dc:date>2022-03-28T08:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434840#M62774</link>
      <description>&lt;P&gt;Hello thank you i could solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-CDC-problem/m-p/1434840#M62774</guid>
      <dc:creator>raduansarif</dc:creator>
      <dc:date>2022-03-28T13:37:02Z</dc:date>
    </item>
  </channel>
</rss>

