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.

Need Help Configuring LM98722, not responding

Other Parts Discussed in Thread: LM98722

Hi,

I am using LM98722 with a Trilinear CCD in my application. The sensor timing is basically generated using FPGA . INCLK is 5 MHZ. R, G, B analog signals are connected to the IC. Serial communication works great. I can write and read the registers of LM98722. I tried both Master and Slave mode, but my AFE doesnt seem to output any signals. My conguration is CMOS Output, INCLK is PIXEL CLK, CLLOUT on SH2. I am not getting any CLKOUT signal. My register configuration in Master Mode is given below in text file. My final configuration is slave mode without timing generation.

LM98722_Configuration.txt
    SPI_SENDDATA(0x1F02); // Page 0
    SPI_SENDDATA(0x0022);
    SPI_SENDDATA(0x02C2);
    SPI_SENDDATA(0x0346);
    SPI_SENDDATA(0x0408);
    SPI_SENDDATA(0x05E0);
    SPI_SENDDATA(0x1F02); // Page 2
    SPI_SENDDATA(0x0000);
    SPI_SENDDATA(0x01FF);
    SPI_SENDDATA(0x020D);
    SPI_SENDDATA(0x0601);
    SPI_SENDDATA(0x0702);
    SPI_SENDDATA(0x0804);
    SPI_SENDDATA(0x0A06);
    SPI_SENDDATA(0x0B02);
    SPI_SENDDATA(0x0C10);
    SPI_SENDDATA(0x0D02);
    SPI_SENDDATA(0x0E1E);
    SPI_SENDDATA(0x1F03); // Page 3
    SPI_SENDDATA(0x0014);
    SPI_SENDDATA(0x010A);
    SPI_SENDDATA(0x020A);
    SPI_SENDDATA(0x1F04); // Page 4
    SPI_SENDDATA(0x0001);
    SPI_SENDDATA(0x0101);
    SPI_SENDDATA(0x0201);
    SPI_SENDDATA(0x1F05); // Page 5
    SPI_SENDDATA(0x0018);
    SPI_SENDDATA(0x010C);
    SPI_SENDDATA(0x0204);
    SPI_SENDDATA(0x1F06); // Page 6
    SPI_SENDDATA(0x0C00);
    SPI_SENDDATA(0x0D00);
    SPI_SENDDATA(0x0E00);
    SPI_SENDDATA(0x0F1F);
    SPI_SENDDATA(0x10FF);
    SPI_SENDDATA(0x11FF);
    SPI_SENDDATA(0x1201);
    SPI_SENDDATA(0x13FC);
    SPI_SENDDATA(0x1F07); // Page 7
    SPI_SENDDATA(0x08FF);
    SPI_SENDDATA(0x0CFF);
    SPI_SENDDATA(0x10FF);
    SPI_SENDDATA(0x1F08); // Page 8
    SPI_SENDDATA(0x0244);
    SPI_SENDDATA(0x0344);
    SPI_SENDDATA(0x0544);
    SPI_SENDDATA(0x0640);
    SPI_SENDDATA(0x08A2);
    SPI_SENDDATA(0x1F00); // Page 0
    SPI_SENDDATA(0x0023);

Any help is greatly appreciated. 

Best Regards,

Pranav Balakrishnan
Team Member - R & D Firmware
Premier Evolvics Private Limited, India

  • Hi Pranav,
    Can you share your schematic please?
    If you are trying to use slave mode and you do not have SH_R hooked up, it’s not going to work.

    Regards,
    Hooman
  • Hi Hooman,

    I am attaching my schematics here. SH_R pulse is supplied to the AFE.

    Regards,

    Pranav

  • Hi Pranav,
    Sorry about the delay in getting back to you. We are reviewing your register file and schematic.

    Regards,
    Hooman
  • Hi Pranav,
    Sorry about the extended delay. I hope to get back to you by tomorrow.

    Regards,
    Hooman
  • Hi Pranav,

    In the register file you had attached, the 1st line you have shown:

    "SPI_SENDDATA(0x1F02); // Page 0"

    However, I believe this should have been what is shown below instead if your intent was to set the Page Register to Page 0:

    "SPI_SENDDATA(0x1F00); // Page 0"

    Please see the commented register file attached. Initial writes are on Page 2 instead of Page 0 as intended.

    LM98722_Configuration_from_customer_commented_v1.txt
        SPI_SENDDATA(0x1F02); // Page 0 -- Looks like page 2, not page 0.
        SPI_SENDDATA(0x0022); // If set on page 2, then proper settings not loaded to P0.
        SPI_SENDDATA(0x02C2); // If set on page 2, then proper settings not loaded to P0.
        SPI_SENDDATA(0x0346); // If set on page 2, then proper settings not loaded to P0.
        SPI_SENDDATA(0x0408); // If set on page 2, then proper settings not loaded to P0.
        SPI_SENDDATA(0x05E0); // If set on page 2, then proper settings not loaded to P0.
        SPI_SENDDATA(0x1F02); // Page 2
        SPI_SENDDATA(0x0000);
        SPI_SENDDATA(0x01FF);
        SPI_SENDDATA(0x020D);
        SPI_SENDDATA(0x0601);
        SPI_SENDDATA(0x0702);
        SPI_SENDDATA(0x0804);
        SPI_SENDDATA(0x0A06);
        SPI_SENDDATA(0x0B02);
        SPI_SENDDATA(0x0C10);
        SPI_SENDDATA(0x0D02);
        SPI_SENDDATA(0x0E1E);
        SPI_SENDDATA(0x1F03); // Page 3
        SPI_SENDDATA(0x0014);
        SPI_SENDDATA(0x010A);
        SPI_SENDDATA(0x020A);
        SPI_SENDDATA(0x1F04); // Page 4
        SPI_SENDDATA(0x0001);
        SPI_SENDDATA(0x0101);
        SPI_SENDDATA(0x0201);
        SPI_SENDDATA(0x1F05); // Page 5
        SPI_SENDDATA(0x0018);
        SPI_SENDDATA(0x010C);
        SPI_SENDDATA(0x0204);
        SPI_SENDDATA(0x1F06); // Page 6
        SPI_SENDDATA(0x0C00);
        SPI_SENDDATA(0x0D00);
        SPI_SENDDATA(0x0E00);
        SPI_SENDDATA(0x0F1F);
        SPI_SENDDATA(0x10FF);
        SPI_SENDDATA(0x11FF);
        SPI_SENDDATA(0x1201);
        SPI_SENDDATA(0x13FC);
        SPI_SENDDATA(0x1F07); // Page 7
        SPI_SENDDATA(0x08FF);
        SPI_SENDDATA(0x0CFF);
        SPI_SENDDATA(0x10FF);
        SPI_SENDDATA(0x1F08); // Page 8
        SPI_SENDDATA(0x0244);
        SPI_SENDDATA(0x0344);
        SPI_SENDDATA(0x0544);
        SPI_SENDDATA(0x0640);
        SPI_SENDDATA(0x08A2);
        SPI_SENDDATA(0x1F00); // Page 0
        SPI_SENDDATA(0x0023);

    Regards,

    Hooman