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.

LMp91051 SPI program help!

Other Parts Discussed in Thread: LMP91051

Hello

I have been working on LMP91051 SPI code.

www.ti.com/.../lmp91051.pdf

Here is my code.

#include<SPI.h>

const byte address = 0b00000000;  // Write to address 0x0 (Device configuration)
const byte data = 0b00000000; // set everything default on Device configuration
const int slaveSelect = 53;

void setup() {
  Serial.begin(9600);
  pinMode(slaveSelect, OUTPUT);
  SPI.begin();
  SPI.setBitOrder(LSBFIRST);
}

void loop() {
  writeRegister(address, data);
}

void writeRegister(byte thisRegister, byte thisValue) {


  digitalWrite(slaveSelect, LOW);
  SPI.transfer(thisRegister);
  SPI.transfer(thisValue);
  digitalWrite(slaveSelect, HIGH);
}

WIth this code, I was able to set everything as default for Device configuration and write it to the address 0x0.

I applied arbitrary signal to the IN1 and try to see some signal at the output pin but nothing coming from the output pin.

Can you please help me to figure out this problem?

The register information on page 16.

Thank you