I have tried to implement this in a P4200 Kit, but with no success.
Question, is it possible with a PSoC4? If yes, how?
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.
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?
OK, my bad, that was a new year party aftermath... post removed
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.
The DAC of the PSoC5 is the same: 8 bit, not more!
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.
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.
You could put the two PSoC 4 iDACs in parallel to get more resolution, although your INL and DNL will be the same.
Ok, but how?
I tried this also and had no more then 8 Bit resolution...
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