The bi-directional pins are used to drive a charliplexed 8*7 LED display. A SPI serial connection is used to set the values in a register map. Auxilary functions are implemented, space/time permitting, ex: LFSR, PWM, freqency counting, ultrasonic distance sensing
Use SPI to read/write values to the register map, observe the output on the LEDs and/or in the serial response. CS active low SPI MODE 0 SPI_CLK <= SYS_CLK/2 Most signigicant bit is exchanged first
Charlielexed 7*8 LED display
# | Input | Output | Bidirectional |
---|---|---|---|
0 | CS | ASIC_OUT_0 | MAT0 |
1 | SCLK | ASIC_OUT_1 | MAT1 |
2 | MOSI | ASIC_OUT_2 | MAT2 |
3 | TRIGGER | ASIC_OUT_3 | MAT3 |
4 | ASIC_IN_0 | ASIC_OUT_4 | MAT4 |
5 | ASIC_IN_1 | ASIC_OUT_5 | MAT5 |
6 | ASIC_IN_2 | ASIC_OUT_6 | MAT6 |
7 | ASIC_IN_3 | MISO | MAT7 |