Skip to main content
Application NoteNxp

Using eTPU2 and eQADC for PWM Control on the MPC563xM

This application note demonstrates an open-loop LED dimmer using the eTPU2 and eQADC on the MPC563xM microcontroller to translate analog input into PWM duty cycles.

View application note

Overview

This document details the implementation of a PWM-controlled LED dimmer using the NXP MPC563xM (specifically MPC5634M) 32-bit Power Architecture microcontroller. It provides a technical guide on initializing the Phase-Locked Loop (PLL) for a 64 MHz system clock, configuring the enhanced Analog-to-Digital Converter (eQADC) for single software scan sampling of a potentiometer, and utilizing the enhanced Timing Processor (eTPU2) for PWM signal generation. The design illustrates an open-loop system where analog voltage measurements are mapped to duty cycles, a fundamental architecture for automotive engine management and industrial control applications.

Use Cases

  • LED brightness control
  • Open-loop engine management
  • Motor speed regulation
  • Analog sensor to PWM translation
  • Automotive timing and actuator control

Topics

NXP
MPC5634M
MPC563xM
eTPU2
eQADC
PWM control
LED dimmer
Power Architecture
microcontroller
PLL
analog-to-digital converter

Referenced Parts

MPC5634M

NXP

This example is designed for the low cost TRK-MPC5634M board (TRK), but can also be run on the MPC5634MKIT (EVB) with expanded capability.