Hello,
I am targeting an i.MX25 on a custom board. We wish to have the system wake from stop upon USB wake. The problem is this [dis]connect wake event doesn't happen, despite my best efforts to connect the dots in the reference manual. Unfortunately, all similar questions are in the context of a Linux environment, which ignores the low level details that I need to understand. Any insight that could decrease the velocity of my head spinning will be much appreciated!
I am operating off the assumption that it's sufficient to reset the USB core, put it in device mode, enable the wake events, wait for the OTG port to suspend, then activate the low-power USB interrupts in the CCM and ASIC registers. I believe that putting the port in suspend enables the power control module, which monitors the bus for activity, and generates the wake interrupt according to the wake enables in the USB CTRL register.
Thanks Igor,
I'm not familiar enough with Linux to know where to look. Google is unable to find the pertinent suggested reading documents in the attached mx51_linux.pdf:
i.MX51PDK Linux Quick Start Guide
BSP API Document
i.MX51PDK Linux User’s Guide
Do I have to request these documents from Freescale? Do you have copies you can attach?
Regards,
Stephen
Hi Stephen
please look at Linux documentation
https://www.nxp.com/webapp/Download?colCode=IMX51_ER1011_LINUXDOCS_BUNDLE
Linux 2.6.35 Source Code Files and documentation
Linux 2.6.35 Source Code Files and documentation 11.03 for i.MX53 SABRE Tablet
Best regards
igor
Hi Stephen
I am not aware of i.MX25 usb wake up implementation in nxp bsps, seems
one can look at i.MX51 (has similar usb module) and attached Linux Manual
sect.29.11 USB Wakeup usage, check sources in
Board Support Packages (8)
Linux 2.6.35 Source Code Files
https://www.nxp.com/products/power-management/pmics/power-management-for-i.mx-application-processors...
Please pay attention to plls errata ENGcm12381,ERR007917
https://www.nxp.com/docs/en/errata/IMX25CE.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------