Dear Sir or Madam,
I have a question related to this AN5327SW.
Currently, this SW runs the motor by using MCAT tool.
Is there some advice or other example that runs with LIN communication?
Dear BJ Hwang,
As far as I know, there is no example available combining LIN communication and motor control application for S12ZVML.
But you can combine two application notes AN5327 and AN5122 available at S12ZVM Mixed-Signal MCUs|MagniV|NXP
Since the AN5327 is controlled by FreeMASTER - MCAT interface, the only change would be necessary only if the SCI hardware pins overlap the LIN communication pins. Then you would have a possibility to debug the communication using FreeMASTER as well.
Thank you for the reply. From your advice I tried to combine the application note AN5327 / AN5122.
Not like application notes, I set the MCU slave S12ZVML128 and made cfg file. After that I put all the LIN Driver from the AN5122 to AN5327 and made access path to it also. Lastly, I include "Lin.h" and build the project. The compile progress was ok, but when I debug this application notes, this failed to resume target process. downloading binary to target... messages comes out.
Could you tell me this?
Retrieving data ...