Problem to initialize Systick in FRDM-MCXA153 using peripherals config tool

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

Problem to initialize Systick in FRDM-MCXA153 using peripherals config tool

138 Views
zorrotz
Contributor III

I have used peripherals config tool to configure the Systick to work with cpu_clk divided by 4.

After building the project there are 2 compilation errors, due to the lack of kCPU_CLK_to_SYSTICK and kCLOCK_DivSYSTICK definitions.

I have checked that these definitions are not included in fsl_clock.h file.

Note that I use MCUxpresso IDE 25.6 and SDK 25.09.

The fsl_clock.h file of the mcux-sdk 2.16 available in github includes these definitions, but i not confident in this file because i have found some bugs, for example:

- the are some comments that are incorrect

- CLOCK_FRO12MTrimConfig() function of fsl_clock.c file has this code:

                 SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.cltrim);
                 SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.ccotrim);

    and i think that it should be:

                 SCG0->SIRCSTAT = SCG_SIRCSTAT_CLTRIM(config.cltrim);
                 SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.ccotrim);

I have also search the documentation for SDK 25.12, but these definitions are not included.

I can manually modify fsl_clock.h file, but I prefer to have a correct SDK.

Is there a SDK version for FRDM-MCXA153 which includes these definitions?

 

Labels (2)
Tags (2)
0 Kudos
Reply
4 Replies

114 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi  @zorrotz 

I have checked the frdm_mcxa153 v25.09 SDK.

In fsl_clock.c

Harry_Zhang_0-1765968291918.png

status_t CLOCK_FRO12MTrimConfig(sirc_trim_config_t config)
{
    SCG0->SIRCTCFG = SCG_SIRCTCFG_TRIMDIV(config.trimDiv) | SCG_SIRCTCFG_TRIMSRC(config.trimSrc);

    if (kSCG_SircTrimNonUpdate == config.trimMode)
    {
        SCG0->SIRCSTAT = (SCG0->SIRCSTAT & ~SCG_SIRCSTAT_CLTRIM_MASK) | SCG_SIRCSTAT_CLTRIM(config.cltrim);
        SCG0->SIRCSTAT = (SCG0->SIRCSTAT & ~SCG_SIRCSTAT_CCOTRIM_MASK) | SCG_SIRCSTAT_CCOTRIM(config.ccotrim);
    }

    /* Set trim mode. */
    SCG0->SIRCCSR = (SCG0->SIRCCSR & ~(SCG_SIRCCSR_SIRCTREN_MASK | SCG_SIRCCSR_SIRCTRUP_MASK)) | (uint32_t)config.trimMode;

    if ((SCG0->SIRCCSR & SCG_SIRCCSR_SIRCVLD_MASK) == 0U)
    {
        return (status_t)kStatus_Fail;
    }

    if ((SCG0->SIRCCSR & SCG_SIRCCSR_SIRCERR_MASK) == SCG_SIRCCSR_SIRCERR_MASK)
    {
        return (status_t)kStatus_Fail;
    }

    if ((SCG0->SIRCCSR & SCG_SIRCCSR_TRIM_LOCK_MASK) == 0U)
    {
        return (status_t)kStatus_Fail;
    }

    return (status_t)kStatus_Success;
}

You can refer to it.

BR

Harry

0 Kudos
Reply

105 Views
zorrotz
Contributor III

Hi Harry

Yes, CLOCK_FRO12MTrimConfig() function in SDK v25.09 is OK, but the problem is that this SDK version doesn't have kCPU_CLK_to_SYSTICK and kCLOCK_DivSYSTICK definitions.

BR

 

 

0 Kudos
Reply

76 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @zorrotz 

Yes, i have checked the code.

It is a bug.

I will report it to our SDK team.

If you want to use kCPU_CLK_to_SYSTICK and kCLOCK_DivSYSTICK.

 

Harry_Zhang_0-1766042327334.png

Harry_Zhang_2-1766042465654.png

 

Harry_Zhang_1-1766042338256.png

You need to add some code in fsl_clock.h

Harry_Zhang_3-1766042710072.pngHarry_Zhang_4-1766042747585.png

 

Hope this will help you.

BR

Harry

