Question: Help with ARM Code Please The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The
Help with ARM Code Please

The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The goal is to create and add a new "walk" signal for pedestrians. The normal traffic light has inputs from south and west directions only. Pedestrians have to press a switch in order to activate the "walk" signal. All input ports are interfaced to Port B while all output ports are interfaced to Ports D and E. In addition, the controller must be able to: trigger only when both edges (rising and falling) are detected, give priority to drivers from south direction (assume priority 1 for drivers from south and priority 3 for drivers from west directions), - - emergency trucks (fire trucks, ambulances, etc.) should have the highest priorities of all and - flash RED light whenever there is a power failure. a. Draw the finite state machine of the traffic controller system. (10 pts.) b. Draw the hardware circuit interface for the traffic controller system. (5 pts.) c. Write the complete interrupt based ARM code. (15 pts.) d. Modify the above finite state machine for a traffic controller that has all of the four driving directions. (5 pts.) The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The goal is to create and add a new "walk" signal for pedestrians. The normal traffic light has inputs from south and west directions only. Pedestrians have to press a switch in order to activate the "walk" signal. All input ports are interfaced to Port B while all output ports are interfaced to Ports D and E. In addition, the controller must be able to: trigger only when both edges (rising and falling) are detected, give priority to drivers from south direction (assume priority 1 for drivers from south and priority 3 for drivers from west directions), - - emergency trucks (fire trucks, ambulances, etc.) should have the highest priorities of all and - flash RED light whenever there is a power failure. a. Draw the finite state machine of the traffic controller system. (10 pts.) b. Draw the hardware circuit interface for the traffic controller system. (5 pts.) c. Write the complete interrupt based ARM code. (15 pts.) d. Modify the above finite state machine for a traffic controller that has all of the four driving directions. (5 pts.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
