The source code of S32K144 need to transplant in S32K142

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The source code of S32K144 need to transplant in S32K142

991 Views
hsieh_jaros
Contributor I

Hi Sir 

We have a development board which the MCU is S32K144 and we had design a source code for it.

Now, HW take the S32K142 to replace regular MCU because the predicament for getting MCU source.

We have a question:

Is Regular source code of S32K144 can transplant in S32K142 directly ?

(Supplier told us that S32K144 and S32K142 can used same source code)

if it is not

How to Source code transplant success in S32K142 from S32K144 ?

Tags (1)
0 Kudos
3 Replies

874 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jaros,

S32K144 and S32K142 MCUs are very similar. I don't know your source code and which peripherals are used here, however, there are some differences that should be checked such as Flash, RAM memory sizes, number of LPUART, LPSPI. etc.

I recommend you to look at section 2.5 Feature comparison in the RM rev 12.1

The memory map of the S32K1xx devices can be found in the attachment of the RM

https://www.nxp.com/webapp/Download?colCode=S32K1XXRM  

I hope it helps.

Best regards,

Diana

0 Kudos

874 Views
hsieh_jaros
Contributor I

Hi Sir 

According to the operating information follow:

HOWTO: Change the CPU Derivative in an SDK-Based Application Project 

I was changing the MCU from S32K144 to S32K142 and build code successfully

but it's has a Error Signal when the image was flash into MCU 

pastedImage_3.png

How to resolve the bug ?

Help us ,Please.

Thank you very much.

0 Kudos

874 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jaros,

It is not easy to find out the root cause of this error.

However, after discussion with S32DS experts, the emergency Kinetis device recovery option in debug configuration can help.

pastedImage_2.png

Also, you can try to delete all breakpoints, clean project, rebuild and try to debug again.

If not help, can you share your project?

Best regards,

Diana

0 Kudos