AnsweredAssumed Answered

Where can I find the latest working bare-metal (non-OS) USB Stack examples for TWR-K70F120M?

Question asked by mb_apt on Sep 3, 2015
Latest reply on Sep 8, 2015 by Hui_Ma

Where can I find the latest working bare-metal (non-OS) USB Stack examples for TWR-K70F120M?

 

Tried running examples from Freescale bare metal USB Stack 4.1.1 - no luck (unrecognized USB device in Windows).

 

Tried looking in KSDK 1.2.0 examples folder but it's missing K70 examples.

 

Finally tried Erich Styger's CDC Device example from USB with the TWR-K60F120M and TWR-K70F120M | MCU on Eclipse and that finally worked correctly (I even changed the code to use 50MHz OSC and output of PLL0 120MHz system clock source for 48MHz USB clock and that still worked correctly) but it seems like it's based on older USB Stack version from 2013 and missing USB composite/MSD portion. It's good for proof of concept.

 

We are looking to implement USB Composite Device (CDC+MSD). We are using emIDE with GCC 4.7 (not exactly an industry standard but we got a lot of things working using this combination so far).

 

Any recommendations for USB work on K70 would be appreciated.

Outcomes