AnsweredAssumed Answered

Having trouble implementing USB libraries into Kinetis KSDK 1.3 Project.

Question asked by Brendan Merna on Apr 6, 2017
Latest reply on Apr 11, 2017 by Brendan Merna

I've been working with the FRDM-K22F board for a few weeks and have a project I'm building up for a product that's going to use that microchip. I'm at the point where I want to implement USB with this project, so the board can enumerate as a USB host and send some commands to a Windows computer through some hardware buttons.


I've found the example project "Hid Keyboard" and I've built the USB platform "usbd_sdk_bm_lib". The example project works and I see the commands of scroll up and down on the computer and the USB device with that project enumerates properly.


Next step was to move the USB components from the Keyboard HID project to my project. I've found this PDF with the K64F board which talks about which files to copy over and which includes to add.  file:///C:/Users/brendan_merna/Downloads/Creating%20a%20New%20USB%20project%20with%20KSDK%20and%20Processor%20Expert%20support%20in%20KDS.pdf

I've added those files and includes, my project builds, I've stripped out all other code to make it exactly the same as the keyboard demo, but the application doesn't enumerate with the computer. The PDF talks about using processor expert. Is that something that has to be implemented to use USB. I don't see it on the Keyboard demo. 

Anyone know any suggestions?