zephyr usbhs Sleep and wake up functions are not supported

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

zephyr usbhs Sleep and wake up functions are not supported

Jump to solution
807 Views
hskating
Contributor I

I tested this example while debugging LPC55s28: samples/subsys/usb/hid-mouse CONFIG_USB_DEVICE_REMOTE_WAKEUP=y was set in samples/subsys/usb/hid-mouse/prj.conf, but after compiling the project: int usb_dc_wakeup_request(void) is not supported in drivers/usb/device/usb_dc_mcux.c; Please tell me how to solve this. I also used MCUXpressoIDE to generate a copy of lpcxpresso55s28_dev_suspend_resume_hid_mouse_bm\source\mouse.c, However, it is not possible to add examples to drivers/usb/device/usb_dc_mcux.c in zephyr. I think this also needs to support low power control. Is there a successful example in zephyr? Thank you very much.

0 Kudos
Reply
1 Solution
775 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @hskating 

Sorry,  we currently do not support USB low power control on LPC55s28 Zephyr.

BR

Harry

View solution in original post

0 Kudos
Reply
2 Replies
776 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @hskating 

Sorry,  we currently do not support USB low power control on LPC55s28 Zephyr.

BR

Harry

0 Kudos
Reply
771 Views
hskating
Contributor I

Will nxp mcu with usb support zephyr with low power consumption in the future?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2044193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ezephyr%20usbhs%20Sleep%20and%20wake%20up%20functions%20are%20not%20supported%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2044193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20tested%20this%20example%20while%20debugging%20LPC55s28%3A%20samples%2Fsubsys%2Fusb%2Fhid-mouse%20CONFIG_USB_DEVICE_REMOTE_WAKEUP%3Dy%20was%20set%20in%20samples%2Fsubsys%2Fusb%2Fhid-mouse%2Fprj.conf%2C%20but%20after%20compiling%20the%20project%3A%20int%20usb_dc_wakeup_request(void)%20is%20not%20supported%20in%20drivers%2Fusb%2Fdevice%2Fusb_dc_mcux.c%3B%20Please%20tell%20me%20how%20to%20solve%20this.%20I%20also%20used%20MCUXpressoIDE%20to%20generate%20a%20copy%20of%20lpcxpresso55s28_dev_suspend_resume_hid_mouse_bm%5Csource%5Cmouse.c%2C%20However%2C%20it%20is%20not%20possible%20to%20add%20examples%20to%20drivers%2Fusb%2Fdevice%2Fusb_dc_mcux.c%20in%20zephyr.%20I%20think%20this%20also%20needs%20to%20support%20low%20power%20control.%20Is%20there%20a%20successful%20example%20in%20zephyr%3F%20Thank%20you%20very%20much.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2046170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20zephyr%20usbhs%20Sleep%20and%20wake%20up%20functions%20are%20not%20supported%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWill%20nxp%20mcu%20with%20usb%20support%20zephyr%20with%20low%20power%20consumption%20in%20the%20future%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045925%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20zephyr%20usbhs%20Sleep%20and%20wake%20up%20functions%20are%20not%20supported%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045925%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%2F244170%22%20target%3D%22_blank%22%3E%40hskating%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%2C%26nbsp%3B%20we%20currently%20do%20not%20support%20USB%20low%20power%20control%20on%26nbsp%3BLPC55s28%20Zephyr.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E