Datasheet

3.2 Application framework
The Application framework defines the software architecture of the reference application. The focus is modularity, code re-use
and software maintainability.
1. The top layer is Application Layer, which is strictly application specific.
2. The layer below is called Services Layer.
3. Underneath the Service Layer is Driver Layer which controls the hardware.
4. Board Support Package (BSP) contains the board-specific software, such as, hardware initialization, GPIO-pin
configuration, clock settings, etc.
Figure 8 shows the entire application architecture.
Figure 8. Application framework architecture
Users can design their own application or service on need. This document gives a brief introduction to the state machine that will
be used to control other services and the application.
Users can decide what service to perform in a state as they wish. For example,
The state of an uninitialized USB-service is uninitialized, and then the state will change from Uninitialized to Stopped by
calling API initialize (&cfg) and executing successfully.
Figure 9 shows the mandatory API and corresponding state machine.
NXP Semiconductors
Software introduction
Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020
Application Note 6 / 15