Question: MSP432 Q5 Finite State Machine You will design a pacemaker using a Moore FSM. There is one input and one output. The input will be

 MSP432 Q5 Finite State Machine You will design a pacemaker using
MSP432

Q5 Finite State Machine You will design a pacemaker using a Moore FSM. There is one input and one output. The input will be high if the heart is beating on its own. The input will be low if the heart is not beating on its own. If the heart is not beating your machine should pace the heart. If the heart is beating on its own, the input will be high and your output should be low. However, if the input is low, you should pace the heart by giving a 10 ms output pulse every 1000 ms. P4.0 is output, P4.1 is input. Input Output about 1s exactly 1s exactly 10ms exactly 10ms a) Design the one input, one output finite state machine for this system. Draw the state transition graph. Use descriptive state names b) Show the C code to create the statically-allocated linked list. Implement next states as indices. Include statement(s) to place it in ROM on your microcomputer. Show the C language controller. The controller can have no conditional statements (no if, no switch, no conditional operator). Assume this is the only task that the microcomputer executes. I.e., show ALL the instructions necessary. Make the program automatically start on a RESET. You may call functions in Clock.c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!