cancel
Showing results for 
Search instead for 
Did you mean: 

LPUART1, UART1, RTC in STM32CubeWB BLE examples.

POlcz
Associate III

Hi,

For what and why in the most of BLE examples in STM32CubeWB are use LPUART1, UART1, RTC. What is the function of these peripheries in BLE examples.

Thx

1 REPLY 1
Christophe Arnal
ST Employee

Hello,

The RTC is used as a low power timer on top of which the virtual timer server hw_timerserver.c is implemented. The virtual timer server can provide several timers that can be running while in Stop Mode

The LPUART1 and UART1 is used to support following features:

  • Traces ( output from the device )
  • transparent mode application ( input to the device)
  • Console Menu for HID application (input/output)

Basically, it is possible to map these features on either the LPUART1 or/and UART1.

The selection depends on what is available in your application.

Regards.