K64 FreeRTOS + USB CDC using MCUXpresso/SDK

cancel
Showing results for 
Search instead for 
Did you mean: 

K64 FreeRTOS + USB CDC using MCUXpresso/SDK

504 Views
razed11
Contributor V

A few years ago I developed an application using MQX with the K64 and it was a good experience. Recently I was asked to work on a different project and it used this setup but installing the tools and using the older version of KDS was quite painful (at least on a Mac) due to the lack of continuing support of MQX.

Now I'd like to use K64 with FreeRTOS and USB but I believe that MCUXpresso only has a driver for a baremetal implementation i.e. no RTOS. I don't understand USB at a low level but I suspect that there are real-time needs such as timeouts so using the baremetal with an RTOS will not be sufficient.

Maybe I'm incorrect and there is a FreeRTOS port. Recommendations?

Thanks.

Labels (2)
0 Kudos
3 Replies

175 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Kenny

Just an information that MCUXpresso SDK has FreeRTOS support for USB cdc driver.

Please refer to the following demo on the SDK installation folder

FRDM-K64F_2.4\boards\frdmk64f\usb_examples\usb_device_cdc_vcom\freertos

Regards

Daniel

175 Views
mjbcswitzerland
Specialist V

Hi Kenny

K64 FreeRTOS USB-CDC is included in the uTasker project. Load the binary attached to a FRDM-K64F board,connect to USB (auto-install on Win 10), open a terminal emulator on the VCOM that appears and communicate with a FreeRTOS task.
Built with MCUXpresso and works on any Kinetis part with USB (supports up to 6 VCOM ports, optionally with USB-UART bridges and various composite configurations; industrially proven in many Kinetis products since 2012).

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html
Kinetis K64:
- http://www.utasker.com/kinetis/FRDM-K64F.html
- http://www.utasker.com/kinetis/TWR-K64F120M.html
- http://www.utasker.com/kinetis/TEENSY_3.5.html
- http://www.utasker.com/kinetis/Hexiwear-K64F.html

175 Views
razed11
Contributor V

Thanks Mark. We'll check it out. We're always on the lookout for reasonably priced tools for USB and TCP/IP.

0 Kudos