Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: Adxl345 linux driver freezes, [raspberry pi i2c]

$
0
0

Larsc thank you for your quick reply,

 

I will try to connect this via SPI, i hope it will help. Could you tell me is this propper wiring:

 

ADXL345             RPI

SDO                    SPI0_MOSI (gpio 10)

SDA                    SPI0_MISO (gpio 9)

SCL                    SPI0_SCLK (gpio 11)

CS                      ?

Edit :This is wrong connection...

What About this:

 

SCL -> SPI0_SCLK pin 23

SDA -> SPI_MOSI pin 19

SDO -> SPI_MISO pin 21

CS -> SPI0_CE0_N pin 24

 

Is it correct ? what about int1 and int2 pins ?


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>