A small SPI slave device, receives 6-bit messages to display the lower 4-bits on the 7-segment display on the TinyTapeout Carrier board
SCLK
, SS
and MOSI
is provided through the inputs clk
, ui[0]
and ui[1]
respectively.01
or 10
.01
causes the decimal point (uo[7]
) to turn on and display the next 4 bits on the 7-segment display.10
behaves exactly the same, just switches the decimal point off.11
or 00
), the decimal point switches on, with the rest of the display off.# | Input | Output | Bidirectional |
---|---|---|---|
0 | SS | Segment A | |
1 | MOSI | Segment B | |
2 | Segment C | ||
3 | Segment D | ||
4 | Segment E | ||
5 | Segment F | ||
6 | Segment G | ||
7 | SCLK | Segment DP |