MCXE316 Configuration Tool

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

MCXE316 Configuration Tool

1,033 Views
brucebowling
Contributor I

I am using the MCXE316 device (48-pin Cortex M7) and using the Configuration tool, however I am experiencing issues with it, both the MCUExpresso version and the standalone version:

A) The MCUXpresso version always tells me that this device is not supported, and to check my internet connection. I have downloaded the latest SDK (21.12.00 built 03-21-2026) and the same issue - cannot open the pin, clock, or TEE. I can use this tool for the MCXE31B variant but not the MCXE316 smaller chip.

B) I have better luck with the standalone tool (CFG), this tool I can properly set pins and the clock domain, and it will create output code. However when I try to run the TEE (Trusted Execution Environment) the tool says there is no data for the MCXE316 variant. I want to set up the MPU for a default configuration.

Also, all of the demos for the MCXE family are for the MCXE31B device, nothing for the MCXE316 version - pretty sure the MPU settings are different due to memory size, etc .

So, my 3 questions:

1) Is the MCXE316 the same as the MCXE31B in regards to the MPU capability? Not seeing a definitive answer to this but I may be missing something within the reference manual.

2) Does the MCXE316 device, out of reset, put the MPU in some sort of default state where the chip is usable but regions are not protected as would be with a customized initialization?

3) Can you provide a default MPU initialization for the MCXE316 device, or give me ideas on why the tool does not operate for the TEE mode? 

Thank you for the assistance!

Labels (1)
0 Kudos
Reply
2 Replies

986 Views
brucebowling
Contributor I

Thank you for the response, I will read up on the various sections of the user manual regarding the setup.

I did verify that on reset the MPU is disabled, and this is further backed up on the Excel spreadsheet provided within the reference manual, under the "memories" tab - it indicates that all memory sections are non-cacheable at reset which makes sense in that each section needs to be defined as cacheable, bufferable, etc.

Within the FRDM-MCXE31B examples source files, inside the directory "board" there is a file board.c that contains the function BOARD_ConfigMPU() that is the MPU setup for the MCXE31B variant. I plan on using this to adapt from the 31B to the 316 variants, which hopefully is not that difficult.  

0 Kudos
Reply

1,012 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @brucebowling 

Thanks for your post!

1. There are not documented differences of the MPU between the MCXE31 family 

2. ARM stays that the MPU is disabled after reset, please refer to ARM Documentation. Armv8-M Memory Model and Memory Protection User Guide

3. There is not a Driver or example available for the MPU of the MCXE31x, the MRC of the XRDC module is basically a system-level MPU which sits at the crossbar switch (AXBS), and it allows isolation of the individual masters (cores, DMA, ...) and the slaves on the bus (both memories and peripherals).

The MRC applicability's for each device are listed at the chapter 18.1.2 MRC configuration of the Reference Manual. 

You could refer to the XRDC example for the FRDM-MCXE31B

Regarding your point A: The Config Tools updates is by default disable in MCUXpresso IDE, if you want to enable it, go to Windows -> Preferences -> Install/Update -> Available Software Sites, mark the MCUXpresso Config Tools click Apply and Close.

Screenshot 2026-04-06 163322.png

Next go to Help -> Check for Updates

With this you will updates Config Tools to the newest version for MCXUXpresso IDE and you were able to use it for the MCXE316. 

