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

I m wondering why get fault when BLE reconnecting.

Hi, All.

I' m studying nRF52832.

I have a question about example "ble_app_uart".

I m trying to send to smartphone using function "printf()".

Uart pins(RX, TX) are connect(Echo) each and then, I successed receiving data to smartphone. the data is about 90B.

But I have another trouble.

When I m trying reconnect with Smartphone, nRF52832 resets.
It is working good when first connecting.

I reconfigulated baudrate 115200~ 9600, It was no avail.

I use example "SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart"


Additional, I added printf("1111111111111111111111111111111111111(it is 90Byte)") in for() function.

call stack is..(+ There are another case)

+ I use smartphone app "nRF UART 2.0"

Can you help me?

Eric

  • Hi Eric

    What do you mean about reconnect issues? How do you disconnect from the phone in the first place? Does your application start advertising again after the first disconnect? Have you tried debugging the connection at all to see if you get an error code so we can see what exactly happen? It should not be necessary to change the baud rate to anything other than 115200.

    Best regards,

    Simon

Related