389iaB4Yg6Xn said:In any case from my understanding of datasheet I should send 0x1802 to enable SPI to RDAC writing and the actually write to RDAC, like 0x0500. I am unsure, if I should clock out SDO response after each of these commands or not (very unclear) and if I should do anything else.
PeterWFry said:I understand you finally solved the problem.
Do you mean the clock has to be low when SYNC goes low, or what? I ask because, like you, I can't get the potentiometer RDAC to respond to clocks set up according to the data sheet. I have an AD5292 demo board which works, and I have even tried to copy exactly their waveforms; but still get no result! (On the demo board SYNC goes low while SCLK is high.)
Has anybody had any experience using Analog Devices AD5292 digital potentiometer with SPI. I must say that it's datasheet is substandard and doesn't clearly explain this setup (having read hundreds of datasheets myself in my carrer).
I would need info about correct initialization words over SPI to change it's resistance.
Any experience with similar Analog Devices digital potentiometer would help as well.
I experienced the same problem, and apparently the chip never was able to update the wiper position.
Reading back data by read command, after write wiper was ok, but still no changes.
All was apparently correct, after I spent about 6 hours to change all what possible and become frustrating I have read again carefully the datasheet....
The solution was quite simple!
First the correct mode of SPI needs to be actuated to follow datasheet
(for instance must be specified that the spi interface accept several modes and not so critical):
1) CLOCK MUST BE ->LOW IDLE
2) CLOCK SELECT ->FALLING EDGE
3) BE SURE THAT /SYNC PIN MUST BE DRIVEN LOW BEFORE CLOCK STARTS (FROM LOW IDLE TO HIGH)
Now the simple one :
4) READ CAREFULLY TABLE 12 of datasheet that is page 23 if Rev.A document
The story is : SEND FIRST HEX 1803 to enable wiper position
Then if want update wiper : SEND COMMAND 1 (TABLE 11)
Then if want verify : SEND COMMAND 7
Conclusion
Before wiper and / or 20TP memory may be updated HEX 1803 must be sended to DAC register, then this DAC works perfectly!.
*PS (I Hope must be helpful)
Aldo Ferraro - CONSULTANT
ELDEV ELETTRONICA
MILANO
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?