If you do plan on analog as well I was able to get this PSOC to route to 48
analog channels. Mux feeds 12 bit SAR. Note IDAC also can be used to force
current out of pin for force-test pin status. IDAC can be either source or sink
under program control.
Also used was a I2C slave component to transmit to your host CPUs. Note in
PSOC land a component is an onchip resource.
Design is single chip. I tried 64 channels but would not route. You might be able
to do 50+ channels, you would have to try it out. I also did not try PSOC 6 (this is
a 5LP example), which has more pins, you could try that as well.
So this would save a lot of chips, eg. many external analog muxes the alternative as well
as DAC and ADC chips you would need with your current approach.
If you decided not to use the ST parts keep in mind this chip can enable both analog
and digital on the same pin. So 5 5LP chips would do everything I think for 240 channels.
Keeping in mind 1 of the 5 could also manage possibly a SPI based LCD controller and
there are many more resources still unused on the 5LP chips like timers/counters/logic/lut/pwm......
Just a thought....
Regards, Dana.