We are using Kinetis K60 MCU in on of our designs and we have implemented USB FS device functionality. The USB port is intended for both powering the product as well communicating with PC. We also intend to power the product using a USB battery pack/ USB power bank. However, our system does NOT use any kind of re-chargeable/non-chargeable battery, hence does NOT have any external battery charging IC/module. It does NOT have any separate communication module as indicated in the USBDCD section of K60's reference manual.
Can we still use the USBDCD module for the following:
- To detect with what is our product connected: PC/Laptop OR USB power bank
- If connected to PC/Laptop, facilitate enumeration and drawing up to 500mA from the USB host
- If connected to USB power bank, no need for enumeration BUT inform the device firmware that it is connected to a USB power bank and hence can draw power higher than 100mA without enumeration
Would it be possible?
Please let me know if anything is unclear in my description.
Thank you so much in advance for any suggestions/help.
Message was edited by: Kaitav Sapre Made the question explanation simpler.