architecture and register level code

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

architecture and register level code

Jump to solution
1,918 Views
piyush1
Contributor III

embedded_wizard_0-1752754314674.png

i want this kind of architecture diagram of NXP s32k311  so that i can get to know how things work and i want to do register level bare metal  codes for every peripherals and modules....please help me out

0 Kudos
Reply
1 Solution
1,849 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @piyush1 

The microcontroller platform is based on a single-core ARM Cortex-M7 running at up to 120 MHz, and includes key features such as:

  • NVIC – Nested Vectored Interrupt Controller
  • FPU – Floating Point Unit
  • MPU – Memory Protection Unit
  • DSP – Digital Signal Processing capabilities
  • Cache and TCM

Memory configuration includes:

  • 1 MB PFlash with ECC (Error Correction Code)
  • 64 KB DFlash with ECC
  • 128 KB RAM with ECC

Bus architecture is color-coded for clarity:

  • AHB (Advanced High-performance Bus): Green and Light Blue
  • APB (Advanced Peripheral Bus): Dark Blue
  • AIPS (AHB-to-Peripheral Bridge): Red and Brown – bridges AHB to peripheral modules
  • AXBS (Advanced Crossbar Switch): Primary interconnect, managing communication between bus masters and slave ports, and handling arbitration when multiple masters access the same slave.

Security is handled by the HSE-B (Hardware Security Engine – Type B). Provides cryptographic services and secure boot capabilities.

Regarding integration:

  • On-platform components are tightly coupled with the core (e.g., AXBS, eDMA control/status, XRDC).
  • Off-platform components are typically peripheral modules (e.g., ADCs, communication interfaces) that are not directly tied to the core.

Additional reference diagram, refer to Figure 2 of the S32K3xx Data Sheet, Rev. 11.

View solution in original post

0 Kudos
Reply
3 Replies
1,879 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @piyush1 

We do not have an identical diagram available; however, we provide a simplified block diagram of the devices. Please refer to Figure 5 of the S32K3xx Reference Manual, Rev. 10.

To gain a deeper understanding of how each feature of the S32K3 family operates, we recommend reviewing the S32K3xx Reference Manual, where all functionalities are explained in detail. Additionally, there are training presentations and application notes available that may be helpful. These resources can be found in the Documentation section of the S32K3 product page(S32K3 Microcontrollers for Automotive General Purpose).

Please note that the only SDK currently available for S32K3 devices is the Real-Time Drivers (RTD), which can be obtained from S32K3xx Standard Software.

 

BR, VaneB

0 Kudos
Reply
1,858 Views
piyush1
Contributor III

embedded_wizard_0-1752810659382.png

ok i got the diagram from reference manual now explain me in detailes about this architecture so that i can understand everything and i can configure clock controle setting, peripherlas, buses, memory adresses and register level programing

0 Kudos
Reply
1,850 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @piyush1 

The microcontroller platform is based on a single-core ARM Cortex-M7 running at up to 120 MHz, and includes key features such as:

  • NVIC – Nested Vectored Interrupt Controller
  • FPU – Floating Point Unit
  • MPU – Memory Protection Unit
  • DSP – Digital Signal Processing capabilities
  • Cache and TCM

Memory configuration includes:

  • 1 MB PFlash with ECC (Error Correction Code)
  • 64 KB DFlash with ECC
  • 128 KB RAM with ECC

Bus architecture is color-coded for clarity:

  • AHB (Advanced High-performance Bus): Green and Light Blue
  • APB (Advanced Peripheral Bus): Dark Blue
  • AIPS (AHB-to-Peripheral Bridge): Red and Brown – bridges AHB to peripheral modules
  • AXBS (Advanced Crossbar Switch): Primary interconnect, managing communication between bus masters and slave ports, and handling arbitration when multiple masters access the same slave.

Security is handled by the HSE-B (Hardware Security Engine – Type B). Provides cryptographic services and secure boot capabilities.

Regarding integration:

  • On-platform components are tightly coupled with the core (e.g., AXBS, eDMA control/status, XRDC).
  • Off-platform components are typically peripheral modules (e.g., ADCs, communication interfaces) that are not directly tied to the core.

