mcxn236 usb device mode without VBUS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mcxn236 usb device mode without VBUS

Jump to solution
1,235 Views
allu
Contributor I

Hi NXP,

We refer NXP SDK_2_14_0_FRDM-MCXN236_rfp USB device example to develop a USB device. However, is it possible to make the USB device mode work without VBUS?

If yes, how can we modify this in the SDK?

Thanks,

Alan

Labels (3)
0 Kudos
Reply
1 Solution
1,170 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @allu 

Thank you very much for your patience.

As I reviewed internally, please find below our feedback. 

We strongly suggest customers to link MCX N2xx's USB_VBUS pin with USB connector as recommended in our  hardware design guide and  implemented in the official FRDM-MCX N 236 schematic.  

With the USB_VBUS pin detect, the application firmware can easily know  if the USB is attached or not.

Leaving USB_VBUS  floating is possible, but require the software  skip the attach detection, and use a software state machine to check if the USB is linked or not. But we are not sure about the workload to implement this.

Additonally, leaving USB_VBUS disconnect may impact on the USB certification attach and de-attach test, but it will not impact on other test items. As mentioned before, you may use the software approach to solve the attach and de-attach test item issue, but it is not our recommendation. 

Anyway, we strongly suggest you to enable the USB_VBUS.

Thank you, 

Diego

View solution in original post

0 Kudos
Reply
1 Reply
1,171 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @allu 

Thank you very much for your patience.

As I reviewed internally, please find below our feedback. 

We strongly suggest customers to link MCX N2xx's USB_VBUS pin with USB connector as recommended in our  hardware design guide and  implemented in the official FRDM-MCX N 236 schematic.  

With the USB_VBUS pin detect, the application firmware can easily know  if the USB is attached or not.

Leaving USB_VBUS  floating is possible, but require the software  skip the attach detection, and use a software state machine to check if the USB is linked or not. But we are not sure about the workload to implement this.

Additonally, leaving USB_VBUS disconnect may impact on the USB certification attach and de-attach test, but it will not impact on other test items. As mentioned before, you may use the software approach to solve the attach and de-attach test item issue, but it is not our recommendation. 

Anyway, we strongly suggest you to enable the USB_VBUS.

Thank you, 

Diego

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1910568%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Emcxn236%20usb%20device%20mode%20without%20VBUS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1910568%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EWe%20refer%20NXP%20SDK_2_14_0_FRDM-MCXN236_rfp%20USB%20device%20example%20to%20develop%20a%20USB%20device.%20However%2C%20is%20it%20possible%20to%20make%20the%20USB%20device%20mode%20work%20without%20VBUS%3F%3C%2FP%3E%3CP%3EIf%20yes%2C%20how%20can%20we%20modify%20this%20in%20the%20SDK%3F%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAlan%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1910568%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EDevelopment%20Board%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUSB%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1923673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20mcxn236%20usb%20device%20mode%20without%20VBUS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1923673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233046%22%20target%3D%22_blank%22%3E%40allu%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20very%20much%20for%20your%20patience.%3C%2FP%3E%0A%3CP%3EAs%20I%20reviewed%20internally%2C%20please%20find%20below%20our%20feedback.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20strongly%20suggest%20customers%20to%20link%20MCX%20N2xx's%20USB_VBUS%20pin%20with%20USB%20connector%20as%20recommended%20in%20our%26nbsp%3B%20hardware%20design%20guide%20and%26nbsp%3B%20implemented%20in%20the%20official%20FRDM-MCX%20N%20236%20schematic.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20the%20USB_VBUS%20pin%20detect%2C%20the%20application%20firmware%20can%20easily%20know%26nbsp%3B%20if%20the%20USB%20is%20attached%20or%20not.%3C%2FP%3E%0A%3CP%3ELeaving%20USB_VBUS%26nbsp%3B%20floating%20is%20possible%2C%20but%20require%20the%20software%26nbsp%3B%20skip%20the%20attach%20detection%2C%20and%20use%20a%20software%20state%20machine%20to%20check%20if%20the%20USB%20is%20linked%20or%20not.%20But%20we%20are%20not%20sure%20about%20the%20workload%20to%20implement%20this.%3C%2FP%3E%0A%3CP%3EAdditonally%2C%20leaving%20USB_VBUS%20disconnect%20may%20impact%20on%20the%20USB%20certification%20attach%20and%20de-attach%20test%2C%20but%20it%20will%20not%20impact%20on%20other%20test%20items.%20As%20mentioned%20before%2C%20you%20may%20use%20the%20software%20approach%20to%20solve%20the%20attach%20and%20de-attach%20test%20item%20issue%2C%20but%20it%20is%20not%20our%20recommendation.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnyway%2C%20we%20strongly%20suggest%20you%20to%20enable%20the%20USB_VBUS.%3C%2FP%3E%0A%3CP%3EThank%20you%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDiego%3C%2FP%3E%3C%2FLINGO-BODY%3E