Hi,
I post a few weeks ago another problem that I had with the DAC1220, and finally I understand how it works, but I now have problems with the read operations, I try to read the DIR, after I sent a code to the DAC, but I couldn't, I used exactly the same procedure like in a write operation, because in the datasheet, in the figure 10, the SDIO line have the same procedure, I mean the figure where is t10,t9 and t15. in page 10 of the DAC1220 datasheet. So what can be the problem?, like I said, I used the same set of instructions like in a write operation, except that I configurated my microcontroller like an input, in the SPI protocol, I used the ATmega16 from atmel corporation and a LCD to see the values in the OCR and FCR. Please I need a explanation.
And one more thing, I want to read the OCR, FCR after the self calibration, so this way I can know the value codes which the DAC1220 fill up these two registers, and later I can make a manual calibration making a write operation in the OCR and FCR, all this, because I want to know if after this, the DAC have the same initial value, for example let's say after the self calibration the OCR have $4565FA and the FCR have $F2CD34, and with the code for 15 mv and a Vref of 2.5 v, I obtain 13.4 mv, and after other self calibration the OCR have $4565FF and the FCR have $F2CD4F, and with the code for 15 mv, I obtain 14.6 mv. So when I turn off my device, controlled by the microcontroller, and I turn on again, and I sent to the OCR $4565FF and to the FCR $F2CD4F, I will obtain again 14.6 mv???. Answer me these doubts soon, please. I'm hurry, and I need the information. Thanks again to TI. I hope you can help me.
Regards