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

Bluetooth (SoftDevice) + high speed UART (libuarte)

Hi,

Currently I’m working on a device which is, on the one side connected to a smartphone via BLE and on the other side to another uC via UART.

Therefore, the UART speed is fixed to 1MB/s. For this reason, I must use DMA to get the UART running.

We use the nRF52840 DK.

I had a look to the example projects “ble_app_uart” and “libuarte”. Both projects fulfil our requirements to the BLE and UART connection.

Now I try to merge these projects and I’m struggling with the RTC’s.

I read that the Softdevice uses RTC0 and Timer0. Meanwhile the app_timer library is used the RTC1.

Is it true that there is no free RTC for the libuarte library?

So, I have no chance to get it running with the nRF52840?

 

Thank You,

Kilian

Parents Reply Children
  • Hi Dmitry and Simonr,

    thanks a lot for your help.

    I tried both of our suggested solutions and it takes me a step further.

    But now the "app_error_fault_handler" function gets called. The address of the pc is located in nrfx_timer.c.

    Could you tell me which timers are used in “ble_app_uart” and “libuarte” examples?

    I use Timer1 and Timer2 for the libuarte.

    Best Regards,

    Kilian

Related