Difference between eTPU Function Selector and Codewarrior

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Difference between eTPU Function Selector and Codewarrior

749 次查看
Eashwar
Contributor I

Hi,

I am new to eTPU and Codewarrior software. I find there is eTPU function selector, where I can download the API functions only and on other end Codewarrior software to develop eTPU functions.

Kindly provide clarification on the difference between both methods. Since codewarrior for eTPU is licensed tool, provide the difference between standard and pro. version for MPC5777C.

Regards,

Eashwar

0 项奖励
2 回复数

688 次查看
johndiener
Contributor IV

Hello Eashwar,

Just to add one note to David's answer, there is one other resource for selecting off-the-shelf eTPU functions - ASH WARE's eTPU Code Builder - see https://www.ashware.com/etpu-code-builder.  Except for one or two functions it provides access to all of the NXP off-the-shelf eTPU code, and also lists additional ASH WARE designed functions such as I2C, in one place.  As with the NXP options listed, the selected functions are combined into a single build that is compiled and packaged with everything needed for host integration.

John Diener
0 项奖励

736 次查看
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 (preferred solution is no.1):

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