PSoC Demos for FreeRTOS | Cypress Semiconductor
PSoC Demos for FreeRTOS
April 02, 2014
Cypress just posted up some demos on FreeRTOS Interactive. If you are thinking of trying out FreeRTOS I think these are a good place to start. There are four packages to choose from - two for PSoC 4 and two for PSoC 5LP. For each device there is a package for the GNU GCC compiler and ARM MDK compiler.
The PSoC 4 packages target the CY8CKIT-042 Pioneer kit but will also work on the new CY8CKIT-049 prototyping boards (if you have a 4100 just change the device and rebuild). The demo program shows you how to use a task to periodically scan the CapSense slider and post that data to a client task that varies the brightness of the RGB LED. The program also uses an event group (with just one event) to signal button presses. The client task uses that information to change the LED color.
For the PSoC 5LP packages, which are built for the CY8CKIT-050 Developers Kit, the program is a bit more interesting because there is an LCD on the board. The main task displays a menu of different demos on the LCD. You can scroll through them using the CapSense slider and start/stop them with the on-board buttons. Each of the five demos is an individual task that shows off RTOS features like events and message queues.
I hope some of you are interested enough to give these demos a try. They come with a comprehensive user guide and a document describing the PSoC design with all the component settings and APIs. If you have questions or suggestions, ask them on the site - or post a comment here - and I'll try to answer.
This is a re-post. This blog was originally posted by Mark Saunders on the Cypress ARM Community blog.