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
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:
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:
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)
Buying of following book could be good start point for developing you own eTPU function or library:
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..
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:
Thanks, It was a browser cache problem.
Is the source code of CRANK etpu functions available?
Regards