eTPU Function Code Builder
All 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 V3.01A 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.1, Engine Control Library revsion 2

Instructions:
Step 1 : select the target part number / eTPU code memory size
Step 2 : select whether to build for eTPU2 (MPC56xx parts and newer only)
Step 3 : select the eTPU functions needed, making sure they fit in the available code space
Step 4 : when the selections are finalized, click on the build button (note: the build may take several seconds)
Step 5 : 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
  mc_util : math utilities
  IC
Input Capture
  FUEL
Fuel - AN4907
  PWMC
PWM - Commutation Capable
  ASAC
Analog Sensing for AC Motors
  mc_ramp : ramp algorithm
  OC
Output Compare
  INJ
Direct Injection - AN4907
  ASDC
Analog Sensing for DC Motors
  PMSMVC
PMSM Vector Control
  mc_ctrl_pid : PID control routine
  FPM
Frequency and Period Measurement
  KNOCK
Knock - AN4907
  CC
Current Controller
  ACIMVHZ
ACIM V/Hz Control
  mc_sin : sine & cosine functions
  PPA
Pulse/Period Accumulation
  SPARK
Spark - AN4907
  HD
Hall Decoder
  ACIMVC
ACIM Vector Control
  mc_tran : transformations (Park, Clark)
  UART
Universal Asynchronous Receiver/Transmitter
  TG
Tooth Generator - AN4907
  BC
DC-Bus Brake Controller
  mc_elim : ripple elimination
  QOM
Queued Output Match
  SC
Speed Controller
  mc_comm : PWM commutation
  SM
Stepper Motor
  CRANK & CAM
Engine Position - set 2
  QD (all QD)
Quadrature Decoder
  SPI
Synchronous Peripheral Interface
  FUEL
Fuel Injection - set 2
  QDHOME
Quadrature Decoder - Home
  SPWM
Synchronized Pulse Width Modulation
  SPARK
Spark Ignition - set 2
  QDINDEX
Quadrature Decoder - Index
    KNOCK_WINDOW
Knock Window - set 2
  New Motor Control (eTPU2 only, contact us about source access)  

  TOOTHGEN
Tooth Generator - set 2

  AS
Analog Sensing - new MC

 
  PMSM_FOC
PMSM Field Oriented Control - new MC



  PWMM
Motor Control PWM - new MC
  Enhanced SPI (ASH WARE)
Synchronous Peripheral Interface

  QD
Quadrature Decoder - new MC
  I2C Master (ASH WARE)
I2C Master

  RESOLVER
Resolver Interface - new MC
  I2C Slave (ASH WARE)
I2C Slave

  MC
Supporting Code - new MC
  EBPPA (ASH WARE)
Enhanced Both Pulse and Period Accumulation
     

Select memory size / part number:
Memory Used:
Functions Used:
  Build for eTPU2 (MPC56xx/MPC57xx/SPC564Axx/S32K39)
  Memory Remaining:
Functions Remaining:   Enable error handler SCM fill

User Info - name, email, company, or just to say 'hi' (optional):




Build Output & Status [be patient, takes some time to update after 'Build' is clicked!!]




ASH WARE Inc.
Copyright © 1994-2022 ASH WARE Inc.

sales@ashware.com
Other products and brand names are trademarks or registered trademarks of their respective holders.