AnsweredAssumed Answered

I2C to SPI Bridge not generating SPICLK

Question asked by Jheel Shah on Apr 6, 2017

    I am using SC18IS602 IC for I2C-SPI converter.
    But clock signal is not generated in pin11 that is SPICLK,
    IC is pulling ss0 low but it is sending neither clock nor data,
    even after setting frequency at 115khz;
    mode0 = 0; mode1 = 0; (CPOL = 0, CPHA = 0). SPICLK LOW when idle; data clocked in on leading edge.
    F1:F0 = 10 for 115KHz


    I have used following commands;


    ./i2cset -f -y 0 0x28 0xf0 0x02 w // freq set at 115khz; it will configure spi port


    ./i2cset -f -y 0 0x28 0x01 0x0100 w  //1st byte is function id: 01 for pulling ss0 low and next is data word.
    Value 0x0100 written, readback matched


    where, 0x28 is the slave addr.


    there is no clock output on SPICLK and no data on MOSI pin.


    So, can you please suggest necessary solution for clock signal not being generated.
    Do we need any specific driver.
    SC18IS602 IC converter is bridge for I2C bus of DM365 video processor and SPI bus of CMOS sensor.
    Above command is given on linux prompt. command for i2cdetect and i2cdump is working, however it gives same value for all registers.


    link for SC18IS602 datasheet;