Please note that TEE is disabled for all MCXE31x family devices at Config Tools, so you would need to implement your own solution.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2345732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMCXE316%20Configuration%20Tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2345732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20the%20MCXE316%20device%20(48-pin%20Cortex%20M7)%20and%20using%20the%20Configuration%20tool%2C%20however%20I%20am%20experiencing%20issues%20with%20it%2C%20both%20the%20MCUExpresso%20version%20and%20the%20standalone%20version%3A%3C%2FP%3E%3CP%3EA)%20The%20MCUXpresso%20version%20always%20tells%20me%20that%20this%20device%20is%20not%20supported%2C%20and%20to%20check%20my%20internet%20connection.%20I%20have%20downloaded%20the%20latest%20SDK%20(21.12.00%20built%2003-21-2026)%20and%20the%20same%20issue%20-%20cannot%20open%20the%20pin%2C%20clock%2C%20or%20TEE.%20I%20can%20use%20this%20tool%20for%20the%20MCXE31B%20variant%20but%20not%20the%20MCXE316%20smaller%20chip.%3C%2FP%3E%3CP%3EB)%20I%20have%20better%20luck%20with%20the%20standalone%20tool%20(CFG)%2C%20this%20tool%20I%20can%20properly%20set%20pins%20and%20the%20clock%20domain%2C%20and%20it%20will%20create%20output%20code.%20However%20when%20I%20try%20to%20run%20the%20TEE%20(Trusted%20Execution%20Environment)%20the%20tool%20says%20there%20is%20no%20data%20for%20the%20MCXE316%20variant.%20I%20want%20to%20set%20up%20the%20MPU%20for%20a%20default%20configuration.%3C%2FP%3E%3CP%3EAlso%2C%20all%20of%20the%20demos%20for%20the%20MCXE%20family%20are%20for%20the%20MCXE31B%20device%2C%20nothing%20for%20the%20MCXE316%20version%20-%20pretty%20sure%20the%20MPU%20settings%20are%20different%20due%20to%20memory%20size%2C%20etc%20.%3C%2FP%3E%3CP%3ESo%2C%20my%203%20questions%3A%3C%2FP%3E%3CP%3E1)%20Is%20the%20MCXE316%20the%20same%20as%20the%20MCXE31B%20in%20regards%20to%20the%20MPU%20capability%3F%20Not%20seeing%20a%20definitive%20answer%20to%20this%20but%20I%20may%20be%20missing%20something%20within%20the%20reference%20manual.%3C%2FP%3E%3CP%3E2)%20Does%20the%20MCXE316%20device%2C%20out%20of%20reset%2C%20put%20the%20MPU%20in%20some%20sort%20of%20default%20state%20where%20the%20chip%20is%20usable%20but%20regions%20are%20not%20protected%20as%20would%20be%20with%20a%20customized%20initialization%3F%3C%2FP%3E%3CP%3E3)%20Can%20you%20provide%20a%20default%20MPU%20initialization%20for%20the%20MCXE316%20device%2C%20or%20give%20me%20ideas%20on%20why%20the%20tool%20does%20not%20operate%20for%20the%20TEE%20mode%3F%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20assistance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2345732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ESecurity(Edgelock%20%7C%20secure%20boot%20%7C%20OTP)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2345825%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCXE316%20Configuration%20Tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2345825%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%2F129422%22%20target%3D%22_blank%22%3E%40brucebowling%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post!%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20There%20are%20not%20documented%20differences%20of%20the%20MPU%20between%20the%20MCXE31%20family%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.%20ARM%20stays%20that%20the%20MPU%20is%20disabled%20after%20reset%2C%20please%20refer%20to%20ARM%20Documentation.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeveloper.arm.com%2Fdocumentation%2F107565%2F0101%2FIntroduction%2FMemory-Protection-Unit--MPU-%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EArmv8-M%20Memory%20Model%20and%20Memory%20Protection%20User%20Guide%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E3.%20There%20is%20not%20a%20Driver%20or%20example%20available%20for%20the%20MPU%20of%20the%20MCXE31x%2C%20the%20MRC%20of%20the%20XRDC%20module%20is%20basically%20a%20system-level%20MPU%20which%20sits%20at%20the%20crossbar%20switch%20(AXBS)%2C%20and%20it%20allows%20isolation%20of%20the%20individual%20masters%20(cores%2C%20DMA%2C%20...)%20and%20the%20slaves%20on%20the%20bus%20(both%20memories%20and%20peripherals).%3C%2FP%3E%0A%3CP%3EThe%20MRC%20applicability's%20for%20each%20device%20are%20listed%20at%20the%20chapter%26nbsp%3B%3CSTRONG%3E18.1.2%20MRC%20configuration%3C%2FSTRONG%3E%20of%20the%20Reference%20Manual.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20refer%20to%20the%20XRDC%20example%20for%20the%20FRDM-MCXE31B%3C%2FP%3E%0A%3CP%3ERegarding%20your%20point%20A%3A%20The%20Config%20Tools%20updates%20is%20by%20default%20disable%20in%20MCUXpresso%20IDE%2C%20if%20you%20want%20to%20enable%20it%2C%20go%20to%20Windows%20-%26gt%3B%20Preferences%20-%26gt%3B%20Install%2FUpdate%20-%26gt%3B%20Available%20Software%20Sites%2C%20mark%20the%20MCUXpresso%20Config%20Tools%20click%20Apply%20and%20Close.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202026-04-06%20163322.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202026-04-06%20163322.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202026-04-06%20163322.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381371iBDD8854267B320FF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202026-04-06%20163322.png%22%20alt%3D%22Screenshot%202026-04-06%20163322.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENext%20go%20to%20Help%20-%26gt%3B%20Check%20for%20Updates%3C%2FP%3E%0A%3CP%3EWith%20this%20you%20will%20updates%20Config%20Tools%20to%20the%20newest%20version%20for%20MCXUXpresso%20IDE%20and%20you%20were%20able%20to%20use%20it%20for%20the%20MCXE316.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20TEE%20is%20disabled%20for%20all%20MCXE31x%20family%20devices%20at%20Config%20Tools%2C%20so%20you%20would%20need%20to%20implement%20your%20own%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCXE316%20Configuration%20Tool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20the%20response%2C%20I%20will%20read%20up%20on%20the%20various%20sections%20of%20the%20user%20manual%20regarding%20the%20setup.%3C%2FP%3E%3CP%3EI%20did%20verify%20that%20on%20reset%20the%20MPU%20is%20disabled%2C%20and%20this%20is%20further%20backed%20up%20on%20the%20Excel%20spreadsheet%20provided%20within%20the%20reference%20manual%2C%20under%20the%20%22memories%22%20tab%20-%20it%20indicates%20that%20all%20memory%20sections%20are%20non-cacheable%20at%20reset%20which%20makes%20sense%20in%20that%20each%20section%20needs%20to%20be%20defined%20as%20cacheable%2C%20bufferable%2C%20etc.%3C%2FP%3E%3CP%3EWithin%20the%20FRDM-MCXE31B%20examples%20source%20files%2C%20inside%20the%20directory%20%22board%22%20there%20is%20a%20file%20board.c%20that%20contains%20the%20function%20BOARD_ConfigMPU()%20that%20is%20the%20MPU%20setup%20for%20the%20MCXE31B%20variant.%20I%20plan%20on%20using%20this%20to%20adapt%20from%20the%2031B%20to%20the%20316%20variants%2C%20which%20hopefully%20is%20not%20that%20difficult.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E