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

Sigma Studio IC-1 address incorrect

SigmaDSP & SigmaStudio CoolJavelin Apr 19, 2017 00:00 1 replies Original on forum ↗
Subscribe
CoolJavelin Question
Apr 19, 2017 00:00

The 1701 literature (page 23, table 16) reports a bunch of device addresses with the address and R/w# combined. This is wrong, as the address is 7 bits not 8. If addr0 and addr1 are tied low, the device address is 0x34, not 0x68. The R/w# bit is something else.

Sigma Studio creates a bunch of files to assist me in using a uP with the 1701. One of those files (root name)_IC_1.h reports the device address as 0x68. That number is actually wrong probably because the creator of those files read the 1701 datasheet, and it is wrong.

When I tell my uP to address the 1701, I must shift the device address found in (root name)_IC_1.h to the right by one bit. I do not have to shift when using other I2c devices.

While 0x68 is seen on the SDA line (for a read,) and 0x69 is seen for a write, in reality the address is always 0x34 plus a direction bit.

Thanks for listening, and I look forward to a rewrite of the datasheet, and Sigma Studio.

Mark.

sigma studio output files

literature

adau 1701

DaveThib Reply
Apr 20, 2017 00:00

Hello Mark,

Thanks for your input. I have seen the address be listed both ways in many datasheets. It is not wrong, it is a matter of how you are looking at the number. So the address is 0x68 for reading and 0x69 for writing. That is the actual 8-bit hex number that is being sent out of the port. The 7-bit interpretation is 0x34. It is two ways of saying the same thing and most people understand that and do not have an issue with it.

Dave T