AnsweredAssumed Answered

USB CDC on KL27 processor

Question asked by Martin Skriver on Aug 31, 2015
Latest reply on Sep 18, 2015 by isaacavila

Hi

I just started writing code to the MKL27Z256VFT4 processor. So far i have installed KDS 3.0.0 with 3.0.1 updates and KSDK 1.2.0 in Linux. I use PEx to generate kode with FreeRTOS, I2C ect. for the project and everything is working as I would expect. I can program the chip and debug it using a jtag device. 

 

The application I'm writing is reading data from some sensors and should then send them to a PC via the USB port from the KL27 processor. From what I have read that I need to setup the USB device as a CDC. I have found a lot of examples on how to setup the port for mouse, keyboard and storage devices (HID and MSD) from similar chips but that is not really what I need. I hope you can help me how to setup the USB and it would be nice if it can be done using PEx in KDS.

 

Kind regards

Outcomes