Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


Example: LPC1343+ FreeRTOS + USB example

Posted by Don Williams on July 15, 2011
Does any example of this combination of examples exist ? Seems a more usefull demo of the USB function than just the naked HID example provided...better for RTOS as well ....who wants to manage real time comms for control from scratch ?
If anyone cares to offer advice about pitfalls that may have done this before I start out I will undertake to provide it to the community the combined example - documented when complete ...It'll be the first stage of my next project .....any contributions of advice ? (I assume there isnt one already?)

RE: Example: LPC1343+ FreeRTOS + USB example

Posted by Richard on July 15, 2011
I'm not sure what functionality you are wanting from the USB specifically, but I think you can find lots of bare metal examples around - look in the Examples directories of the IAR, Keil, CodeRed tools, and on the NXP web site. It would then be an exercise in converting it to be FreeRTOS friendly (which normally means, not doing any processing in the interrupt itself, but using the interrupt to unblock a high priority task to do the processing).


RE: Example: LPC1343+ FreeRTOS + USB example

Posted by Don Williams on July 16, 2011
Thks Richard ...your suggestion is understood as mandatory ....my questions are more philosophical ....does the buffering provide any fifo operation ...saving the say "Task_read" or "Task_write" tasks hanging around ? I would like to save as much time as possible on the time demands of the USB interface ...this is a control application and feedback phase delay will be critical .... the USB is in the path of the primary (low freq) loop ...ie the outer loop..
The SIE engine converting serial to parrallel..does it have any "buffer full" or somesuch ...the SIE run any DMA on the memory is implicit in this question and maybe it doesnt .... I must read this stuff ....and float a rough spec with you ...whaddya reckon ? You can add some requirements along thiese lines now if you like with suggestions...it must be HID/Interrupt and of course a "device" implementation..

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists