Skip to main content
Associate II
Jul 16, 2024 3:01 AM UTC
Question

Does "BLE_MeshLightingPRFNode" sample use RTOS? How is the clock configuration?

I want to add a new timmer application in the "BLE_MeshLightingPRFNode", so I need to know which timmer is available.

Because the RTOS needs a reference timer, but I don't see the RTOS initialize and activate sequence in this sample code. Is RTOS not used in this example?

And how is the "Clock configuration" in "BLE_MeshLightingPRFNode" example? Does have the cubeMX-like clock configuration diagram?

This topic has been closed for replies.

5 replies

STTwo-32
ST Technical Moderator
Jul 16, 2024 8:43 AM UTC

Hello @Cooper_WJH 

In fact, this example and almost all our BLE example for the STM32WB are using a SW implementation called sequencer to make it easy to execute the different tasks of the Code.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate II
Jul 16, 2024 9:41 AM UTC

Hi @STTwo-32 

So, Which timer is the sequencer used? Which timer is available for the user to use?

How is the clock configured?

I think need to know the clock configuration, so that I can let the timer work as I expected.

STTwo-32
ST Technical Moderator
Jul 16, 2024 10:35 AM UTC

For such a purpose, I suggest you take a look at the AN5289 specially the Timer Server parts.

PS: the timer Server provide virtual timers running on RTC (in Stop and Standby modes) to the application.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.