ΣSigmaStudio Ask AI Русский Log in

I2C address for ADAU1761

SigmaDSP & SigmaStudio hosjel Nov 24, 2014 00:00 6 replies Original on forum ↗
Subscribe
hosjel Question
Nov 24, 2014 00:00

Hi

Could you please tell me, what is the I2c slave addresse of ADAU1761? Is it 0x70 or 0x38?

Thanks

Audio Signal Processors

SigmaDSP Audio Processors

adau1761

JohnTo Reply
Nov 24, 2014 00:00

Hello Hossein,

The address depends on how the ADDR0 and ADDR1 pins are hardwired per Table 21 in the datasheet:

For the EVAL-ADAU1761 eval board, the default address is 0x70 (which assumes ADDR1 and ADDR0 are tied low).

-JT

10aba4de8797818e59d725eaf4d85e7d.png
10aba4de8797818e59d725eaf4d85e7d.png
10aba4de8797818e59d725eaf4d85e7d.png-561x95.png
10aba4de8797818e59d725eaf4d85e7d.png-561x95.png
ef6c10e1daaceaa0cfc7f67b0af3ca07.png
ef6c10e1daaceaa0cfc7f67b0af3ca07.png
ef6c10e1daaceaa0cfc7f67b0af3ca07.png-277x191.png
ef6c10e1daaceaa0cfc7f67b0af3ca07.png-277x191.png
hosjel Reply
Nov 27, 2014 00:00

Thank you John

hosjel Reply
Nov 27, 2014 00:00

Hi

According to table 21, Bit 1 is equal to one. it is possible that Bit 1 is equal to zero?

e6e88982688da93ffd972cc86d7e4f64.png
e6e88982688da93ffd972cc86d7e4f64.png
e6e88982688da93ffd972cc86d7e4f64.png-561x95.png
e6e88982688da93ffd972cc86d7e4f64.png-561x95.png
hosjel Reply
Nov 27, 2014 00:00

Hi

I have connected ADDR1 and ADDRo to GND, and I would like to write to some dsp registers. It means that the address of DSP might be 0x70.

I get NACK when I am using 0x70 as dsp address, but the dsp is responsed when I used 0x38 as dsp address.

I am a bit confused! Could anyone tell me what is going on?

Thanks

JohnTo Reply
Dec 1, 2014 00:00

Hi Hossein,

(This is an edit of my previous response, please disregard that one)

I apologize for the delay with the US Thanksgiving Holiday last week.

Table 21 described in the datasheet would need to be matched up to the HW configuration I2C address option in SigmaStudio when you to connect the USBi to the target.

To verify, I connected up a logic analyzer to the USBi's I2C signals connected to the EVAL-ADAU1x61 eval board and also see address "0x38" is read/interpreted by the logic analyzer. However, if you look closely, you will see that the address byte data relative to the I2C clocks is 0 1 1 1 0 0 0 0 for I2C writes, which matches table 23 and figure 49 in the datasheet.

Can you verify the I2C data on the bus to make sure it matches this format as 0x70 (for a device with ADDR0 and ADDR1 tied to ground)? Perhaps it could be that your particular microcontroller interprets the I2C address byte as 0x38 (shifted then 1 bit to the left) and combined with the read/write bit "0" prior to transmitting the data to the ADAU1761? My analyzer seems to remove the R/_W bit and display the address as 0x38, but the data on the bus is displayed as 0x70.

-JT

dbedfd72e8554ee0fe33863d6e6d1751.png
dbedfd72e8554ee0fe33863d6e6d1751.png
dbedfd72e8554ee0fe33863d6e6d1751.png-549x513.png
dbedfd72e8554ee0fe33863d6e6d1751.png-549x513.png
07da38d0906dc6bb0b7d7c222294cde4.png
07da38d0906dc6bb0b7d7c222294cde4.png
07da38d0906dc6bb0b7d7c222294cde4.png-620x119.png
07da38d0906dc6bb0b7d7c222294cde4.png-620x119.png
5c280ecd06386fb83c78c82947a27103.png
5c280ecd06386fb83c78c82947a27103.png
5c280ecd06386fb83c78c82947a27103.png-431x143.png
5c280ecd06386fb83c78c82947a27103.png-431x143.png
hosjel Reply
Dec 2, 2014 00:00

Hi John

I hope you had a very happy thanksgiving holiday.

Thank you for the explanation. I will take a look into my microcontroller datasheed.

Br

Hossein