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

problem in advertising bluetooth when USB is powered more than one time

Hello,

I am using SDK 15.2.0 ,nrf52840. In my application we are using bluetooth and USB. The application works good. The device advertise and can get into the application by connecting to the advertised device. But meanwhile if we try to retrieve data  via USB or if we try to charge the device by using USB, we can do it in the first few attempts but later on the device get stopped advertising . Why this is so? Is there any solution?

Regards,

Shilpa.

Parents
  • Have you tried to debug your application? Could you provide some logging?

    Best regards,

    Simon

  • hello,

    When we try to debug the application to give you the logging information, the device doesn't shows these behavior . It occurs when we use this device for test for a long time(particularly over a night).Heard that there is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can't be used. Whether this could be due to power detection problem when connected with ble.?

    Regards,

    Shilpa.

  • Try enabling UART logging, open a terminal like Termite and run the application over night. Then we can see the logging, and possibly figure out what's wrong. 

     

    shilpa said:
    Heard that there is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can't be used. Whether this could be due to power detection problem when connected with ble.?

     This was a problem earlier, but not on the newer SoftDevices. If you are using SDK 15.2 and Softdevice s140 v6.1.0 you should be good.

    Best regards,

    Simon

Reply
  • Try enabling UART logging, open a terminal like Termite and run the application over night. Then we can see the logging, and possibly figure out what's wrong. 

     

    shilpa said:
    Heard that there is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can't be used. Whether this could be due to power detection problem when connected with ble.?

     This was a problem earlier, but not on the newer SoftDevices. If you are using SDK 15.2 and Softdevice s140 v6.1.0 you should be good.

    Best regards,

    Simon

Children
Related