STMicroelectronics LISDL: available from 8 distributors. Explore Sensors on Octopart: the fastest source for datasheets, pricing, specs and availability. LISDL from STMICROELECTRONICS >> Specification: MEMS Accelerometer , 3-Axis, Digital, X, Y, Z, ± 2g, Technical Datasheet: LISDL Datasheet. LISDL datasheet, LISDL circuit, LISDL data sheet: STMICROELECTRONICS – MEMS motion sensor 3-axis – ±2g/±8g smart digital output piccolo.
|Published (Last):||12 January 2013|
|PDF File Size:||8.46 Mb|
|ePub File Size:||16.82 Mb|
|Price:||Free* [*Free Regsitration Required]|
CCS does not monitor this forum on a regular basis.
Please do not post bug Reports on this forum. Send them to support ccsinfo.
Wed Feb 04, 1: I have been trying all the things I can think of but am unable to get them to talk to each other. Below is the code I have been trying. I have searched the forum the best I can and have borrowed code from some posts.
All I am getting on the LCD is and it does not change.
It shows that the clock SPC idles at a high level and does a positive transition in the middle of each data cell. Look at the SPI timing diagrams on each of these web pages below. That’s SPI mode 3. It shows that for a read datashee the first bit out the MSB is supposed to be a ‘1’ bit. But you have it as a ‘0’.
microcontroller – LISDL Accelerometer WHO_AM_I command – Electrical Engineering Stack Exchange
See the line in bold below for the required changes. Wed Feb 04, 2: Hi, I have it up and running on a 18f There are a few things: Due to an errata in 18f, I need a NOP between the spi statements otherwise the chip will hang.
Not sure if this applies to your chip also. You must initialize the chip, its default turned off. Set your preferences in register 0x20 and 0x21 See page in the datasheet. See page 26 in the datasheet.
MEMS Motion Sensor 3-axis – ± 2g/± 8g Smart Digital Output piccolo Accelerometer
To save you some time. Thu Feb 05, 3: Thank you both for replying.
I have been trying the bitwise OR with no success. I have checked my connections multiple times.
I have tried a few different settings for the 0x20 and 0x21 register. Thu Feb 05, 6: I have the following: Fri Feb 06, 2: I think I am going to order another one and give it another try.
Sat Feb 07, 1: But what about Treanla’s comment about the power-down mode? The chip is powered-down by default. Here’s what the manual says: Sun Feb 08, 2: I have been looking at the data sheet. This is only the second SPI device I have used. The other device I only had to write to and never read. Even with the registers the way they where before shouldnt I be getting something other than all the time? Wed May 12, 2: Hi, I was facing the same issue with this accelerometer of getting always.
I had goofed up the SPI frequency to be given to the accelerometer.
Some of the posts helped. Let me see whether if I give delay after write it will help. I will post back if I am still facing the issue. Dead line in 3 days and I am yet to write into a register, wuph Then post a compilable test program that demonstrates the failure. Thu May 13, 9: Next task is to interface the LCD to the micro Display posts from previous: All times are GMT – 6 Hours.