<?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 Full Speed USB [ FRDM-MCXA153] : usb device not detecting detach event in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1923985#M1433</link>
    <description>&lt;P&gt;Hi, i have tested the usb cdc(single port) vcom example (frdmmcxa153_dev_cdc_vcom_bm) where it echoes back the characters received from host. I tried using a flag for device detach event in USB_DeviceCallback() function defined in application main code. It looks like there is no interrupt triggered for&amp;nbsp; detach event.&lt;/P&gt;&lt;P&gt;I have enabled detach event by defining macro&amp;nbsp;&lt;SPAN&gt;USB_DEVICE_CONFIG_DETACH_ENABLE with value 1, but main isr function&amp;nbsp;USB_DeviceKhciIsrFunction(), inside&amp;nbsp;USB0_IRQHandler() is not getting called. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in main(), am trying to send message with delay and this is supposed to stop and print a debug message as flag is changed if interrupt has triggered. Please find below the attcahed images for screenshots and let me know if i need to do some configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 11:46:38 GMT</pubDate>
    <dc:creator>Gurunath</dc:creator>
    <dc:date>2024-08-02T11:46:38Z</dc:date>
    <item>
      <title>Full Speed USB [ FRDM-MCXA153] : usb device not detecting detach event</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1923985#M1433</link>
      <description>&lt;P&gt;Hi, i have tested the usb cdc(single port) vcom example (frdmmcxa153_dev_cdc_vcom_bm) where it echoes back the characters received from host. I tried using a flag for device detach event in USB_DeviceCallback() function defined in application main code. It looks like there is no interrupt triggered for&amp;nbsp; detach event.&lt;/P&gt;&lt;P&gt;I have enabled detach event by defining macro&amp;nbsp;&lt;SPAN&gt;USB_DEVICE_CONFIG_DETACH_ENABLE with value 1, but main isr function&amp;nbsp;USB_DeviceKhciIsrFunction(), inside&amp;nbsp;USB0_IRQHandler() is not getting called. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in main(), am trying to send message with delay and this is supposed to stop and print a debug message as flag is changed if interrupt has triggered. Please find below the attcahed images for screenshots and let me know if i need to do some configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:46:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1923985#M1433</guid>
      <dc:creator>Gurunath</dc:creator>
      <dc:date>2024-08-02T11:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Full Speed USB [ FRDM-MCXA153] : usb device not detecting detach event</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1924059#M1434</link>
      <description>example is from frdm-mcxa153 sdk</description>
      <pubDate>Fri, 02 Aug 2024 13:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1924059#M1434</guid>
      <dc:creator>Gurunath</dc:creator>
      <dc:date>2024-08-02T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Full Speed USB [ FRDM-MCXA153] : usb device not detecting detach event</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1929965#M1504</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232236"&gt;@Gurunath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience.&lt;/P&gt;
&lt;P&gt;The same on my side. I will check it with internal. Then reply you .ASAP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 07:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1929965#M1504</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-12T07:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Full Speed USB [ FRDM-MCXA153] : usb device not detecting detach event</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1932694#M1515</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232236"&gt;@Gurunath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you use the below two methods.&lt;/P&gt;
&lt;P&gt;1&amp;gt; Please use the attached signal from below parameters to detect attach (1) or de-attach(0)&lt;/P&gt;
&lt;P&gt;g_UsbDeviceHidGeneric.attach = 0U;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2&amp;gt; Enable P2_12 as VBUS detection, and check the "SESS_VLD" bit status in&amp;nbsp;CONTROL register as below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1723695202084.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293400iB2AF60621BDC73F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1723695202084.png" alt="Alice_Yang_0-1723695202084.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alice_Yang_0-1723695202084.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 04:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Full-Speed-USB-FRDM-MCXA153-usb-device-not-detecting-detach/m-p/1932694#M1515</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-15T04:14:29Z</dc:date>
    </item>
  </channel>
</rss>

