A little background: I am a senior in an electrical engineering program. I am using the QN9080SIP MCU as the microcontroller for my senior project as I require BLE and the built in antenna / FCC approvals.
For my project, I am using FreeRTOS. I have all the non BLE code and tasks written and completed. We are not allowed to use NXP's libraries, we have to turn on and manipulate hardware using only the interfaces such as CTIMER->... . This, of course, does not apply to the BLE stack itself, but as such I cannot just use one of the demo applications and try to modify them.
In using the BLE stack, I am going to follow the BLE Application Developers Guide. I realize that the BLE stack is written using the Connectivity Framework for OS abstraction. Do my FreeRTOS tasks need to be implemented using the Connectivity Framework abstraction, or can they be implemented using the FreeRTOS APIs?
Hi Jerod, I hope you're doing well!
The FreeRTOS APIs can be used to develop and implement BLE applications, as well as the OS Abstraction APIs.
Most of the provided SDK BLE stack examples provide both implementations, either using FreeRTOS or baremetal with OS Abstraction implementation.
A good starting point for developing with the BLE Stack implemented in this device in conjunction with FreeRTOS could be the BLE Beacon example.
It can be found in the following path of the SDK:
Please let me know if you need any more information.