Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Check first the schedulability if the following list of tasks table [ [ Task , Period ( T _ ( i ) ( ms
Check first the schedulability if the following list of tasks
tableTaskPeriod TimsComputation time CimsPriority,Utilisation UaLowbcHigh
The slowest task is a UART task where numbers should be sent to the terminal of the host computer to be monitored.
Define a global array of slze to be used as a common memory resource between the tasks.
it is required to implement a multitask RT embedded system on a single processor
Arduino on which FreeRTOS OS should be running. The list
of task with their priorities should be executed as shown in the table below.
The fastest task ie task c generate a sequence of random numbers you may benefit from the
example of code snippet given below The numbers should be passed to the task b using a
Mutexe so that no other task can change the global array before filling it completely by the task c In task b the average will be found and passed to task a through another global array of size two.
The task a then sends the two average temperatures to the terminal using the UART for monitoring.
Along with this operation the task should toggle the green LED on the board each time the
task is executed.
For each one of the tasks b and c define a GPIO output to show the start and the end of the task
execution as follows. When the task starts to execute the GPIO is SET and when the execution is
finished the GPIO is RESET. This will help with the use of an oscilloscope to observe the different
task execution times Ci
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started