Solved
MB1641 - Nucleo STM32WB15CC slowness between BLE and UART
Hello!
I have a Nucleo Board MB 1641 (STM32WB15CC) and I am developing an application using BLE, in P2P mode. Including based on the usage example provided by ST.
The application needs to transmit from the UART to the BLE and return the response from the BLE to the UART. However, it is noted that this "route" takes around 940ms. Analyzing, I observed that the problem may be at the UART (TX) output, as measuring the time from BLE output to buffer return, we have 140ms. In other words, the loss is located in the transfer from BLE to UART, in the return message to our devices. It turns out that our field devices (UART) have a listening time of 1s, and adding up all the time, we have 1020ms, meaning that the device does not receive the response.
I think the clue is in the sharing of the serial port by ST-LINK. I powered the board with a USB cable without communication pins (electric power supply only) and the problem persists.
Could you, in your infinite kindness and wisdom, help me?
Grateful for the attention!
Wiliam (from Brazil)
