AnsweredAssumed Answered

USB DCD and library K22FX512

Question asked by Daniele Cortellazzi on Jan 29, 2018
Latest reply on Jan 30, 2018 by Daniele Cortellazzi

Hello,

 

i have a K22FX512 where i use the USB library from SDK 2.2. i have seen that the cpu has the DCD peripheral. My question is how to use it to detectif my micro is connected to a power charger or to a pc so i can enable the USB library only in this case. There are some library?

 

Thanks

Outcomes