I tried the Bjørn's code : devzone.nordicsemi.com/.../ I didn't make it... Could you help with a simple code you've tried for adxl345 ? Thank you Yassine
I tried the Bjørn's code : devzone.nordicsemi.com/.../ I didn't make it... Could you help with a simple code you've tried for adxl345 ? Thank you Yassine
Hi,
The register addresses is close to identical, so it should not be a big problem to get it to work with ADXL345. Actually the registers that the driver uses have the exact same addresses on both ADXL375 and ADXL345.
For 2) you can add an extra NULL, e.g. ret = nrf_drv_twi_init(&m_twi_master, &config, NULL,NULL);
I can upload a KEIL project that uses the drivers if you cannot get it to work.
For 2) you can add an extra NULL, e.g. ret = nrf_drv_twi_init(&m_twi_master, &config, NULL,NULL);
I can upload a KEIL project that uses the drivers if you cannot get it to work.