Writing to LTC1663 DAC

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
Tubes4sale
Posts: 7
Joined: Thu Jan 28, 2010 7:15 am

Writing to LTC1663 DAC

Post by Tubes4sale »

I try to write data to the LTC1663 DAC with de SUB 20 tool version 1.6.15
I get a error from SUB20 tool:
i2c status:48
ERROR: I2C error

0x48 SLA+R transmitted; NAK received

What does this error means ?

serg
Posts: 143
Joined: Mon Aug 31, 2009 9:17 pm

Re: Writing to LTC1663 DAC

Post by serg »

This means that your device didn't acknowledge the read transaction

Tubes4sale
Posts: 7
Joined: Thu Jan 28, 2010 7:15 am

Re: Writing to LTC1663 DAC

Post by Tubes4sale »

I have found the problem, I was using the address that SUB20 returned after a SCAN for devices.
SUB-20 returns 7E no matter what configuration a make with inputs A0, A1 and A2.
When I use the address that is stated in the data sheet from the LTC1663(9) the write to LTC1663 works fine.
The only thing a have to do for the data bytes write is switch MSB and LSB.
Why is SUB 20 returning address 7e instead of the correct address from the LTC1663?
I also have connected a DAC6576 to the I2C bus, when I do a scan I get 0 devices.
Is the SUB-20 limited in recognizing devices?

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: Writing to LTC1663 DAC

Post by xol »

HI,
What Slave address is returned by SUB-20?

Post Reply