About S32K3XX APPLICATION

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

About S32K3XX APPLICATION

52 Views
sunshine88
Contributor I

sunshine88_0-1787046454804.pngsunshine88_0-1787046454804.png

想咨询一下,为什么在S32K358 RTD库函数中,没有Cache_Ip_init()函数,如果没有初始化函数,系统又是怎样初始的哪?系统自启动Cache初始化过程吗?

0 Kudos
Reply
1 Reply

38 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I'd like to ask why there's no `Cache_Ip_init()` function in the S32K358 RTD library. If there's no initialization function, how does the system initialize the cache? Does the system automatically start the cache initialization process?

The S32K358 RTD does not provide a dedicated Cache_Ip_Init() API in recent RTD releases. Cache enablement is handled during device startup through platform/system initialization code. After the cache is enabled, the Cortex-M7 hardware automatically manages cache allocation, invalidation, and line replacement. Therefore, no explicit application-level cache initialization function is required.

Best regards,

Peter

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2406149%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3EAbout%20S32K3XX%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2406149%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sunshine88_0-1787046454804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sunshine88_0-1787046454804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394851iC977B9E5E86CF6C9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sunshine88_0-1787046454804.png%22%20alt%3D%22sunshine88_0-1787046454804.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Esunshine88_0-1787046454804.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Esunshine88_0-1787046454804.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI'd%20like%20to%20ask%20why%20there's%20no%20%60Cache_Ip_init()%60%20function%20in%20the%20S32K358%20RTD%20library.%20If%20there's%20no%20initialization%20function%2C%20how%20does%20the%20system%20initialize%20the%20cache%3F%20Does%20the%20system%20automatically%20start%20the%20cache%20initialization%20process%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2406195%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20About%20S32K3XX%20APPLICATION%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2406195%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EI'd%20like%20to%20ask%20why%20there's%20no%20%60Cache_Ip_init()%60%20function%20in%20the%20S32K358%20RTD%20library.%20If%20there's%20no%20initialization%20function%2C%20how%20does%20the%20system%20initialize%20the%20cache%3F%20Does%20the%20system%20automatically%20start%20the%20cache%20initialization%20process%3F%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EThe%20S32K358%20RTD%20does%20not%20provide%20a%20dedicated%20Cache_Ip_Init()%20API%20in%20recent%20RTD%20releases.%20Cache%20enablement%20is%20handled%20during%20device%20startup%20through%20platform%2Fsystem%20initialization%20code.%20After%20the%20cache%20is%20enabled%2C%20the%20Cortex-M7%20hardware%20automatically%20manages%20cache%20allocation%2C%20invalidation%2C%20and%20line%20replacement.%20Therefore%2C%20no%20explicit%20application-level%20cache%20initialization%20function%20is%20required.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E