Skip to main content
POlcz
Associate III
Apr 12, 2019 9:07 PM UTC
Question

LPUART1, UART1, RTC in STM32CubeWB BLE examples.

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

This topic has been closed for replies.

1 reply

ST Employee
Apr 23, 2019 11:33 AM UTC

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.