Hi
I modified the lpuart_echo_s32k144 according to your instructions in S32DS v3.4 + S32K1 SDK 4.0.3, but I didn't encounter this error on my S32K144EVB-Q100.
This error seems to indicate that the clock gate of the PORT is not enabled.
For your board that doesn't have onboard crystal, I suggest modifying the Clock tool configuration to disable SCG.SOSC.
Additionally, for S32K1 SDK 4.0.x, it is recommended to use CLOCK_DRV_Init. For details, please see: SDK problem in S32 Design Studio for ARM 2.2
/* Initialize and configure clocks
* - see clock manager component for details
*/
// CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,
// g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
// CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);
CLOCK_DRV_Init(&clockMan1_InitConfig0);
/* Initialize pins
* - See PinSettings component for more info
*/
PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);
By the way:
It is not recommended to install S32K1 SDK 4.0.x in S32DS v3.5 or v3.6. According to the currently available information, we don’t have any plan to integrate S32SDK S32K1XX 4.0.x into S32DS 3.5 or above version.
But we recommend to use the latest S32K1 RTD. The old SDK will not be updated to fix bugs.
Please download it by click
Real-Time Drivers for S32K1 -> Automotive SW - S32K1_S32M24x - Real-Time Drivers for Cortex-M -> S32K1_S32M24X Real Time Drivers AUTOSAR R21-11 Version 3.0.0 -> SW32K1_S32M24x_RTD_R21-11_3.0.0_D2503_DesignStudio_updatesite.zip
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------