Pin Configuration of ADXL345
----------------------------------------
ADXL345 BBB P9 HEader
------------- ---------------------
SCL -----------------------------------> 19 pin (I2C2_SCL)
SDA -----------------------------------> 20 pin (I2C2_SDA)
GND -----------------------------------> 01 pin (DGND)
VCC -----------------------------------> 03 pin (VDD_3V3)
SDO -----------------------------------> 02 pin (DGND)
CS -----------------------------------> 04 pin (VDD_3V3)
I followed the same pin configuration to interface ADXL345 in BeagleBone Black but with these pin configuration the device is not detected in u-boot.
I was facing issue while running I2C commands under u-boot related to "padding configuration not enabled."