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.

LMH0397: Issue with SPI protocol

Part Number: LMH0397

Tool/software:

We are using LMH0397 in one of our PCBs, and we would like to program it with the SPI interface.
We have the programming guide, but there are a couple of things in it that we do not fully understand.
The guide says you need to send RAR or RAW followed by the register information. It doesn't specify what exactly the message is supposed to look like.
Is RAR/RAW sent in ASCII, or is the whole message just ASCII symbols, or perhaps something else?
When we tried sending a message, we did get some responses, but we have no idea if they are correct or even what correct responses look like.
For read commands, do you only get the register or is there additional info in response?
We read through the programming guide, and it seems like there is no information about response formatting.

Is there perhaps another document with message formatting info that we do not know about?

  • Hi Danijel,

    RAR or RAW reads or writes a register using hex formatting.

    RAW; Address; Value; Mask (RAW; FF; 04; 04) 

    Each value is a hex value that can be converted to binary. A good resource is the Windows calculator programmer:

    For more information on SPI see the LMH1229 datasheet. There is a section on what to expect from the SPI pins. There has been a shift in terminology from MOSI to POCI and MISO to PICO.

    Best Regards,

    Nick