I'm assuming you are referring to the ADC_SAR_Seq component. It is a SAR ADC with a sequencing analog mux in the front end.
If you are, in "Free-Running" Sample mode, it is designed to sequence each channel configured at the configured sample rate then switch to the next higher channel.
Once all the channels are sampled you can
- Place an ISR on the "eoc" output and have the ISR move the data from the channels into a buffer.
- Poll the ADC_SAR_Seq_IsEndConversion() API call for a end of conversion completion.
Once the conversion is complete, you use the ADC_SAR_Seq_GetResult16(chan) API call where chan is the channel you want to read the ADC count data.
Note: With this component, you can ONLY place Analog input pins directly on the mux inputs. Any other analog routing will cause a component build error.
PS: Yes. You can "roll your own" ADC with an analog mux frontend. This requires that you are responsible for switching the mux and starting the next sample conversion.
Thanks for the reply. I was talking about the component named "ADC DelSig"
I got an answer from my teaching team that the embedded Mux is used by
the ADC to select things for itself (the type of entry for example )
Have a very nice day
Le lun. 4 mai 2020 à 06:25, LePo_1062026 <firstname.lastname@example.org> a
Cypress Developer Community
ADC_DelSig Embedded AMux
reply from LePo_1062026
in *PSoC Creator & Designer Software * - View the full discussion