AnsweredAssumed Answered

ADXL355 Communication

Question asked by adoney on Oct 21, 2017
Latest reply on Nov 26, 2017 by NeerajSingla

Issue:For some reason I can not seem to get any communication from the sensor. Whenever I try to read the Device id or any other register i just get 0. I have read the reference manual several times, and done the following but still nothing, am I missing a step up step somewhere.

 

Hardware: adxl355 Eval Board, and the using the PIC32MX460F512 as the HOST board.

Host Board:Pro MX4 Reference Manual [Reference.Digilentinc] 

Connections: The VDD and GND from the host board are not begin used. Using external 3.3 voltage supply, to power ADXL355. Also powering VDD and VDDIO in parallel using the internal LDO regulators as stated in the reference manual.

SS2 - CS

SDO2 - MISO

SDI2 - MOSI

SCLK2- #SCLK

Software:

Steps: 1) I have configured the HOST board SPI module as master.

           2) Configured SPI for 16-Bit Mode, to match SPI frame in the reference manual.

           3) Clock Polarity Low, Clock Phase Low as stated in the manual.

           4) Configured the serial clock for 1Mhz within the operational of 0.1 to 10 Mhz stated in the manual.

           5)Powering VDD and VDDIO 3.3V

     SPI Frame, Attempting to Read Device ID

As you can see the clock cycle is 1.0665us or approx 1Mhz

Outcomes