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.

problem in cdce706

Other Parts Discussed in Thread: CDCE706, MSP430F5329

Hello all,

i have some problem in CDCE706 configuration. 

1- i which  S0/A0/Clk_SEl & S1/A1 both are high then what is the slave address ?? according to my calculation its 6B but when i configure it, i am not getting my desired output.

2- in data sheet, this ic read and write byte by byte or block by block. what is the best way to configure this ic.

3- in btyte 3 and byte 6, what is the value of PLLx mux and PLLxfvco selection ?? 

  • Hi Prateek27,

    1. if S1=S0= high then your calculation is right if you follow the initialization sequence given in the datasheet shown below. (note that first right is not done in that mode though, it's only used to write byte10.

    3. As in datasheet, byte 3/6 both have similar bits for the 3 PLLs, each is defined as in later tables

    Regards,

    Ahmed

  •  Hi Ahmed,

    i am trying this many times but i can't get my desired output.

    one more thing what is the difference between i2c and SMbus coz in hardware mode both looks like same.

    what is the mean of byte1,2 etc it is register's address or else??

    we can configure any register at any time according to my use ??

    all configuration is in picture plz consider it, if any change then suggest me.

    it is possible to interface msp430f5329 with cdce706 using smbus???

    thank you 

    regards,

    prateek

  • Hi Prateek

    >one more thing what is the difference between i2c and SMbus coz in hardware mode both looks like same.

    SMBUS is a superset of i2c protocol, so it's very similar. you can still inter-operate the two buses with some conditions. you can easily find this on the web.

    >what is the mean of byte1,2 etc it is register's address or else??

    Byte1= Register1 of the device configuration registers.

    >we can configure any register at any time according to my use ??

    Generally yes

    >it is possible to interface msp430f5329 with cdce706 using smbus???

    Yes

    >i am trying this many times but i can't get my desired output.

    You are not clear what you did exactly, what is the desired output, and what do you get. You think the device is ignoring the smbus communication? you can't for examble turn on/off some output?

    here is a short description of how to address more than one device on the same bus.

    To address more than one CDCE706 device on the same I2C bus, configuration inputs S0,S1 must be used. However, this is not the default function of those inputs. there are two ways to use those inputs as address inputs

    1- EEPROM method: by individually programming the devices by writing Byte10[1:0]='11' (also bits [3:2] ='11' if more than two devices are needed) and initiate and EEPROM WRITE cycle. the devices then will have S0 (or S1 as well) as address input by default.

    2- initialization pattern method (I take the example of two devices only): in that method, you use S1 for example to differentiate between the devices, S1 is tied high in one devices, and low in the other. first SMBUS access will reach both devices as they both have internally '01' address still. this access should be a write to Byte10[3:2]=11. just after the ACK of that access S1 usage as address is activated. subsequent access to the devices should include the proper slave address in the I2C prgroamming sequence ('11' or '01')

    The only issue here is that the second one will have the outputs turned off by default (bacause by default S1 is used to turn off the outputs when Byte10[3:2]='00')


    >all configuration is in picture plz consider it, if any change then suggest me.

    reviewing the registers will not be useful If I'm not aware of the use case and the PLL config. this is anyway irrelevant to your problem if I understand properly. our issue is in writing to Byte 10 and getting it to be excuted properly by the device.

     

  • You can also check this appnote for the i2C compatibility with SMBUS.

    Regards,

    Ahmed

  • hi Ahmed,

    Thanks for your reply.

    i read Smbus properly and get my ans, if i reduce i2c clk then i am able to use i2c as Smbus.

    by default if i can use this function according to pic i get 2.1 MHz clock out, and i want to generate 125MHz,50MHz and 40 Mhz using 24MHz crystal.

  • Hi Ahmed,

    what i do, i cant get output, you have some sample code for this to interface with micro controller then plz provide me.

  • Hello Prateek,

    in default mode, the address of CDCE706 is 0x69. Only if you reprogram byte 10 [1:0] = 11, then you will be able to use S0/S1 to change the address.

    Default Address:

    A6 A5 A4 A3 A2 A1 A0
    1 1 0 1 0 0 1

    best regards,

    Julian

  • Hello Prateek,
    you can use the labview GUI to create your register map. Please check scac097.
    I created an example for your frequency plan Y0..Y2: 125M,50M,40M;

    Offset 0x00 Data 0x11
    Offset 0x01 Data 0x0C
    Offset 0x02 Data 0x7D
    Offset 0x03 Data 0x40
    Offset 0x04 Data 0x01
    Offset 0x05 Data 0x01
    Offset 0x06 Data 0xE0
    Offset 0x07 Data 0x01
    Offset 0x08 Data 0x0A
    Offset 0x09 Data 0x20
    Offset 0x0A Data 0x2F
    Offset 0x0B Data 0x04
    Offset 0x0C Data 0x00
    Offset 0x0D Data 0x02
    Offset 0x0E Data 0x05
    Offset 0x0F Data 0x06
    Offset 0x10 Data 0x01
    Offset 0x11 Data 0x01
    Offset 0x12 Data 0x01
    Offset 0x13 Data 0x38
    Offset 0x14 Data 0x39
    Offset 0x15 Data 0x3A
    Offset 0x16 Data 0x33
    Offset 0x17 Data 0x33
    Offset 0x18 Data 0x33
    Offset 0x19 Data 0x00
    Offset 0x1A Data 0x1B

    Best regards,
    Patrick