Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Interfacing MSP430 Launchpad with ADXL345

$
0
0

Hello,

 

I'm trying to setup my msp430g2553 launchpad with the adxl345 breakout board from sparkfun. I'm using the quickstart code from sparkfun but I only ever get 0's being output to the terminal.

 

This is how I have it wired right now:

GND -- GND

VCC -- VCC

CS -- P2.0

INT1 -- OPEN

INT2 -- OPEN

SDO -- P1.7

SDA -- P1.6

SCL -- P2.1

 

I adjusted the code so that CS was set to pin 8 which is the CS pin on the board. Can anyone tell me what I'm doing wrong here?

 

Thanks


Viewing all articles
Browse latest Browse all 2077

Trending Articles