I have code for bootloader s32k144, which is based out of the example code attached. I have CANFD & UART enabled in it ,as I need to flash on external flash using SPI which uses SDK 3.4, I did include it. Issue is it works fine with the CANFD but not the UART. How to make UART work?
/*! Clock Configuration */
CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT, g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);
PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);
/* init_clock*/
clock_initi();
If I use only SDK clock UART won't work wheras CANFD does.
已解决! 转到解答。
Hi @Mehnoor
Check the following application note. It has information related to a bootloader with UART that may be useful for you.
AN12218SW, Application note software for AN12218
B.R.
VaneB
Hi @Mehnoor
Check the following application note. It has information related to a bootloader with UART that may be useful for you.
AN12218SW, Application note software for AN12218
B.R.
VaneB