bootloader for s32k144 with CANFD & UART in SDK 3.4

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

bootloader for s32k144 with CANFD & UART in SDK 3.4

跳至解决方案
495 次查看
Mehnoor
Contributor I

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.

0 项奖励
回复
1 解答
478 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Mehnoor 

Check the following application note. It has information related to a bootloader with UART that may be useful for you. 

S32K1xx Bootloader

AN12218SW, Application note software for AN12218

 

B.R.

VaneB

在原帖中查看解决方案

1 回复
479 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Mehnoor 

Check the following application note. It has information related to a bootloader with UART that may be useful for you. 

S32K1xx Bootloader

AN12218SW, Application note software for AN12218

 

B.R.

VaneB