![NXP Semiconductors PN7462AU Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/nxp-semiconductors/pn7462au/pn7462au_quick-start-manual_1721878056.webp)
NXP Semiconductors
UM10883
PN7462 family Quick Start Guide - Development Kit
UM10883
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User manual
COMPANY PUBLIC
Rev. 1.6 — 14 May 2018
319816
56 of 120
7.7 RTOS and it´s usage
The PN7462 family FW is using FreeRTOS. The port.c file in the OpenRTOS source is
modified to support disabling/enabling of scheduler (SysTick timer) and context switch
(PendSV) during FW critical sections. The Cortex-M0 port is already available from
FreeRTOS.
The FreeRTOS provides flexibility to develop multi-application environment. It provides
the creation of multiple tasks. The FreeRTOS will handle multiple tasks with its
scheduler. It is also possible to prioritize the tasks according to our requirement.
The FreeRTOS provides the message queues which are used to communicate between
the tasks. The tasks can wait for the messages and if not available scheduler suspends
these tasks which are waiting, and allow the other tasks to run.
The FreeRTOS provides the events which are used to communicate inside the tasks.
The tasks can go to suspended state waiting for the events as well. Whenever the events
occur the scheduler wakes up that particular task and allows it to run.
For more information on FreeRTOS please refer the following link
The Fig 55 FreeRTOS Usage (below) provides the structure of FreeRTOS and its
relation to PN7462AU FW Application.
The Flash boot performs the boot reason handling and initialization of common HALs.
See Below are the lists of examples available in current release to demonstrate the HW
and FW features of PN7462AU IC.
In general, the FreeRTOS Scheduler has 2 default tasks running which are Idle task and
Timer task whose priority is kept lower than the application tasks.
Fig 55. FreeRTOS usage diagram