a low pin count sniffer for icestick
Turn the ice40 stick into a LPC sniffer.
iceprog lpc_sniffer.bin
./parse/read_serial.py /dev/ttyUSB1
VCC 3.3|NC 1
GND 2
lpc_clock 3
lpc_ad[0] 4
lpc_ad[1] 5
lpc_ad[2] 6
lpc_ad[3] 7
lpc_frame 8
lpc_reset 9
For orientation: the usb port points south:
green in the middle: overflow_led
overflow_led when internal buffer is full. No more LPC frames are decoded
The LPC sniffer will write out frames onto the second uart of FTDI with 921600 baud.
An error code is decoded in 4 bits
A LPC frame will:
The internal memory is used as 48bit addressable memory. 48 bit is exact one lpc frame
The LPC sniffer is using an internal buffer. When the internal buffer is full, new frames will be discarded. The green LED in the middle will turn on. The internal buffer can save up to 2**10 lpc frames (1024).