ble-x-nucleo-idb0xa1 icon indicating copy to clipboard operation
ble-x-nucleo-idb0xa1 copied to clipboard

RESET problem

Open ponty opened this issue 7 years ago • 2 comments

After reset EddystoneObserver sometimes works sometimes not . If I replace wait_us() with wait_ms() in reset() function then it always works.

sed -i -e 's/wait_us/wait_ms/' ./shields/TARGET_ST_BLUENRG/source/BlueNRGDevice.cpp

Output with DEBUG set:

btleInit>>
GATT_Init failed.
GAP_Init failed.
Auth Req set failed.

Hardware:

  • NUCLEO-F446RE
  • X-NUCLEO-IDB05A1
  • connect with wire: D3---D13

IDB0XA1_D13_PATCH is set

Demo: https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneObserver LED1 is removed

ponty avatar Apr 03 '17 07:04 ponty

@ponty This issue should be fixed by #23. Could you verify and update this ticket ?

pan- avatar Apr 06 '17 12:04 pan-

It works!

The comment is not correct: "1500ms"

    /* Reset BlueNRG SPI interface. Hold reset line to 0 for 1500ms */
    rst_ = 0;
    wait_us(1500);

ponty avatar Apr 07 '17 14:04 ponty