Answered step by step
Verified Expert Solution
Link Copied!
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
\table[[Task,Period (T_(i)(ms)),Computation time (C_(i)ms),Priority,Utilisation (U)],[a,1000,1,1(Low),0.001],[b,500,1,2,0.002],[c,10,1,3(High),0.1]]
The slowest task is a UART task where 2 numbers should be sent to the terminal of the host computer to be monitored.
Define a global array of slze 50 to be used as a common memory resource between the tasks.
it is required to implement a multi-task 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 i.e. task c generate a sequence of 50 random numbers (you may benefit from the
example of code snippet given below ). The 50 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students explore these related Databases questions