refmux in psoc-4

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chmoc_1567941
Level 4
Level 4

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???

0 Likes
10 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

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, ..."

   

   

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
chmoc_1567941
Level 4
Level 4

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.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
chmoc_1567941
Level 4
Level 4

i tried also compare function still i got 2.6 highest voltage at 65500 PWM.

   

i attached my project can you tell me where i made mistake???

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

See attached project...

   

 

   

Bob

0 Likes
chmoc_1567941
Level 4
Level 4

Thanks bob,

   

So this is give me 0 to 5V???

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
chmoc_1567941
Level 4
Level 4

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??

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes