- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After adding an OPAMP to the design, it is assigned as OPAMP_1 but I can't tell which one out of the 4 devices available [0:3]. I need to be able to instantiate a specific Opamp, i.e. Opamp_0 as I need to use GPIO0[1] for the opamp output. I have studied the datasheet and AppNote but they never mentioned about this. Please help.
Thanks,
Brian
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Tags:
- OPAMP selecting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
In the Analog resources select current Opamp with Right mouse button. In the popup menu select new Opamp location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Design Wide Resources page at the bottom of the window click the Analog page. It will display all analog resources, including Opamps used and their routing to external pins.
Also, by clicking an Opamp, it will display its properties in the right panel, including the Opamp number (0-3).
If using CY8CKIT-059 Prototyping board, it may be useful to refer to
KIT-059: annotation component for CY8CKIT-059 PSoC5LP Prototyping Kit ,
which helps visualize PSoC5 pins routing to the board connectors. As seen from the Figure b, the Pin_01 is directly connected to the Opamp U0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. Yes, viewing the Analog tap of the DWR I am able to tell which Opamp was instantiated. However this doesn't help me to solve my issue.
I took over the project which was designed by another engineer who left the company. I have an analog signal AA connected to pin P0[1] to be converted by the internal ADC. The design also has an internal Opamp (unity gain) to buffer the input of the ADC, and so this Opamp dedicated output pin is not used. Problem is that this Opamp was instanciated with Opamp0 which has its output connected to P0[1] which shorted out the analog signal AA. How do I tell the tool to use Opamp2 instead of Opamp0?
I wish when the designer adds an Opamp to the design, they should be able to configure this Opamp to a specific one of the available Opamp[0:4] that the processor offers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I think I learned to resolve the issue: Delete the Opamp0 from the design, then lock the signal AA to P0[1], then add a new Opamp to the design. The tool then instantiates Opamp2 instead of Opamp0 (which has the output connected to P0[1] if enabled).
Thank you all.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
In the Analog resources select current Opamp with Right mouse button. In the popup menu select new Opamp location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"In the Analog resources select current Opamp with Right mouse button. In the popup menu select new Opamp location."
This is the perfect answer to my question!!! Many thanks to odessey1!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can check the analog wiring from the "Analog" menu of PSoC Creator.
"Do not assign Vout or Vin pins of operational amplifier"
"Already assigned P0 [1: 3] with other functions"
In the above case, the automatic wiring for which build is executed will be wiring using another operational amplifier.
Regards,