6 Task Priority
Because both graphics applications enable Bluetooth® Low Energy technology, FreeRTOS is used to manage the separate tasks.
Bluetooth® Low Energy LCC Tasks:
- Priority 3: Bluetooth LE Stack – Manages the communication of Bluetooth LE devices
- Priority 2: LCC – Manages the controllerless graphics protocol
- Priority 2: Legato (graphics library) – Manages all graphics related operations including drawing the frame
- Priority 1: App Core – Manages the application layer tasks
- Priority 1: Input System Service – Manages communication with the graphics library by sending input touch events
- Priority 1: maXTouch Controller – Manages touch input data received from I2C
Bluetooth® Low Energy Parallel 8080 Tasks:
- Priority 3: Bluetooth LE Stack – Manages the communication of Bluetooth LE devices
- Priority 2: External Controller (ILI9488) – Interfaces with the external controller and manages the commands and data sent
- Priority 2: Legato (graphics library) – Manages all graphics related operations including drawing the frame to the scratch buffers
- Priority 1: App Core – Manages the application layer tasks
- Priority 1: Input System Service – Manages communication with the graphics library by sending input touch events
- Priority 1: maXTouch Controller – Manages touch input data received from I2C
The Bluetooth LE task priority is set to priority 3 and should be the highest priority. Additionally, the Legato (graphic library) task priority and the controller driver (LCC or external controller) task priority are set to 2 to prioritize screen updates over touch updates. The remaining tasks (APP core, input system service, maXTouch controller) are set to 1.
