Hi,
I was writing the ETPU-side code for the MPC5777C in BYTESCRAFT to detect the crankshaft signal. It doesn't work.
I have two questions:
1. Is the ETPU module of MPC5777C very different from the ETPU module of MPC5566?
2. Can the BYTECRAFT compiler be used for MPC5777C? The BYTECRAFT version is :
BYTECRAFT ETPU_C version 1.0.7.85
Hello Hanpeng,
With regards to #1 the MPC5777C eTPU has some differences, including the following:
- It has an eTPU2+ rather than eTPU1 - https://www.nxp.com/files-static/32bit/doc/ref_manual/ETPURMAD.pdf describes most of the differences. The eTPU2+ also supports up to 7 missing teeth and a few other small changes, beyond the eTPU2. However, the eTPU2+ is backwards compatible with eTPU1, so code compiled for older targets (say MPC5566 eTPU1) can work.
- The MPC5777C eTPU-AB module has more code and data memory than available on the MPC5566. It also has an eTPU-C module. And of course it can run at quite a bit higher frequency (up to 240MHz on some versions).
For #2 the basic answer is yes, since it can at the very least output eTPU1 code. But I believe the ByteCraft company no longer exists and thus the tool is probably unsupported. Here's another take from an older Community question on this topic: https://community.nxp.com/t5/MPC5xxx/Byte-Craft-eTPU-Compiler/m-p/652673.