- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a project with 2 x Differential analog input requirement and 2 x Single ended analog input.
The SAR SEQ component is set up as differential input with internal reference for the differential inputs ok.
What is usually done to set the second input for the single ended measurement? I tried connecting to VSSA ref but the program cmplained about vdac output not connected for some reason.
I don't suppose I could put a couple of Digital LOW components on those pins to reference to ground?
Really don't want to waste 2 IO pins to get ground refs.
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaHu,
You can use GrC recommendation but you would have to use a SAR + a mux where you control the mux in your code.
The SEQ SAR as BrRu indicated provides compile/build errors when you connect the inputs to anything but a analog pin.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Drop in a VRef object and change it's reference to GND or whatever you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I did this, the project would not compile. I got a vdac not connected error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the sequencing SAR ADC uses the hardware multiplexer that only allows input connections to pins so you will have to connect your two single ended inputs as differential with the second pin going to ground for each pair.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaHu,
You can use GrC recommendation but you would have to use a SAR + a mux where you control the mux in your code.
The SEQ SAR as BrRu indicated provides compile/build errors when you connect the inputs to anything but a analog pin.
Len
"Engineering is an Art. The Art of Compromise."