AnsweredAssumed Answered

ADXL362 current

Question asked by robertjenkins on Jun 30, 2014
Latest reply on Jul 2, 2014 by robertjenkins

I am putting the ADXL362 into wake-up mode, but instead of drawing 0.27uA, it is drawing 2uA.

 

I am using the following instructions to put it into wakeup mode:

 

    SPIwriteTwoRegisters(0x20, 300);

    SPIwriteOneRegister(0x22, 10);

   SPIwriteOneRegister(0x27, 0x03);

   SPIwriteOneRegister(0x2A, 0x90);

    SPIwriteOneRegister(0x2D, 0x02);

 

On the MCU I have the MOSI pin as OUTPUT

SCK pin is OUTPUT

slaveSelectPin is OUTPUT

MISO pin is INPUT_PULLUP

Interrupt pin is INPUT_PULLUP

 

After putting it into the wakeup mode, I have

 

digitalWrite(MOSIpin, LOW);

digitalWrite(SCKpin, LOW);

digitalWrite (MISOpin, HIGH);

digitalWrite (slaveSelectPin LOW);

 

I am not writing anything to the interrupt pin.

 

Is this right?

Outcomes