Frequently Asked Questions
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
February 10, 2007
about a year ago
Has anyone tried to interact with this breakout board via a bus pirate in SPI mode?
I have connected the bus pirate to the ADXL345 breakout board and also connected a Saleae Logic Analyzer (e.g. I can see bus pirate driving SPI reasonably).
The problem is I see no response from the ADXL345.
The odd thing is when I toggle the power (bus pirate “W” and “w” command), the voltage varies between 3.3 and 2.5volts respectively. In other words, there appears to be some back current.
I have tired this on two different ADXL345 breakout boards with the same results.
While I see lots of code using this device in I2C mode, I find very little on using in via SPI.
Anybody have any insights into what is happening,…why the odd back current on Vcc when powered off?
BTW I am able to successfully interact with a LIS3DH accelerometer in SPI mode just fine with this same bus pirate.
Some details about my Bus Pirate
Bus Pirate v3.a
Firmware v6.1 r1676 Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (xxxxxxxxxxxxx)
The Bus Pirate command sequence use for testing: setup and read DEVID register (0x00)
x. exit(without change)
1. Idle low *default
2. Idle high
Output clock edge:
1. Idle to active
2. Active to idle *default
Input sample phase:
1. Middle *default
2. /CS *default
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
POWER SUPPLIES ON
No public wish lists :(
Forgot your password?
No account? Register one!