I was just wondering if anyone has had any experience using the USBDCD features of the Kinetis MCUs. It detects whether the device is connected to a USB charger or a computer. It might be useful for me in a project where I am trying to add a battery, but only turn on charging if connected to a charger, and turn off charging when connected to a laptop. Any advice appreciated.
It is described in (among other places) Chapter 14 of http://cache.freescale.com/files/32bit/doc/quick_ref_guide/KQRUG.pdf.
It is described in (among other places) Chapter 14 of http://cache.freescale.com/files/32bit/doc/quick_ref_guide/KQRUG.pdf.