Other Parts Discussed in Thread: AFE031
Hi,
I am trying to interface the AFE031 via SPI to control the DAC. I can write and read from the registers and So far according to the logic analyzer and the obtained values I am doing it correct.
I can read and write information on the registers, I have setted:
MSB LSB
Enable1 Register - > - - 1 1 0 0 1 1
Gain Select Register -> - - 1 1 0 0 0 0
Enable2 Register -> - - - - 1 1 1 0
Control1 Register -> - - - - 0 1 0 1
Control2 Register -> Default
RESET Register -> Default
I took care on the sequence to write at DAC:
• Set CS low.
• Set the DAC pin (pin 7) high.
• Write a 10-bit word to DIN. The DAC register is left-justified and truncates more than 10 bits.
• Updates the DAC output by driving CS high.
but observing the output of the DAC on pin 14 after it has gone through the Tx_PGA is almost random.
when I read the Control1 Register the following sequence appears: 0 0 0 1 0 1 0 1 indicating that the TX block is not ready For transmission.
suggestions about which is my problem and how to solve it?
