I selected the MCP3208, since it's available for only 2.75 EUR at Reichelt. It offers a resolution of 12bit.
The driver development was straightforward, and I must say that I'm very satisfied with the results!

The ADC is accessed via SPI (e.g. J19 of the MBHP_CORE_LPC17 module).
A 74HC595 has been added and is accessed via SPI as well, so that no additional IO pins of the microcontroller have to be sacrificed for the MUX control.
By using a nice trick, only a single chip select line is required to access both serial devices.
This makes the solution scalable: multiple MBHP_AINSER64 modules can be accessed from a single core. The driver is prepared for 2 modules (= 128 pots), but scanning even more pots is no problem as long as dedicated uC outputs for chip selects are available.
Alternatively, a 3-to-8 MUX could be used for accessing 8 modules via 3 output pins! -> for scanning 512 pots/faders ;-)
Also the accuracy is quite nice: if directly powered from the MBHP_CORE_LPC17 module, values are jittering by only ca. +/-1..3 LSBs
For comparison: the ADCs of STM32 and LPC17 are jittering by +/- 16, which means that even if the conversion result is converted to 7bit resolution there is a risk for unstable values.
If the module is externally powered, the jitter is +/- 1 LSB!
Means: 64 pots can be sampled with ca. 11bit accuracy - with a DIY friendly design!
Here the first applications:
Tutorial (self-explaining): http://svnmios.midib...b_ainser_muxed/
Jitter Monitor (for testing purposes): http://svnmios.midib...ser_jitter_mon/
Driver: http://svnmios.midib...modules/ainser/
Schematic: http://www.ucapps.de...hp_ainser64.pdf
PCB: this time I will create the layout by myself, because I need some practice ;)
Update: PCB up & running -> new website http://www.ucapps.de...p_ainser64.html
Best Regards, Thorsten.








