Is there any source code for etpu and can about spc5644a?
You can use:
Example TRK-MPC5634M Initialization of SBC chip MC33905 and FlexCAN
with little modification it will work fine.
And eTPU use general libraries. You can find more information here:
Enhanced Time Processor Unit|NXP
ok,i will download and try them ,thanks very much!