- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to route a reference voltage to an analog multiplexer as shown below but PSOC creator is throwing errors.
Is this at all possible? If so, how?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surfer,
I've looked at the Cypress info available. In general, the SIO pins (Port 12) are very versatile but have the limitation that they don't support analog input and indirectly support analog output.
I've included a snippet of a circuit that might be what you intended. It requires one more pin to achieve.
In this configuration, vo_ref puts out a vref-limited digital output (<1.024V) with about 1mA drive outside the PSoC. vo_meas measures the resultant voltage (1.024V -0.5V [depending on the load on vo_ref]).
Hopefully this will address your design issue.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Described in datasheet: "Currently, only the GPIOs can be multiplexed with this multiplexer."
The software analog mux can be used for routing the vref signals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surfer,
Can you supply some info about your use of the pin 12.2 called vo_meas?
It appears you are trying to use this pin in SIO mode. According to https://www.cypress.com/documentation/application-notes/an60580-sio-tips-and-tricks-psoc-3-psoc-5lp
analog functions are not supported if you are using the vref input. This input is intended for thresholding for digital inputs or outputs.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surfer,
I've looked at the Cypress info available. In general, the SIO pins (Port 12) are very versatile but have the limitation that they don't support analog input and indirectly support analog output.
I've included a snippet of a circuit that might be what you intended. It requires one more pin to achieve.
In this configuration, vo_ref puts out a vref-limited digital output (<1.024V) with about 1mA drive outside the PSoC. vo_meas measures the resultant voltage (1.024V -0.5V [depending on the load on vo_ref]).
Hopefully this will address your design issue.
Len
"Engineering is an Art. The Art of Compromise."