PSoC5 System Exceptions

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

I've been taking some time over the past week to play around and get familiar with the PSoC development kit with the PSoC5 module and I must first off say that it's been pretty simple to get around to testing out a lot of the features as well as play around with some of the demo projects.  

   

The thing that I'm struggling with now is trying to port some of my existing Cortex-M3 core code onto this micro (specifically the CY8C55XX family).  There isn't an official FreeRTOS port available that I'm aware of yet so I'm doing what I can get to get that OS off the ground (since my entire company's current firmware development is based on that).  One of the primary requirements of FreeRTOS for the M3 core is the use of the SVC, PendSV, and SysTick exceptions for some of the core functionality.  What I really could use some insight into is how to implement handlers and initialize the interrupts in a way that works well with PSoC creator.  

   

Any input that can be offered would be appreciated.  

   

Thanks and regards,

   

Joe

0 Likes
1 Reply
Anonymous
Not applicable

 To follow up, I did manage to get a very basic FreeRTOS project up and running (demo can be downloaded here : http://interactive.freertos.org/entries/211156-cypress-cy8c55xx-family-demo-project). 

   

 

   

With regards to system exceptions there are a number of functions in the CyLib.c file that allow for the setting and configuration of both the system and standard interrupt handlers.  

   

 

   

Regards,

   

Joe

0 Likes