Getting Started with TI-RTOS: Chapter 7—using tasks
Description
October 6, 2019
In this video, Eric Wilbur and Scott Specker of Embedded Advantage describe the objectives, agenda, and lab goals for Chapter 7 of the Getting Started with TI-RTOS workshop.
Chapter 7 covers these topics and answers these questions:
Task Topology and Signaling
- What is the topology of a TI-RTOS Task?
- How does the signaling mechanism work to unblock a TI-RTOS Task?
- How are TI-RTOS Tasks Scheduled?
- What is a TI-RTOS Task’s group priority ranking among other thread types?
Task API
- What are the Task API and their basic uses?
- Can you describe the basic Task function calls that I might need in my application and the benefits of each?
How to Create Tasks
- How do you create a Task statically? Dynamically using the heap?
How to use Error Block
- What is Error Block and how do you use it properly?
- What happens if you use NULL instead of a properly initialized Error Bock in a MOD_create() function call?
- Is there an alternative to using Error Block?
- How does Error_IGNORE work?
Scheduling Tasks
- How are Tasks scheduled in TI-RTOS Scheduler?
- When do Tasks start running?
- Is there no Task_post()?
Scheduling Strategies
- What are the common thread scheduling models in the industry?
- Compare/Contrast the thread scheduling methods.
Lab 7A and 7B: Using Tasks
- Program Tasks to blink an LED
- Program Two Tasks to blink an LED
- How does Task_create() work?
- How do you use Task_sleep(); ?