Hi, we're using devices which contains both S32K144 & S32K146 MCU's. So what's my query is can we flash same compiler generated hex file on both MCU and also if flashed weather my application runs without any issues?
Please guide me with some inputs to accomplish this query
if you are moving from S32K144 to S32K146, the devices are compatible and the same hex file can be used. If you are moving in opposite direction, it's important to not use features which are not present on S32K144 - there's less RAM and flash, fewer FlexTimers and ADC channels... (see 2.5 Feature comparison in the reference manual for details).
Notice that there are chip specific registers which contain different values: SDID, LMDR0, LMDR1, MSCM, ADC_SC1n. If your software uses these registers, it's necessary to update the code.
Also notice that Part Identification Number is different. Depending on your flash programmer, it may be necessary to update the settings of your programmer.