Hi
I have some problems using the TLV5637, is this the correct forum for DACs?
Michael
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I have some problems using the TLV5637, is this the correct forum for DACs?
Michael
Hi Michael,
You can post your DAC questions here, or in the Precision Data Converters forum.
What problems are you having with this device? Can you share a schematic and/or oscilloscope captures of the behavior you are observing?
Michael,
I have not worked with this DAC in specific, but I have worked with very similar devices.
So in this scenario, you want to:
In order to do this, you would have to take a look at the Register Select Bits, in page 11 of the TLV5637 datasheet.
First you would write the DAC B data to BUFFER (R1 R2 = 01). Then you would Write data to DAC A and update DAC B with BUFFER content (R1 R2 = 10).
It would look like this:
You can repeat this over and over, while changing the DAC data that you are writing every time.
Hopefully this is clear enough, this is a very old device and the interface can be a little tricky sometimes. If you still have any questions please do let me know.
Michael Laajanen said:First you say R1 R2, but we only have R0 R1? Is R2 R1 and R1 R0?
Apologies. It is as you say. I meant R1 R0.
Michael Laajanen said:Second DAC A data = 0x100, this is a 10 bit dac with the 10 bits arranged D11-D2!
I used 0x100, because there are 12 new data bits in the SPI interface. Where the left most 10-bits are real data and the right most 2-bits are always zeroes. This means that the maximum possible code is 0xFFC or 1111 1111 1100.
I hope I cleared the confusion here.
Hello Eugenio,
I hope that you can bare with me alittle longer :)
Let me better explain the issues I have and what I need to do.
I have two cases:
1. Setting DAC A to a fixed value, then setting DAC B over and over again.
2. Setting DAC B to a fixed value, then setting DAC A over and over again.
So, I do not want to send down the value for B and A in order to get B out only.
For case 1.
When I set DAC A everything works fine, then I switch to B I get no changes on B the first time I write to CH B but after that CH B works so I need to
perform dummy write.
I write as below to the DAC
0xC000
0xCxxx DOES NOT WORK (where xxx is a 10 bit DAC value left justified two bits and the two LSB are 0, could 0xCFFD for a full swing of the DAC)
0xCxxx second write works fine
0xCxxx third write works fine
The same for case 2.
0xD000
0x4xxx DOESN not work
0x4xxx works
0x4xxx works
So what have I missunderstood
cheers
Michael