Lecture 2 |
L10.2: FSM adaptation. Example projects: Serial transmitter, Johnson sequencer |
[16/5] |
3.5.4. Examples
3.5.4.1. Serial_transmitter
The idea of serial data transmission. Typical circuit where a FSM enumerating states as in P6 allows to solve the application.
Specifications. Planning: hardware circuit, software organisation. Development & testing.
3.5.4.2. Johnson_sequencer_mod12
The idea of start/stop button. This is another similar application where a FSM enumerating states allows solving a counter as we did in P7 plan X, this time controlled by a start/stop push-button. We use two external interrupts to detect CLK and ST/SP active edges.
Specifications. Planning : hardware circuit, software organisation. Development & testing.
3.5.4.3 Counter_BCD_1digit (plan X) solved at Lab10
3.5.4.4. Counter_mod1572 (plan Y) solved at Lab10
3.5.4.5. Traffic light controller
3.5.4.6. Stepper motor driver
Exercise: Study the Johnson_sequencer_mod12 circuit and configure inputs and outputs and disable all the interrupts not required. Draw the output_logic() truth table.