Jump to content
Sign in to follow this  
sarmadm

LIS2DH12 connected to MSP430FR5739

Recommended Posts


I have LIS2DH12 connected to MSP430FR5739 through SPI , I couldn't find any code example on how can I read data from it , is there are any

useful resource for this ? This is my first time working with accelerometers and I am trying hard to learn as much as I can.

Share this post


Link to post
Share on other sites

the LIS2DH12 supports both I2C and SPI communication interfaces.  You've noted your board is using the SPI interface, so examples for basic SPI communication with a sensor would be the place to start. The LIS2DH12 docs will inform on the messages from the device, which your FR device will need to decode. You may find some hints in the ST Microelectronics GUI documentation for their demo board that works with the LIS2DH12
www.st.com/resource/en/user_manual/dm00024991.pdf

 

Additional docs are here:

 

http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mems-motion-sensor-eval-boards/steval-mki109v2.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...