171 SPI Flash State Machine

171 : 0b 010 101 011 : SPI Flash State Machine

Select Project 1 2 3 4 5 6 7 8 9 ON SW2
  • Author: Greg Steiert
  • Description: Implements a state machine stored in an external SPI flash
  • GitHub repository
  • Wokwi project
  • Extra docs
  • Clock: 0 Hz
  • External hardware: SPI Flash with 0x03 read command and 24bit address

picture

How it works

Inputs and current state are shifted into a SPI flash to look up the next state and outputs

How to test

Connect a SPI flash device loaded with state machine values

IO

# Input Output
0 clock cs
1 reset dout
2 din out0
3 in0 out1
4 in1 out2
5 in2 out3
6 in3 out4
7 in4 out5