hi,
We use MCAL 4.2.2 to develop the 5748G driver. According to the integration manual, we call the MCU-related functions. The function is normal, but we find that it takes 1s to execute these 4 functions, which is too long? is this normal? We are expecting a reply.
Hello,
Yes, 1s execution of AUTOSAR MCU config is in my opinion expected. But this is configuration dependent.
For more precise execution time have a look at AUTOSAR_MCAL_MCU_ProfileReport.xlsx which is part of MPC574XG_MCAL4_2_RTM_1_0_0_QualityPackage.zip located on our web page:
Best regards,
Peter
Hello,@petervlna
1s is too long and does not meet the requirements. We checked the ProfileReport and found that it took no more than 1ms to execute 4 functions. Does this mean there is something wrong with MCU configuration project? Can you give some suggestions or references? We are expecting a reply.
Best regards,
Hello,
Not sure here. Yes, you are right the MCU init takes 1ms according to validation.
But as MCU is wating for PLL to stabilize and there can be delays depending on HW.
Are you using NXP evaluation board or some custom one?
If you change the MCU configuration to run from IRC, do you see any delay?
Best regards,
Peter
hi @petervlna,
I am using our own hardware, we initialized the MCU in Bootloader and set the PLL, we commented out Mcu_InitClock, Mcu_DistributePllClock in the APP, and found that the time will be smaller. Does this mean a problem with our MCAL MCU configuration?