bootloader for s32k144 with CANFD & UART in SDK 3.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bootloader for s32k144 with CANFD & UART in SDK 3.4

Jump to solution
403 Views
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 Kudos
Reply
1 Solution
386 Views
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

View solution in original post

1 Reply
387 Views
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