- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have been using psoc-1.there is a reference voltage selection.but i cant find it in psoc-4.
can anyone tell me where it is available in psoc-creator software???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I understand your question correctly, you need to drop a "reference" (Vref) on schematic and select optional voltage from the list: "1.024V, Vdd/2, ..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need a reference for the ADC, it is selectable in the ADC configuration dialog.
You may use a DAC to generate your own analog reference.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks bob and odissey1,
can i control pwm voltage with refmux??
because i got only 0 to 2 .5 volts between 0 to 65535 PWM Period.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can i control pwm voltage with refmux?? No.
The PWM is pure digital. Do not change the period, but change the compare value between 1 and the period value. That will give you a 0 to 100% duty cycle.
Bob
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks bob,
So this is give me 0 to 5V???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The output to the LED is a square wave which you may convert with an R-C ladder to an analog voltage. Remember that you cannot control an LED with a voltage. In this case it is switched on/off at very high frequency with varying duty-cycle.
When you need a REAL voltage then you should use the IDAC and a resistor. This configuration is not able to deliver much current, but it is precise.
When you tell us what you want to perform exactly, we might give you some suggestions.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks bob for your fast responce,
see attached data sheet. its a XTR117. i want it in Temperature transmitter as 4-20mA loop. but i thought psoc-4 is very low power consumption. but when i connect with XTR117 than psoc-4 consume 12 mA power consumption. i want only 3.8mA max power consumption from psoc4 side.
here i have to also sense rtd temperature and thermocouple voltage with psoc-4 parallely.
is it posible with psoc-4 to do this process??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See this application note for power reduction. Debugging uses quite a lot of mA.
For sensing several different analog sensors, look at the components under "Temperature management" in the component catalog of Creator.
Bob