Highres DAC in P4200?

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

cross mob
Anonymous
Not applicable

Hi all,

   

I have tried to implement this in a P4200 Kit, but with no success.

   

http://www.cypress.com/file/136326/download

   

Question, is it possible with a PSoC4? If yes, how?

   

Thanks

   

Franz

0 Likes
10 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received
        The document says for Psoc 3 and 5. So it will not work with the Psoc 4 . There are other devices that are for the Psoc 5 only. I suppose you added the library for these components.   
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Franz!

   

Opposed to Odissey1's post, the PSoC4 has got DACs. Implemented are a 7-bit and an 8-bit IDAC which have got current outputs. With a simple resistor you can build a (voltage)  DAC, but the resolution will not be more than 8 bit.

   

As suggested, a PWM could be a working solution. What exactly do you need the DAC for?

   

 

   

Bob

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        OK, my bad, that was a new year party aftermath... post removed   
0 Likes
Anonymous
Not applicable

Yes, the 4200 has a DAC;)
But 8 Bit is Arduino 8 Bit MCU Level...
I need more resolution for a dummy load, minimum 11 Bit.
Now I try with PWM. I know there is the 5LP, but is has it price.

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

The DAC of the PSoC5 is the same: 8 bit, not more!

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Don't forget the DVDAC of the 5LP, 12 Bit dithered...
It works, just now tested.
PWM with 4200 in 12 Bit works also, it needs a 2 pole LPF, 4.8V and now 2mV ripple, thats ok. But now I need a very stable VDD.
 

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

Look at this video as an explanation.

   

When in need of a DMA solution as the DVDAC needs, keep in mind that the PSoC4-M has got DMA.

   

 

   

Bob

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

You could put the two PSoC 4 iDACs in parallel to get more resolution, although your INL and DNL will be the same.

0 Likes
Anonymous
Not applicable

Ok, but how?
I tried this also and had no more then 8 Bit resolution...

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

One DAC is a 7-bit, the other is 8 bit. I question if you can increase the precision to more than 10 bit.

   

I would try using a PSoC4-M and the dithered VDAC method

   

 

   

Bob

0 Likes