- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am having problems getting the muxes to work on a CY8C29466-24PXI. I need to use the diff amps to measure current across a resistor and the pga to measure straight voltages. My intent is to look at ports 0,1,6,7 and 2 by using a ref 8 mux., running it through and sendit it to the a to d. 3, 4 and 2 are analog outputs. Also can port 2 from the diff amp be read directly into the pga by acessing port 2 via AMUX8_1, selecting port 2 ?
I also intend to feed the positive inputs of the diff amp by amux4_1 and amux4_2.
Also, how do I clear the blue wires back to default. Are these interconnects screwing up the a mux operation? Who wins the routing specified in the scematic or the muxes ?
Here is expample code of selecting the mux mux8:
AMUX8_1_InputSelect(AMUX8_1_PORT0_6);
Pictures of analog portion attached.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May be a circuit diagram with the external components would help us to understand..
you can also upload you project here so people can look as wekk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
“File” Designer
“Archive Project”
Use Firefox or IE, not chrome to post.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are four (4) 4-input Analog Column Input Muxes numbered from 0 to 3.
Two of those (0 &1 or 2 &3) can be combined to form (with the help of the Analog Column Input Select) two 8-bit muxes whose outputs are the two mentioned Analog Column Input Selects. So the placing of the analog components used is crucial, so that the muxes can connect to the requred inputs.
The "blue lines" just indicate (when bold) the connection selected initially without selecting the appropiate mux-connection programmatically. You may ignore the lines when you program the muxes.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob and others.
I am attaching a schematic of what I am trying to do as suggested along with some code for the mux selection.
In my previous post I showed how the muxes are configured. Hopefully this schematic will make things more clear. In particular I am interest if there are anhy fundamental architectural errors.
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found out my problem with MUX8. You can't use it in column zero. I was a little confused by the data sheet which seemed to indicate it can only go in columns 0 and 1. It actually has to go in columns 1 and 2. I just moved my pga to column 1 and life is good..
Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great that it is running!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
I missed you post and figured it out. You were really quick.
Thanks very very much for helping me!!!
Have a great weekend.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are always welcome!
Bob