I'm trying to get the example code "DA14531-DA14585-586_Reading_I2C_Accelerometer_BLE" to work but it is not the microcontroller is not able to read the data from the sensor at all..I have set up the keil environment properly according to the documents on the dialog semi website and I have set the correct i2c address for the ADXL345 (0x53) in the folder "user_ADXL345.h". I tried to debug the code by putting a break point in the function "int16_t ADXL345_read_X(void)" and the i2c read command " i2c_master_receive_buffer_sync(&byte_received, 1, &abort_code, I2C_F_NONE);" returns an error code "I2C_ABORT_7B_ADDR_NO_ACK ". I have attached the screenshot of the debug window.. I even tried interfacing HMC5883L digital compass but I'm facing the same issue for this compass as well.please help me resolve this issue.
DEVICE- DA14531 USB dev board
PINS CONNECTED- sda-01, scl-03