estratos 5 Posted December 23, 2016 Share Posted December 23, 2016 I generally like the way the Energia team has integrated TI-RTOS with the traditional setup-loop structure and how new tasks are automatically added with every new setup-loop duple. However, I'd like to manage the radio of the CC1310 from a separate task, hidden from loop(). Task_construct should be the way to do this but calling this function seems to be halting the MCU somewhere in the Energia stack. I guess task management is something only allowed to the Energia stack but I wonder whether there is still a way for us to create and run new tasks apart from the ones automatically generated by Energia. Thanks for your time, Daniel. Quote Link to post Share on other sites
Rei Vilo 695 Posted December 23, 2016 Share Posted December 23, 2016 Have you had a look at the Galaxia library? See http://embeddedcomputing.weebly.com/task-library.html energia 1 Quote Link to post Share on other sites
estratos 5 Posted December 23, 2016 Author Share Posted December 23, 2016 Nope, I didn't. Is this the library being used by Energia? Do you know whether the task management is available anywhere in the Energia code? I've not been able to find any rtosSetup function in the Energia project. Thanks! Quote Link to post Share on other sites
spirilis 1,265 Posted December 24, 2016 Share Posted December 24, 2016 I thought Energia MT implicitly supported creating multiple tasks by having additional source files with different variations of the setup() and loop() functions e.g. setupRadio() and loopRadio() or similar? Quote Link to post Share on other sites
Rei Vilo 695 Posted December 24, 2016 Share Posted December 24, 2016 Play with the examples provided with the Galaxia library. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.