eTPU Function Code Builder
All 4 NXP eTPU Function Sets have been ported to compile under ETEC!  Generally the changes are very minor, however, this code, when built under ETEC, offers tighter & faster running code than is available with the standard NXP distribution. This source has been modified in compliance with the NXP copyright, which is retained in all source code files, and is provided "as-is" without warranty.

This web application allows a combination of standard NXP eTPU functions to be selected and built into an executable image with the ASH WARE ETEC eTPU/eTPU2/eTPU2+ Compiler.  All files required by the host CPU interface are also generated.  All source & output is packaged into a zip for download.  Notes:
- ETEC V2.63A is used to generate the executable image
- Source code is based from Freescale Set 1 version 1.3, Set 2 version 1.2, Set 3 version 1.2 and Set 4 version 1.0, Engine Control Library revsion 2

Instructions:
Step 1 : select the target part number / eTPU code memory size
Step 2 : select the eTPU functions needed, making sure they fit in the available code space
Step 3 : when the selections are finalized, click on the build button (note: the build may take several seconds)
Step 4 : download the zip file of the soure code and all build outputs

Set 1 Functions
General Timing & Communications
AN4907 / Set 2 Functions
Automotive
Set 3 Functions
DC & General Motor Control
Set 4 Functions
AC Motor Control
Common Code/Routines




  GPIO
General Pin Input / Output
  CRANK & CAM
Engine Position - AN4907
  PWMMDC
PWM - Master for DC Motors
  PWMMAC
PWM - Master for AC Motors
  GlobalError, Link4, ETEC error handling library
  PWM
Pulse Width Modulation
  CRANK_EMUL
Crank Emulator - AN4907
  PWMF
PWM - Full Range
  ASAC
Analog Sensing for AC Motors
  mc_util : math utilities
  IC
Input Capture
  FUEL
Fuel - AN4907
  PWMC
PWM - Commutation Capable
  PMSMVC
PMSM Vector Control
  mc_ramp : ramp algorithm
  OC
Output Compare
  INJ
Direct Injection - AN4907
  ASDC
Analog Sensing for DC Motors
  ACIMVHZ
ACIM V/Hz Control
  mc_ctrl_pid : PID control routine
  FPM
Frequency and Period Measurement
  KNOCK
Knock - AN4907
  BC
DC-Bus Brake Controller
  ACIMVC
ACIM Vector Control
  mc_sin : sine & cosine functions
  PPA
Pulse/Period Accumulation
  SPARK
Spark - AN4907
  CC
Current Controller
  mc_tran : transformations (Park, Clark)
  UART
Universal Asynchronous Receiver/Transmitter
  TG
Tooth Generator - AN4907
  SC
Speed Controller
  AS
Analog Sensing - new MC
  mc_elim : ripple elimination
  QOM
Queued Output Match
  HD
Hall Decoder
  PMSM_FOC
PMSM Field Oriented Control - new MC
  mc_comm : PWM commutation
  SM
Stepper Motor
  CRANK & CAM
Engine Position - set 2
  QD (all QD)
Quadrature Decoder
  PWMM
Motor Control PWM - new MC
  SPI
Synchronous Peripheral Interface
  FUEL
Fuel Injection - set 2
  QDHOME
Quadrature Decoder - Home
  QD
Quadrature Decoder - new MC
  SPWM
Synchronized Pulse Width Modulation
  SPARK
Spark Ignition - set 2
  QDINDEX
Quadrature Decoder - Index
  RESOLVER
Resolver Interface - new MC

  KNOCK_WINDOW
Knock Window - set 2

  MC
Supporting Code - new MC

  TOOTHGEN
Tooth Generator - set 2






  Enhanced SPI (ASH WARE)
Synchronous Peripheral Interface


  I2C Master (ASH WARE)
I2C Master


  I2C Slave (ASH WARE)
I2C Slave


Select memory size / part number:
Memory Used:
Memory Remaining:
  Build for eTPU2 (MPC56xx/MPC57xx/SPC564Axx)

User Info - name, email, company (optional):




Build Output & Status