openpcd/openpcd/piccsim-todo.txt @ master
1 | 5eaebce5 | (no author) | - code to control digital potentiometers via SPI [MM] |
---|---|---|---|
2 | - chip select not SPI CS |
||
3 | |||
4 | - idea: use comparator to determine voltage range, then reconfigure amplifier |
||
5 | - later |
||
6 | |||
7 | - problem: capacitance of digital poti |
||
8 | - idea 1: |
||
9 | - idea 2: logarithmic amplifier using transistor |
||
10 | |||
11 | - ADC driver |
||
12 | - core [MM] |
||
13 | - trigger function (we want to read all values ASAP) |
||
14 | - callback function (once new values are available) |
||
15 | - init function (initialize ADC) |
||
16 | - USB integration [HW] |
||
17 | - simple READ_ADC command |
||
18 | - one reply packet with all ADC channels |
||
19 | |||
20 | - OS timer |
||
21 | - how often? |
||
22 | |||
23 | - 'load modulation' driver |
||
24 | - set PA2/PA3 to binary 0..3 |
||
25 | |||
26 | - add IO definitions for |
||
27 | - PLL INHIBIT low |
||
28 | - SPI_SS1_GAIN |
||
29 | - SPI_SS2_DATA_THRESHOLD |
||
30 | - BOOTLDR |
||
31 | |||
32 | - sampled data continuous output into file / stdout |
||
33 | - trigger sampling by raising/falling edge (configurable) |
||
34 | - sample only one buffer |