MPC5777c etpu

Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5777c etpu

Contributor III

Hello NXP Teams

I am currently new to etpu and I have just finished reading AN4907.

I am using MPC5777C and trying to set up development environments for etpu.

According to AN4907, it says the library api for the functions could be downloaded on as AN4907SW package but I have no idea where the package is.

So I searched NXP community to find alternative way to download the library and found out that I could select etpu functions and compile it from

In AN4908, it says I should use CodeWarrior 10.6 for IDE but it seems like it's old version and could no longer be downloaded from NXP website. So I downloaded CodeWarrior Development Studio for eTPU v10.3 instead from

I want to know if my settings are all set. 

Also, are there any instructions on CodeWarrior for beginners?

Plus, are there any example codes with the main function fully implemented to test the etpu functions?

Thanks in advance.

0 Kudos
3 Replies

NXP TechSupport
NXP TechSupport

CodeWarrior for eTPU and CodeWarrior for MPC5 are two different development suites (in addition to that for MPC57xx no longer existing, replaced by S32 Design Studio). The principle is that with CodeWarrior for eTPU user develops its own function set and output files (.c and .h files) then may be included to any other compiler for MCUs.

So I would recommend to use S32 Design Studio for Power Architecture v2.1 for MCU code:


For eTPU code development I have answered in previous mail, there are two options:

a) Ashware solution

b) NXP CodeWarrior Development Studio for eTPU v10.3



General answer to the question "how to use eTPU?":


eTPU is an complex I/O co-processor. You can use it two ways:

1) with using of eTPU functions prepared by NXP

2) to create your own function or modify NXP’s function


Ad 1)

For using eTPU functions pre-prepared by NXP (the ones you can download by eTPU Function Selector) without modification you don’t need any eTPU compiler. See

Also there is some new version, currently containing only some functions:

Only download them, configure by eTPU graphical configuration tool (GCT), include all needed files to CodeWarrior or other compiler and use it.

GCT is the tool which is intended to configure most of functions prepared by NXP that can be downloaded as a pack here:

Here you can example procedure how to use eTPU PWM function, step by step:


Every eTPU FUNCTION has its own descriptive documents (application note), its software attachment usually contains some simple example code:


Ad 2)

If you cannot fit our existing eTPU function to your application you can write your own function or modify the existing one you will need eTPU compiler and simulator.

Currently there are 2 options:

1) Ashware solution (compiler + simulator)

2) NXP eTPU2 Development Suite (compiler + simulator)


Buying of following book could be good start point for developing you own eTPU function or library:

Contributor IV

A couple of additional resources:

- demo toolset download that includes an AN4907/AN4908 simulation :

- comprehensive online/self-paced eTPU training :

John Diener
0 Kudos

NXP TechSupport
NXP TechSupport

I am attaching appnotes' SW. I haven't found it on our web currently.

0 Kudos