This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

spi lis2dh12 sensor porblem

Hello I am testing with the lis2dh12 sensor and our custom board. I made the LCD test successfully. So I tested the lis2dh12 sensor based on the LCD code, but it failed. There is no data return value. The pin configuration is correct and I checked it many times. I do not know if I can not interpret the datasheet or the code is wrong. Below is the lis2dh12 sensor code, datasheet, and Application note. I would appreciate it if you could tell me what the problem is. The following code refers to the self test in the Application note.

lis2dh12.c datasheet.pdf Application note.pdf

Related