Skip to main content
blil jahov
Associate II
July 5, 2018
Question

BlueNRG-MS hangs

  • July 5, 2018
  • 2 replies
  • 1877 views
Posted on July 05, 2018 at 21:12

Hi,

I'm using BlueNRG-MS to transfer data to host PC running windows 10.

The connection interval is 15ms, slave latency 5, connection timeout of 300 ms. BlueNRG-MS sends 1 notification of 20 bytes each connection (verified using BLE sniffer). Everything seems to work fine.

However, after few seconds of steady link, connection suddenly drops.

Running in debug I see that the connection status is '1' and that no disconnection event was received, even tough device is not connected in windows BLE settings.

I'm running on 32 MHz and 32 kHz clocks if it matters, HS startup time is calibrated, IFR is configured properly.

Any ideas how to solve this?

    This topic has been closed for replies.

    2 replies

    Antonio Vilei
    ST Employee
    July 6, 2018
    Posted on July 06, 2018 at 10:57

    Dear Blil Jahov,

    as you mentioned IFR configuration, I guess you're using your own hardware design.

    I don't know if you have very high production volumes of if you have any form-factor constraints, but did you take into account the possibility to use our

    https://www.st.com/content/st_com/en/products/wireless-connectivity/bluetooth-bluetooth-low-energy/spbtle-rf.html

    based on the same BlueNRG-MS chip?

    In this way, you wouldn't need to take care on your own of all the validation and certification issues.

    You can evaluate the module by using the

    https://www.st.com/content/st_com/en/products/ecosystems/stm32-open-development-environment/stm32-nucleo-expansion-boards/stm32-ode-connect-hw/x-nucleo-idb05a1.html

    expansion board for STM32 Nucleo along with the

    https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-ble1.html

    software.

    Best regards,

    Antonio

    blil jahov
    Associate II
    July 6, 2018
    Posted on July 06, 2018 at 12:27

    Hi Antonio,

    Yes, I'm using custom board.

    No, using ST module is not possible. This is for a big company project and FCC certification fee is not an issue.

    I'm very interested in solving this. I will try to reproduce this issue on your hardware as well.

    Any idea what could be the root cause?

    Antonio Vilei
    ST Employee
    July 6, 2018
    Posted on July 06, 2018 at 12:55

    If you can try the same usage scenario with the hardware that I recommended in my previous post, it would be very useful indeed.

    Since you mentioned IFR and HS startup time, I guess you already followed all the steps described in the

    http://www.st.com/resource/en/application_note/dm00116738.pdf

    Application Note, &39Bringing up the BlueNRG and BlueNRG-MS devices&39.

    Out of curiosity, what TX power level are you using? In the past, someone reported issues with some crystals when using higher power levels. Maybe you can try using a lower TX power output and see if this improves anyhow the situation.

    Moreover, based on the expected production volume, you may also want to get in touch with the ST sales office in your area and get support from one of our Field Application Engineers in Israel.

    I&39m adding

    Gallucci.Gerardo

     and

    Lu.Winfred

     to this discussion, in case they have any other suggestions.

    Best regards,

    Antonio

    Antonio Vilei
    ST Employee
    July 10, 2018
    Posted on July 10, 2018 at 14:54

    Hi Blil,

    do you have a BLE sniffer to check what's being transferred over the air? That would be useful to understand what's going on.

    Also, it would also be interesting to see what happens if you use another BlueNRG-MS as Central, so that you can inspect the log on the Central, too. For that, I would suggest to use an ST design like the X-NUCLEO-IDB05A1 board that I mentioned earlier.

    By the way, did you have a chance to see if the same behavior can be reproduced with the 

    X-NUCLEO-IDB05A1?

    https://www.st.com/content/st_com/en/support/support-home.html

    https://www.st.com/content/st_com/en/support/support-home.html

    Best regards,

    Antonio