Beginner questions on MPC and ETPU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Beginner questions on MPC and ETPU

2,083件の閲覧回数
damien_darhk
Contributor II

 I'm totaly new on etpu, never used MCP before, only HC08,HCS08 and HCS12, or Coldfire v1. I'm a bit confusing about the tool to use: in some AN I read that for MCU code is needed CW for MPC55xx/56xx 2.10, and if need to create ETPU code CW for ETPU, but in other is used S32. Also I can't download precompiled function from online etpu selector because I get an error occured. Can anyone put me in the right direction to start please?

Regards

5 返答(返信)

1,928件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi,

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

1,928件の閲覧回数
damien_darhk
Contributor II

Thanks. I'll start with nxp function for now, I already tryed to download these function from the link  https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fetpu%2F    But i get the message that an error happend..

0 件の賞賛
返信

1,928件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

It works to me.

Try to enter following address to the web browser and link to the function selectors you may see on the first page:

www.nxp.com/etpu

1,928件の閲覧回数
damien_darhk
Contributor II

Thanks, It was a browser cache problem.

Is the source code of CRANK etpu functions available? 

Regards

0 件の賞賛
返信

1,928件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Yes, all (at least most) source codes are available over application notes. I am attaching excel summary I have created some time ago (2015), it is not updated but I believe it could help anyway.