This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Integrating bmp180 and mpu6050 sensor codes

Hi team,

I am integrating bmp180 and mpu6050 into a beacon code.While integrating,I am getting the following error

"NRF_ERROR_MODULE_ALREADY_INITIALIZED".

Please help me to solve this issue.

Thanks in advance!

Parents Reply
  • I am using nrf52840 DK board,sdk 14.2 and Keil IDE.I have the complete beacon code in which i can able to read and write,uuid,major,minor and tx power via nrf connect app.With that beacon code,I integrated mpu6050 sensor code.I got proper values.In addition to that,While I am integrating bmp180 code with that(beacon+mpu sensor code),I am getting "NRF_ERROR_MODULE_ALREADY_INITIALIZED".

    While I adding the following lines to that code in main.c,I am getting that issue.

    static void lfclk_config(void)
    {
    uint32_t err_code;

    err_code = nrf_drv_clock_init();
    APP_ERROR_CHECK(err_code);

    nrf_drv_clock_lfclk_request(NULL);
    }

    I don't know where the module is initialised already.

    Thanks in advance!

Children
No Data
Related