Anyway, one result is an ADC demo that got out of necessity a little more polished than planned.
- Controls LED brightness with input 1 (the one closest to the SD card). The signal pin faces the edge of the board.
- Dumps all 16 channels through USB. Set up virtual com port for the 2nd USB interface, open Teraterm and connect with default settings (9600 baud, 8 bits, 1 stop bit)
- There is some information out there regarding control of this ADC that I find questionable, after reading the data sheet (It states explicitly that there are no timing requirements between falling edges of CS and CLK so they may change in the same cycle and the whole control logic simplifies greatly)
- ADCs run at 50 % of maximum throughput, that is, they take turns. 8 frames are captured in one shot.
- The data sheet shows 10 bits even though it’s an 8-bit ADC. The implementation picks the correct ones, others are apparently zero (edit: no they are not – you get 10 bits of data out of the ADC)