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.

LMH6517: SPI problem

Part Number: LMH6517

Hello!

I am trying to program the gain of the LMH6517 via SPI using a beagleboard, but that does not seem to work. I already checked the communication lines on the oscilloscope and everything seem fine, so I would like to know if anyone can help identify what the problem is.There is some fixed gain there because I get an amplified signal out of it, but it does not change. The latch pin should not matter when spi is in use so I wonder what could be happening.

This would be the python code:

from Adafruit_BBIO.SPI import SPI

spi = SPI(1,0) #configure device and bus at beagleboard

spi.msh = 10500000 #clock
spi.bpw = 16 #bits per word

spi.open(1,0) #opens it

spi.xfer2([128,0]) #transmits data

Thank you,

JPL