AnsweredAssumed Answered

QN908x BLE without real-time operating system

Question asked by Lukas Widmer on Dec 18, 2017
Latest reply on Dec 29, 2017 by Estephania Martinez

I'm trying to minimize energy consumption on the QN9080 MCU as much as possible and hence want to omit the use of a real-time operating system and the additional energy cost it implies.

I took the Bluetooth beacon example and tried to directly call the startup_task method without passing it to the scheduler. Unfortunately I couldn't receive any advertisement packets this way.

 

OSA_TaskCreate(OSA_TASK(startup_task), NULL);
vTaskStartScheduler();

->

startup_task(NULL);

 

How can I make it work without using the scheduler?

 

Hardware: QN9080 DK-V1.2 R20161129

SDK: SDK_2.2_QN908xCDK_Beta

IDE: MCUXpresso IDE v10.0.2

Outcomes