We used S9KEAZN8AMTG on the electronic shifter. The road test found that the problem was: after more than 20 hours of continuous road test, the vehicle was stopped, and then the start of the shifter indicator was flashed.
S9KEAZN8AMTG uses the PWT function to collect the pulse width. Because the PCB is too small, the internal crystal oscillator is used, resulting in data error of about 20%. The chip consistency is not good. Is there a way to calibrate through software?
Hi zhiyong zhang ,
What's the internal clock you are using in your code? The factory trimmed IRC is 37.5kHz in default, do you also use the 37.5kHz or others?
If you want to do the trim, you can use the P&E multilink or the opensda tool to trim it, but each chip trim value is not the same even you want to use the same IRC clock, you need to get the trim value by the tool, then write it to the ICS_C3, ICS_C4 in your code.
I still didn't find the related software calibrate application for kinetis.
In my memory, you can refer to the 8bit application:
https://www.nxp.com/docs/en/application-note/AN2496.pdf
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------