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

Difference of basic configuration between "ble_app_uart" and "ble_app_template" in SDK 15.2.

Hi,

I am a newbie and just started working on the nrf52840 board. I started by using the example "ble_app_uart" and implemented the I2C module to read IMU sensor data and it is working fine. Then I transferred my I2C code to "ble_app_template" and set the required configurations in the sdk_config module.

In the "ble_app_template" the I2C is working fine but I am getting the Nrf logs dropped message after few readings of IMU which I don't face in "ble_app_uart" project. I have set and matched the Log and clock configuration in sdk_config. I want to know is there any difference in configuration of the two projects. I am not using the BLE functionality in both example projects and they are as they were in default. I only implemented the I2C module (TWI).

Thanks,

Parents
  • Hi,

    It's difficult to be certain without understanding the program flow in your application, but my guess would be that the idle_state_handle() which is where the logs are processed are called more often in the ble_app_uart example than in your template based project. Which means that the logs would be processed more often, resulting in logs not being dropped.

    best regards

    Jared

Reply
  • Hi,

    It's difficult to be certain without understanding the program flow in your application, but my guess would be that the idle_state_handle() which is where the logs are processed are called more often in the ble_app_uart example than in your template based project. Which means that the logs would be processed more often, resulting in logs not being dropped.

    best regards

    Jared

Children
No Data
Related