- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Using an ADC_DelSig with the CY8CKIT-059, I've noticed that in the ADC_DelSig there was an embedded Mux (that I could see in the main.c of PSoC Creator and on the datasheet of the ADC) But nowhere have I seen a way to use it. I know I can "just" use an AMux on the outside of the ADC, but my curiosity was peaked
If anyone can help me and knows how it works
Have a very nice day
A. Glibert
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Tags:
- analog mux
- delsig adc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Len
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.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Len
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.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
A. Glibert
Le lun. 4 mai 2020 à 06:25, LePo_1062026 <community-manager@cypress.com> a
écrit :
<http://www.cypress.com>
Cypress Developer Community
<https://community.cypress.com/?et=watches.email.thread>
ADC_DelSig Embedded AMux
reply from LePo_1062026
<https://community.cypress.com/people/LePo_1062026?et=watches.email.thread>
in *PSoC Creator & Designer Software * - View the full discussion
<https://community.cypress.com/message/233498?et=watches.email.thread#233498>