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

uart_init() in ble_app_uart. Initialize phisical UART in BLE example

Hello everyone, the sdk version that I use is 15.0. The soft device is s132.

With the example of peripheral/uart I am able to receive the serial uart sensor data.
On the other hand with the example of ble_peripheral/ble_app_uart I am able to send data through bluetooth.

The problem arises when I try to add peripheral/uart into ble_peripheral/ble_app_uart. An error arises when initializing the uart (in the function APP_UART_FIFO_INIT that came from the uart_init () of peripheral / uart).

The error is:

<error> app: Fatal error
<warning> app: System reset

Does anyone know how to initialize the physical UART together with the BLE UART?

Thanks

Related