Additional reference diagram, refer to Figure 2 of the S32K3xx Data Sheet, Rev. 11.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2135792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Earchitecture%20and%20register%20level%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22embedded_wizard_0-1752754314674.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22embedded_wizard_0-1752754314674.png%22%20style%3D%22width%3A%20399px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348070iBF5EC0EABDFCB04D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22embedded_wizard_0-1752754314674.png%22%20alt%3D%22embedded_wizard_0-1752754314674.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ei%20want%20this%20kind%20of%20architecture%20diagram%20of%20NXP%20s32k311%26nbsp%3B%20so%20that%20i%20can%20get%20to%20know%20how%20things%20work%20and%20i%20want%20to%20do%20register%20level%20bare%20metal%26nbsp%3B%20codes%20for%20every%20peripherals%20and%20modules....please%20help%20me%20out%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136723%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20architecture%20and%20register%20level%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136723%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%2F252587%22%20target%3D%22_blank%22%3E%40piyush1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20microcontroller%20platform%20is%20based%20on%20a%20single-core%20ARM%20Cortex-M7%20running%20at%20up%20to%20120%20MHz%2C%20and%20includes%20key%20features%20such%20as%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ENVIC%20%E2%80%93%20Nested%20Vectored%20Interrupt%20Controller%3C%2FLI%3E%0A%3CLI%3EFPU%20%E2%80%93%20Floating%20Point%20Unit%3C%2FLI%3E%0A%3CLI%3EMPU%20%E2%80%93%20Memory%20Protection%20Unit%3C%2FLI%3E%0A%3CLI%3EDSP%20%E2%80%93%20Digital%20Signal%20Processing%20capabilities%3C%2FLI%3E%0A%3CLI%3ECache%20and%20TCM%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EMemory%20configuration%20includes%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E1%20MB%20PFlash%20with%20ECC%20(Error%20Correction%20Code)%3C%2FLI%3E%0A%3CLI%3E64%20KB%20DFlash%20with%20ECC%3C%2FLI%3E%0A%3CLI%3E128%20KB%20RAM%20with%20ECC%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EBus%20architecture%20is%20color-coded%20for%20clarity%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAHB%20(Advanced%20High-performance%20Bus)%3A%20Green%20and%20Light%20Blue%3C%2FLI%3E%0A%3CLI%3EAPB%20(Advanced%20Peripheral%20Bus)%3A%20Dark%20Blue%3C%2FLI%3E%0A%3CLI%3EAIPS%20(AHB-to-Peripheral%20Bridge)%3A%20Red%20and%20Brown%20%E2%80%93%20bridges%20AHB%20to%20peripheral%20modules%3C%2FLI%3E%0A%3CLI%3EAXBS%20(Advanced%20Crossbar%20Switch)%3A%20Primary%20interconnect%2C%20managing%20communication%20between%20bus%20masters%20and%20slave%20ports%2C%20and%20handling%20arbitration%20when%20multiple%20masters%20access%20the%20same%20slave.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ESecurity%20is%20handled%20by%20the%20HSE-B%20(Hardware%20Security%20Engine%20%E2%80%93%20Type%20B).%20Provides%20cryptographic%20services%20and%20secure%20boot%20capabilities.%3C%2FP%3E%0A%3CP%3ERegarding%20integration%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOn-platform%20components%20are%20tightly%20coupled%20with%20the%20core%20(e.g.%2C%20AXBS%2C%20eDMA%20control%2Fstatus%2C%20XRDC).%3C%2FLI%3E%0A%3CLI%3EOff-platform%20components%20are%20typically%20peripheral%20modules%20(e.g.%2C%20ADCs%2C%20communication%20interfaces)%20that%20are%20not%20directly%20tied%20to%20the%20core.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAdditional%20reference%20diagram%2C%20refer%20to%26nbsp%3BFigure%202%20of%20the%26nbsp%3BS32K3xx%20Data%20Sheet%2C%20Rev.%2011.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20architecture%20and%20register%20level%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22embedded_wizard_0-1752810659382.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22embedded_wizard_0-1752810659382.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348175i5036F1AC62832F6B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22embedded_wizard_0-1752810659382.png%22%20alt%3D%22embedded_wizard_0-1752810659382.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eok%20i%20got%20the%20diagram%20from%20reference%20manual%20now%20explain%20me%20in%20detailes%20about%20this%20architecture%20so%20that%20i%20can%20understand%20everything%20and%20i%20can%20configure%20clock%20controle%20setting%2C%20peripherlas%2C%20buses%2C%20memory%20adresses%20and%20register%20level%20programing%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2135980%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20architecture%20and%20register%20level%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135980%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%2F252587%22%20target%3D%22_blank%22%3E%40piyush1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20do%20not%20have%20an%20identical%20diagram%20available%3B%20however%2C%20we%20provide%20a%20simplified%20block%20diagram%20of%20the%20devices.%20Please%20refer%20to%20Figure%205%20of%20the%20S32K3xx%20Reference%20Manual%2C%20Rev.%2010.%3C%2FP%3E%0A%3CP%3ETo%20gain%20a%20deeper%20understanding%20of%20how%20each%20feature%20of%20the%20S32K3%20family%20operates%2C%20we%20recommend%20reviewing%20the%20S32K3xx%20Reference%20Manual%2C%20where%20all%20functionalities%20are%20explained%20in%20detail.%20Additionally%2C%20there%20are%20training%20presentations%20and%20application%20notes%20available%20that%20may%20be%20helpful.%20These%20resources%20can%20be%20found%20in%20the%20Documentation%20section%20of%20the%20S32K3%20product%20page(%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2FS32K3%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ES32K3%20Microcontrollers%20for%20Automotive%20General%20Purpose%3C%2FA%3E).%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20the%20only%20SDK%20currently%20available%20for%20S32K3%20devices%20is%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fautomotive-software-and-tools%2Freal-time-drivers-rtd%3AAUTOMOTIVE-RTD%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EReal-Time%20Drivers%20(RTD)%3C%2FA%3E%2C%20which%20can%20be%20obtained%20from%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-STDSW-D%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ES32K3xx%20Standard%20Software%3C%2FA%3E.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E