Hello,
I am generating and building a custom S32K project with Autosar MCAL by generating config in EB-Tresos. The frequency of the crystal connected to the XTAL pins is 16MHz. However, when i change the value of SOSC Frequency in EB-Tresos to this value, there is an error that comes up with regard to HSRUN Clock Frequency. However this feature is not available in the S32K118.
If I ignore the issue and use the generated config, the code doesnt run as expected. Unwanted interrupts and runaway code.
Attached are the screenshots indicating the issue.
Request you support to solve this issue.
Solved! Go to Solution.
Hi @cbhavi ,
Could you try this way:
Open Resource module and change ResourceSubderivative to another derivative (e.g s32k142):
Then go back to Mcu module configure to change the error value by press on the button calculate HSRUN value:
After that, you change ResourceSubderivative back to S32K118
Hi @cbhavi ,
Could you try this way:
Open Resource module and change ResourceSubderivative to another derivative (e.g s32k142):
Then go back to Mcu module configure to change the error value by press on the button calculate HSRUN value:
After that, you change ResourceSubderivative back to S32K118