Hi everyone? I'm having trouble interfacing with a LIS3LV02DQ 3-axis accelerometer via SPI. I am using the breakout board from Sparkfun which sadly has been discontinued (the schematic for the breakout board is located here: http://www.sparkfun.com/datasheets/Sensors/LIS3LV02DQ-Breakout.pdf)
and here is the datasheet link:
This is a 3.3v device but there have been many successful attempts to interface via I2C or SPI at 5v (references below)
I have indeed been successful at interfacing with this at 5v (good “WHO_AM_I” value of 0x3A and clearly good data, but so far have been unsuccessful using 3.3v (“WHO_AM_I” of 0xFF or sometimes 0x3F and bad data). I have tried using the 3.3v output from the arduino as well as using a voltage divider on the 5v output, bringing it down to 3.4v or so? neither worked (with nothing else changed from the wiring that worked when I ran the 5v output directly to power the breakoutboard).
I have also tried using the inline resistor method covered at sparkfun (http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=65) to interface between the 5v arduino and 3.3v accelometer without success. It is worth noting that this same circuit worked perfectly for me when interfacing with a 3.3v SCP1000 pressure sensor breakout board. I pulled that board out and popped the accelerometer into the same circuit but no worky.
There are no _CS conflicts on the bus (the accelerometer is currently the only sensor on the bus)
Can anyone explain why I can interface fine at 5.0v but not at 3.3v (as it was designed for?!)
Any suggestions on further troubleshooting? I really want to get this working at 3.3v as I plan on additional 3.3v sensors on the SPI bus that are not as overvolt tolerant as the LIS3LV02DQ apparently is. If this can't be solved, can anyone suggest a safe way to interface with both 3.3v and 5.0v sensors on the same SPI bus?
Unfortunately I do not have a logic analyzer? (if anyone can recommend a cheap one I would appreciate it!)
Thanks in advance