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

What is the Chip Address for ADAU1761 in SPI mode?

SigmaDSP & SigmaStudio jschoen Jan 25, 2013 00:00 1 replies Original on forum ↗
Subscribe
jschoen Question
Jan 25, 2013 00:00

Trying to understand the ADAU1761 SPI mode chip address. In I2C mode, it looks like it is 0x38H. Table 22 of the data sheet suggests that the chip address is 00 followed by R/W bit, with bit 0 going out the COUT pin first. Table 23 shows Byte 0 as chip_address[6:0],R/W which almost suggests that bit 6 goes first with R/W following bit 0.

Can someone help clarify what the chip address should be and what the format is? A figure for SPI transfer similar to Figure 49 would be most helpful.

Audio Signal Processors

SigmaDSP Audio Processors

adau1761

ADIApproved Reply
Jan 29, 2013 00:00

Hello,

The chip address is zero (expressed in 7 bits), with a R/W bit at the end. This means for a read, the address byte is 0x01, and for a write, the address byte is 0x00.

chip_address[6:0] simply means the 7 bits of the chip address, which are 0000000.

R/W is either a 1 or 0.

So, you get either 00000000 for a write or 00000001 for a read.

Here are the relevant figures from the datasheet:

99058a053a639e3093d5ec7d11d6c335.jpg
99058a053a639e3093d5ec7d11d6c335.jpg
99058a053a639e3093d5ec7d11d6c335.jpg-433x75.jpg
99058a053a639e3093d5ec7d11d6c335.jpg-433x75.jpg
af5749e9cb90fcf41b56025fb07d7af8.jpg
af5749e9cb90fcf41b56025fb07d7af8.jpg
af5749e9cb90fcf41b56025fb07d7af8.jpg-450x51.jpg
af5749e9cb90fcf41b56025fb07d7af8.jpg-450x51.jpg