0 Kudos
Reply

61 Views
zorrotz
Contributor III

Thank you Harry!

I will modify fsl_clock.h file.

 

BR

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2264733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProblem%20to%20initialize%20Systick%20in%20FRDM-MCXA153%20using%20peripherals%20config%20tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20used%20peripherals%20config%20tool%20to%20configure%20the%20Systick%20to%20work%20with%20cpu_clk%20divided%20by%204.%3C%2FP%3E%3CP%3EAfter%20building%20the%20project%20there%20are%202%20compilation%20errors%2C%20due%20to%20the%20lack%20of%26nbsp%3B%3CSPAN%3EkCPU_CLK_to_SYSTICK%20and%26nbsp%3BkCLOCK_DivSYSTICK%20definitions.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20checked%20that%20these%20definitions%20are%20not%20included%20in%20fsl_clock.h%20file.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENote%20that%20I%20use%20MCUxpresso%20IDE%2025.6%20and%20SDK%2025.09.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20fsl_clock.h%20file%20of%20the%20mcux-sdk%202.16%20available%20in%20github%20includes%20these%20definitions%2C%20but%20i%20not%20confident%20in%20this%20file%20because%20i%20have%20found%20some%20bugs%2C%20for%20example%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%20the%20are%20some%20comments%20that%20are%20incorrect%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%26nbsp%3BCLOCK_FRO12MTrimConfig()%20function%20of%20fsl_clock.c%20file%20has%20this%20code%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSCG0-%26gt%3BSIRCSTAT%20%3D%20SCG_SIRCSTAT_%3CFONT%20color%3D%22%23FF0000%22%3ECCOTRIM%3C%2FFONT%3E(config.cltrim)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSCG0-%26gt%3BSIRCSTAT%20%3D%20SCG_SIRCSTAT_CCOTRIM(config.ccotrim)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20and%20i%20think%20that%20it%20should%20be%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSCG0-%26gt%3BSIRCSTAT%20%3D%20SCG_SIRCSTAT_%3CFONT%20color%3D%22%23FF0000%22%3ECLTRIM%3C%2FFONT%3E(config.cltrim)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSCG0-%26gt%3BSIRCSTAT%20%3D%20SCG_SIRCSTAT_CCOTRIM(config.ccotrim)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20also%20search%20the%20documentation%20for%20SDK%2025.12%2C%20but%20these%20definitions%20are%20not%20included.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20can%20manually%20modify%20fsl_clock.h%20file%2C%20but%20I%20prefer%20to%20have%20a%20correct%20SDK.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20there%20a%20SDK%20version%20for%26nbsp%3BFRDM-MCXA153%20which%20includes%20these%20definitions%3F%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2264733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EClock%7CTimers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2265780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20to%20initialize%20Systick%20in%20FRDM-MCXA153%20using%20peripherals%20config%20tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2265780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F59428%22%20target%3D%22_blank%22%3E%40zorrotz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20i%20have%20checked%20the%20code.%3C%2FP%3E%0A%3CP%3EIt%20is%20a%20bug.%3C%2FP%3E%0A%3CP%3EI%20will%20report%20it%20to%20our%20SDK%20team.%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20use%26nbsp%3BkCPU_CLK_to_SYSTICK%20and%26nbsp%3B%3CSPAN%3EkCLOCK_DivSYSTICK.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1766042327334.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1766042327334.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1766042327334.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370571iBB6BAEF02471336F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1766042327334.png%22%20alt%3D%22Harry_Zhang_0-1766042327334.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_2-1766042465654.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_2-1766042465654.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_2-1766042465654.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370573iB2765589F9902F1D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_2-1766042465654.png%22%20alt%3D%22Harry_Zhang_2-1766042465654.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_1-1766042338256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_1-1766042338256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_1-1766042338256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370572i405EC295B6ABDCAD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_1-1766042338256.png%22%20alt%3D%22Harry_Zhang_1-1766042338256.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20need%20to%20add%20some%20code%20in%20fsl_clock.h%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_3-1766042710072.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_3-1766042710072.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_3-1766042710072.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370574i22E81EFC9BD1CF58%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_3-1766042710072.png%22%20alt%3D%22Harry_Zhang_3-1766042710072.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_4-1766042747585.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_4-1766042747585.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_4-1766042747585.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370575i94E45AB45ABA1856%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_4-1766042747585.png%22%20alt%3D%22Harry_Zhang_4-1766042747585.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHope%20this%20will%20help%20you.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2264973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20to%20initialize%20Systick%20in%20FRDM-MCXA153%20using%20peripherals%20config%20tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%3C%2FP%3E%3CP%3EYes%2C%20CLOCK_FRO12MTrimConfig()%20function%20in%26nbsp%3BSDK%20v25.09%20is%20OK%2C%20but%20the%20problem%20is%20that%20this%20SDK%20version%20doesn't%20have%26nbsp%3BkCPU_CLK_to_SYSTICK%20and%20kCLOCK_DivSYSTICK%20definitions.%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2264892%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20to%20initialize%20Systick%20in%20FRDM-MCXA153%20using%20peripherals%20config%20tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264892%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F59428%22%20target%3D%22_blank%22%3E%40zorrotz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20checked%20the%20frdm_mcxa153%20v25.09%20SDK.%3C%2FP%3E%0A%3CP%3EIn%20fsl_clock.c%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1765968291918.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1765968291918.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1765968291918.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370422i3B4D76CF66338690%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1765968291918.png%22%20alt%3D%22Harry_Zhang_0-1765968291918.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Estatus_t%20CLOCK_FRO12MTrimConfig(sirc_trim_config_t%20config)%0A%7B%0A%20%20%20%20SCG0-%26gt%3BSIRCTCFG%20%3D%20SCG_SIRCTCFG_TRIMDIV(config.trimDiv)%20%7C%20SCG_SIRCTCFG_TRIMSRC(config.trimSrc)%3B%0A%0A%20%20%20%20if%20(kSCG_SircTrimNonUpdate%20%3D%3D%20config.trimMode)%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20SCG0-%26gt%3BSIRCSTAT%20%3D%20(SCG0-%26gt%3BSIRCSTAT%20%26amp%3B%20~SCG_SIRCSTAT_CLTRIM_MASK)%20%7C%20SCG_SIRCSTAT_CLTRIM(config.cltrim)%3B%0A%20%20%20%20%20%20%20%20SCG0-%26gt%3BSIRCSTAT%20%3D%20(SCG0-%26gt%3BSIRCSTAT%20%26amp%3B%20~SCG_SIRCSTAT_CCOTRIM_MASK)%20%7C%20SCG_SIRCSTAT_CCOTRIM(config.ccotrim)%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F*%20Set%20trim%20mode.%20*%2F%0A%20%20%20%20SCG0-%26gt%3BSIRCCSR%20%3D%20(SCG0-%26gt%3BSIRCCSR%20%26amp%3B%20~(SCG_SIRCCSR_SIRCTREN_MASK%20%7C%20SCG_SIRCCSR_SIRCTRUP_MASK))%20%7C%20(uint32_t)config.trimMode%3B%0A%0A%20%20%20%20if%20((SCG0-%26gt%3BSIRCCSR%20%26amp%3B%20SCG_SIRCCSR_SIRCVLD_MASK)%20%3D%3D%200U)%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20return%20(status_t)kStatus_Fail%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20((SCG0-%26gt%3BSIRCCSR%20%26amp%3B%20SCG_SIRCCSR_SIRCERR_MASK)%20%3D%3D%20SCG_SIRCCSR_SIRCERR_MASK)%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20return%20(status_t)kStatus_Fail%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20((SCG0-%26gt%3BSIRCCSR%20%26amp%3B%20SCG_SIRCCSR_TRIM_LOCK_MASK)%20%3D%3D%200U)%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20return%20(status_t)kStatus_Fail%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20return%20(status_t)kStatus_Success%3B%0A%7D%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EYou%20can%20refer%20to%20it.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2266133%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20to%20initialize%20Systick%20in%20FRDM-MCXA153%20using%20peripherals%20config%20tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2266133%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20Harry!%3C%2FP%3E%3CP%3EI%20will%20modify%20fsl_clock.h%20file.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBR%3C%2FP%3E%3C%2FLINGO-BODY%3E