ETPU MPC5777C demo app

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

ETPU MPC5777C demo app

641 Views
InhyeokHwang
Contributor III

Hi NXP Team

I wonder if you guys have a demo app of ETPU for MPC5777C.

Thanks.

0 Kudos
4 Replies

583 Views
johndiener
Contributor IV

The demo installation of eTPU2+ DevTool (see https://www.ashware.com/demos) includes many simulation-based demos, but also includes an S32DS-based demo targeting the MPC5777C.  It is called "S32DS Development Board Demo" in the installation.  Note that it also provides an example of initializing and using the eTPU-C module.

John Diener
0 Kudos

630 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am not sure if some demo code has been specifically made for MPC5777C device, but you may use any eTPU example, just be sure you have downloaded eTPU function set compiled just for MPC5777C memory setup:

davidtosenovjan_0-1682080577201.png

On the eTPU webpages, you may find plenty of appnotes describing particular eTPU funtions, usually containing examples codes:

https://www.nxp.com/design/software/development-software/enhanced-time-processor-unit:eTPU?fsrch=1&s...

 

 

0 Kudos

621 Views
InhyeokHwang
Contributor III
I am always very thankful for the reply. I appreciate it.
0 Kudos

631 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

http://www.nxp.com/webapp/etpu/

 

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

http://www.nxp.com/webapp/etpu_cw/

 

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:

http://www.nxp.com/webapp/sps/download/license.jsp?colCode=ETPUGCT&Parent_nodeId=1311258915317726989...

 

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

http://www.nxp.com/files/soft_dev_tools/doc/app_note/AN4687.pdf

 

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

http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-archite...

 

 

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)

https://www.ashware.com/etpu2-simulators

 

2) NXP eTPU2 Development Suite (compiler + simulator)

http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-archite...

 

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

https://www.ashware.com/etpu-programming-made-easy-book

0 Kudos