Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

AD5732 not responding

$
0
0

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!


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>