This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CDCE913 I2C Programming

Other Parts Discussed in Thread: CDCE913

Hallo,

how do i write  data byte to the CDCE913?

What i understand, reading the Datasheet, is that the MASTER has to send a START and a STOP Signal on the SCL side.

Then after sending the START it has to send the Slave Adress shiftet once to the left plus write at the LSB Bit either to READ or WRITE:

(SLAVE_ADRESS << 1) | 0x01

 After that the MASTER will read the SLAVE Acknowledge if yes or no.

If yes the MASTER will send the Command Code, which i think it is locaded at the Table 7 on the Datasheet:

0xCA for CDCE913

Then the MASTER get the Acknowledge bit from the slave again and if yes it will send the Data Byte following from a Aknowledge Check bit and Stop condition.

Is the Command Code always a constant value? What is it for if i am only using one device and not four?

  • Hi Michael,

    Table 7 in the DS used for decoding the slave address of the CDCE913 based on the contents of byte 01 bits [1:0].

    To select the correct command code, use Table 8. Here it shows that the MSB is for setting block read/write or byte read/write modes, followed by 7 bits of byte offset, which correlate to the first column in Table 11. Figure 9 through 12 show the different data stream requirements necessary for byte/block reads/writes.

    Gabe