NXP eTPU Code

ASH WARE – Embedded Software Tools since 1994

Set 1 - 4 Support

Freescale Set 1 through Set 4 are smaller (less code) when compiled with ETEC.  Tighter code allows developers to fit more features in the available memory, and in many cases allows the functions to handle higher frequency signals.  These ports are available for download (as-is, without warranty). Code size details for all four of the Freescale eTPU code sets can be found below.

Freescale Set 1 release 1.30 code size summary. Download Code Here

Function
ASH WARE, Inc. version 2.00A
Byte Craft Limited version 1.0.7.30
Delta
etpuc_sm.c
130
187
-30.5%
etpuc_qom.c
127
173
-26.6%
etpuc_ppa.c
135
163
-17.2%
etpuc_uart.c
100
125
-20.0%
etpuc_spwm.c
85
103
-17.5%
etpuc_spi.c
72
91
-20.9%
etpuc_oc.c
65
80
-18.8%
etpuc_pwm.c
58
78
-25.6%
etpuc_ic.c
51
60
-15.0%
etpuc_fpm.c
34
45
-24.4%
etpuc_gpio.c
32
38
-15.8%
etpuc_set1.c
18
19
-5.3%
etpuc_test.c
9
11
-18.2%
Total
915
1173
-22.0%

 Notes: 

  • Source code files used to run the test were downloaded from the Freescale website and modified slightly such that they would compile under both ETEC and eTPU_C.
  • The ASH WARE build passed the Freescale-provided regression tests.
  • The UART generated .ELF file can be downloaded from our website. Install the simulator and open the ASH WARE Compiler - UART from the windows menu.
  • Delta column shows a comparison between the latest ETEC version and Byte Craft Limited's version 1.0.7.30 (code size data from Freescale release notes).

NEW - Download the newest Freescale automotive eTPU code set and demo!

Freescale Set 2 release 1.2 code size summary. Download Code Here

Function
ASH WARE, Inc. version 2.00A
Byte Craft Limited version 1.0.7.30
Delta
Cam
65
77
-15.6%
Crank
408
524
-22.1%
Fuel
199
233
-14.6%
Knock Window
56
61
-8.2%
Spark
141
190
-25.8%
Tooth Gen
128
154
-16.9%
IC
51
60
-15.0%
QOM
127
173
-26.6%
PWM
58
78
-25.6%
SM
130
187
-25.1%
FPM
34
45
-24.4%
Set2
18
19
-5.3%
Total
1415
1801
-21.4%

 

Freescale Set 3 release 1.2 code size summary. Download Code Here

Function
ASH WARE, Inc. version 2.00A
Byte Craft Limited version 1.0.7.30
Delta
GPIO
32
38
-15.8%
PWMMDC
140
157
-10.8%
PWMF
72
88
-18.2%
PWMC
102
117
-12.8%
HD
122
126
-3.2%
QD
214
248
-13.7%
QDHOME
9
12
-25.0%
QDINDEX
59
75
-21.3%
ASDC
111
121
-8.3%
CC
35
41
-14.6%
SC
124
142
-12.7%
BC
81
93
-12.9%
mc_ctrl_pid
53
53
0.0%
mc_ramp
12
12
0.0%
Global_Error
13
14
-7.1%
Total
1179
1337
-11.8%

 

Freescale Set 4 release 1.0 code size summary. Download Code Here

Function
ASH WARE, Inc. version 1.20C
Byte Craft Limited version 1.0.7.30
Delta
GPIO
32
38
-15.8%
QD
214
248
-13.7%
QDHOME
9
12
-25.0%
QDINDEX
59
75
-21.3%
SC
124
142
-12.7%
BC
81
93
-12.9%
PWMMAC
377
404
-6.7%
PWMF
72
88
-18.2%
ASAC
267
290
-7.9%
ACIMVHZ
90
98
-8.2%
PMSMVC
174
185
-5.9%
ACIMVC
348
361
-3.6%
mc_ctrl_pid
53
53
0.0%
mc_sin
22
31
-29.0%
mc_util
65
66
-1.5%
mc_tran
24
26
-7.7%
mc_ripple_elim
21
22
-4.6%
mc_ramp
12
12
0.0%
Global_Error
13
14
0.0%
Total
2057
2258
-8.9%