<?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 5.0 usb_cdc_pstn.c issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/5-0-usb-cdc-pstn-c-issue/m-p/365670#M18820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 5.0 USB stack, in file usb_cdc_pstn.c, in routine PSTN_Set_Ctrl_Line_State(), the code makes reference in various places to cdc_pstn_ptr-&amp;gt;pstn_callback.callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This callback struct in fact contains the application callback (passed down from USB_Class_CDC_Init() through USB_Pstn_Init()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carrier state changes are passed to the application callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this may be incorrect.&amp;nbsp; The application callback traditionally handles bus reset, enumeration complete, and USB error events, not fine-grained class-peculiar events.&amp;nbsp; Fine-grained class-peculiar events are normally handled by the class-specific callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of the example code shows a CDC application callback processing carrier state change events, so I cannot determine with any certainty whether this is actually an error or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 16:54:57 GMT</pubDate>
    <dc:creator>johnstrohm</dc:creator>
    <dc:date>2015-01-21T16:54:57Z</dc:date>
    <item>
      <title>5.0 usb_cdc_pstn.c issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/5-0-usb-cdc-pstn-c-issue/m-p/365670#M18820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 5.0 USB stack, in file usb_cdc_pstn.c, in routine PSTN_Set_Ctrl_Line_State(), the code makes reference in various places to cdc_pstn_ptr-&amp;gt;pstn_callback.callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This callback struct in fact contains the application callback (passed down from USB_Class_CDC_Init() through USB_Pstn_Init()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carrier state changes are passed to the application callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this may be incorrect.&amp;nbsp; The application callback traditionally handles bus reset, enumeration complete, and USB error events, not fine-grained class-peculiar events.&amp;nbsp; Fine-grained class-peculiar events are normally handled by the class-specific callback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of the example code shows a CDC application callback processing carrier state change events, so I cannot determine with any certainty whether this is actually an error or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/5-0-usb-cdc-pstn-c-issue/m-p/365670#M18820</guid>
      <dc:creator>johnstrohm</dc:creator>
      <dc:date>2015-01-21T16:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: 5.0 usb_cdc_pstn.c issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/5-0-usb-cdc-pstn-c-issue/m-p/365671#M18821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reporting!&amp;nbsp; I have just contacted the software team and they will fix it later.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&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>Thu, 22 Jan 2015 07:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/5-0-usb-cdc-pstn-c-issue/m-p/365671#M18821</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-01-22T07:43:33Z</dc:date>
    </item>
  </channel>
</rss>

