AnsweredAssumed Answered

AD5732 not responding

Question asked by t.stern on May 16, 2014
Latest reply on May 19, 2014 by t.stern

I'm working on making this thing work for the last couple of days but nothing helps. I double and triple checked the electrical connections and I am 100% positive they are OK.

 

My host MCU is an Atmel 8bit.

 

My send "word" function looks like so:

 

CS_LOW

spi_send_byte(data1);

spi_send_byte(data2);

spi_send_byte(data3);

CS_HIGH

LDAC_LOW

_delay_ms(1);

LDAC_HIGH

CS_HIGH

 

CS is typed to the SYNC pin, LDAC -> LDAC.

 

Following data words were sent (in this order):

dac_send_word(0b00001100,0b00000000,0b00000101); -- set range

dac_send_word(0b00010000,0b00000000,0b00010101); -- power control

dac_send_word(0b00000100,0b11111111,0b11111110); -- dac register

dac_send_word(0b00011101,0b00000000,0b00000000); -- control register


If someone can find a fundamental flaw in this I would like to hear! Thanks!

Outcomes