Hello NXP.
I am using S32K142 RDB and SW from below link, everything is working fine including Freemaster.
https://community.nxp.com/t5/S32K-Knowledge-Base/Automotive-Electrical-E-compressor-Aircon-RDB-based...
Now i am porting the same on our in-house developed HW with the processor expert configuration. below is the observation based on configuration.
Configuration:
1. Clock oscillator changed from 16 MHz to 8 Mhz (Necessary changes are done on clock configuration)
2. Processors changed from S32K142 to S32K144 64pin
Error Observation :
1.We are encountering intermittent issues with the CAN communication. Specifically, the CAN connection with Freemaster is unreliable; it connects inconsistently, sometimes establishing a connection and other times failing to do so.
2.During these connectivity issues, when pausing and debugging, control is observed in the following code segment:
Function :void FTM_DRV_ClearStatusFlags(uint32_t instance,
uint32_t flagMask)
for (channel = 0U; channel < FEATURE_FTM_CHANNEL_COUNT; channel++) { if ((chnlMask & 0x00000001U) != 0x0U) { FTM_DRV_ClearChnEventStatus(ftmBase, channel); } chnlMask = chnlMask >> 1U; }
3.Commenting out the McuFtmConfig(); function and reprogramming the device results in stable CAN communication.