- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've ported FreeRTOS to PSoC 4 - which really was extremely trivial. It's simply the Cortex M0 port with some configuration & glue from the PSoC 5 demo.
The attached demo app creates three tasks that toggle the red, green and blue LEDs on the PSoC 4 pioneer board at slightly different rates, resulting in a pleasing (if somewhat psychedelic) light show. Adapting this demo for your own purposes should be straightforward.
Note that because the PSoC Capsense component makes (undocumented) use of the systick timer, it's not currently possible to use FreeRTOS and the PSoC Capsense component together.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nick,
many thanks for this implementation.
Regards,
Viktor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correction: Capsense does not use SysTick; the issue was an unrelated interrupt problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm a FreeRTOS newbie so bewar with me.
Is it possible to use FreeRTOS to communicate with a usb wifi dongle by connecting the psoc4 to a usb hub?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Short answer: no.
Long answer: this would not even be possible without FreeRTOS - there won't be any software / driver support for this WiFi dongle on the PSoC (no matter which one). But you can always check the list of supported systems for your WiFi dongle, maybe you are lucky 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Nick,
Thanks for the implementation.
I am using your sample project on PSOC 4 BLE. What is the period of this counter? If it's configurable, how is it configured? I can't find anything in the design-wide resources file or by searching the code? Can we use external clock (WCO) as my tick source?
Is it possible to go sleep mode when idle?
Regards,
Nilesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My question is, in PSOC4 BLE to run on RTOS of at the same time, can run BLE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Can BLE have Free RTOS Driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Nick, i ported the RTOS demo project to my PSoC 4 BLE and it worked fine after updating the components.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Nick. It was nice to have this port to get started. I've just been assigned responsibility for PSOC4 and it was great to get this running quickly with a few updates and changes. The new Pioneer board uses different pins for the LEDs and some of the files needed updating, but all-in-all pretty painless.