STM32F373CCT6 2 Channels Single ended wired together for 16 bit ADC interleaved 50 KHz to 100 KHz , Can it be done with 2 Differential channels at same speed 50KHz to 100KHz or is it stuck at 16Khz max speed in differential mode
Device STM32F373CCT648 pin
We currently using 2 single ended 16 bit SADC inputs one on SADC1 PE9 and one on SADC2 PB2.
We interleave the two 50KHz single channels using a 10uS delay between them. This uses DMA SADC transfer an interleaves the signal to achieve a 100 KHz sampling rate needed for our niche application.
The two inputs pins PE9 and PB2 are tied together to the output of our signal op amp the opamp has one output wired to both the PE9 and PB2 pins.
The single opamp has two wave forms in the same signal they are separated by an index pulse to separate the sampling into 2 bins one for the ref and one for the sample part of the waveform.
The system works great, the 100 KHz oversampling increases the resolution of the system by oversampling.
Were are making an new version of the design with a different detector sadly the SNR is lower.
We want to use two channels again of the SADC1 and SADC 2 but this time using differential mode as this increases performance common mode rejection.
This means we need 4 pins of the micro as differential requires 4 pins.
We choose PB0 & PB1 SADC1 and PE8 & PE9 SADC2
We want to wire the plus inputs together so PB0 and PE8 differential plus inputs go to the op-amps output
We will wire the - inputs to the Analogue Gnd 0V to pins PB1 and PE9
in single ended mode we run in fast mode 6Mhz SADC clock to get 50 Khz interleaved to get 100 KHz sampling rate
IN differential mode I here the Max Sampling rate is 16.3Khz is this true? Or can it run at the full 50 KHz in Differential Mode.
1) Will the differential mode only support 16.3Khz max sample rate??
Does this mean interleaved we can only get 16.3 KHz * 2 = 32.6 KHz max sampling rate
Or can they run at 50 KHz * 2 = 100 KHz they work fine in singled ended mode at this max sampling rate when interleaved.
2) is it okay electrically to tie the two minus PB1 and PE9 together to Analogue Gnd
and tie the two plus inputs together PB0 and PE8 together to the amplifiers output
This is rather a hardware question of the STM32F373CCT6 max sampling rates we can handle all the software at our end
Many thanks
Matthew King
Electronics Hardware Engineer