- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need to share an external analog port to ADC and to IDAC. I try to do this via two analog mux so I can control the purpose of the port (read analog voltage or write current to the port). Cascading of two mux give me an error :
Error: apr.M0032: Net "Net_12212" is connected to an analog mux but is not connected to another component. (App=cydsfit)
How can I solve the issue of sharing the analog port?
Thanks,
Dima
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dima,
I said in my previous post:
"In theory, you should be able to cascade Amuxes. However, the Amux component is performing a pre-compile check and flag the "error"."
This is a Application Build limitation with the Amux component.
I provided a workaround:
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dima,
Try to switch ports 0 and 1 in AMux_in_out, or make a default port 1. If default port is 0, the other Mux is not connected to physical terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Switching between the two AMux ports didn't fixed the error.
In addition I didn't find how to set default amux port, so I used API commnads:
AMux_In_Out_Start();
AMux_Select(1);
Still didn't fixed the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dima,
I said in my previous post:
"In theory, you should be able to cascade Amuxes. However, the Amux component is performing a pre-compile check and flag the "error"."
This is a Application Build limitation with the Amux component.
I provided a workaround:
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dima,
In theory, you should be able to cascade Amuxes. However, the Amux component is performing a pre-compile check and flag the "error".
Here's a suggestion: Get rid of "Amux_in_out" and connect the IDAC output directly to the "CH4_VOLT_READ" and the input to "Amux". See pic.
To emulate the "Amux_in_out", Stop the IDAC component before the read. This should force the IDAC output to high impedance.
"Engineering is an Art. The Art of Compromise."