9 MPLAB Harmony Development Models

MPLAB Harmony architecture allows the implementation of a variety of applications from small real-time applications to larger feature rich applications. These applications can be developed using various MPLAB Harmony components (modules) as described in the previous sections. The following development models are derived based on the MPLAB Harmony components used in the application development:

  • Simple device configuration and initialization using the MCC
  • Peripheral library-based application
  • Powerful, conflict-free drivers-based application
  • Application requiring MPLAB Harmony middleware
  • RTOS-based application for optimum Central Processing Unit (CPU) utilization

The following figure shows the MPLAB Harmony components used in different development models. The first two models are used for simple applications and they only need the csp repository to be downloaded (cloned). The last three models are for advanced applications which need core and other repositories.

Figure 9-1. MPLAB Harmony v3 Development Models

All five models are supported by both MPLAB Harmony v2 and MPLAB Harmony v3. However, using the 2nd model for application development is easier in MPLAB Harmony v3 compared to MPLAB Harmony v2.