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.

Extended Write Format for LM8335 not working

Other Parts Discussed in Thread: LM8335

Hi,

I have been using LM8335 for converting RFFE data to GPO in normal write mode, which works fine. However, when I tried to employ LM8335 using the extended write format and write 8 bytes of data at a time, it only writes the first byte data to the GPOs and maintains the states throughout. Here is my configuration, which I used for both write formats:

ADR=CFG=GND

VDD=VDDIO=1.8V

Slave Address=0x01

Register Address=0x05

Normal Write Format = SSC 0001 010 00101 (P) Data (P)

Extended Write Format = SSC 0001 0000 0111 (P) 00000101 (P) Data1 (P) Data2 (P) Data3 (P) Data4 (P) Data5 (P) Data6 (P) Data7 (P) Data8 (P)

Kindly let me know on how to tackle this issue.

Kind Regards,

Arun

  • Arun,

    Thank you for the question. I've notified the correct application engineer and should get your question answered shortly.
  • Hi Arun

    The Extended Write Format begins with the register address and then auto-increments to the next address. In your sequence you are starting with register address 0x05 so the next 7 data values will be written to register address 0x06 thru 0x0C. There are no registers in this address space in the LM8335 so there will not be any observable change on GPOs.

    Best regards,
    Randy
  • Hi Randy,

    So, how do I use the extended register write command sequence to write 8 bytes at a time? Is there a way to overwrite the register 0x05 and send at the same time.

    i.e. Send first byte at Reg. address 0x05, then send second byte by overwriting the reg. address 0x05 and so on.

    Ultimately, what I am aiming is to send all 8 bytes at the same time without any gap (time wise) between the bytes.

    Kind Regards,
    Arun

  • Hi Arun

    The extended register write sequence can not be used to write data to the same address.  This is defined by the MIPI RFFE Specification to be automatically increment by one for each byte written.  The LM8335 conforms to MIPI RFFE Interface version 1.10 where the extended register write sequence is defined in section 6.7 on page 48.  There is no mechanism in the MIPI RFFE Interface specification to enable what you want to accomplish.

    Best regards,

    Randymipi_RFFE_Specification_v1-10.pdf