Application Note on Tight Coupled Memory on Microchip Cortex®-M7 MCU

Tight Coupled Memory on Microchip Cortex®-M7 MCU

Application Note on Tight Coupled Memory on Microchip Cortex®-M7 MCU

This document describes how to configure and use the tight coupled memory (TCM) features in PIC32C and SAM MCUs using the MPLAB® XC32 compiler and MPLAB Harmony v3 software development framework within the MPLAB X IDE.

TCM offers numerous advantages for application developers, providing performance equivalent to when the code is located in cache.

Below are some suggestions for optimizing TCM usage in applications:

  • The application stack can be located in DTCM

  • The application heap can be located in DTCM

  • Critical variables can be located in DTCM

  • Frequently updated variables can be located in DTCM

  • Critical functions/programs can be located in ITCM

  • A copy of the interrupt vector table can be located in ITCM

  • Interrupt service routines can be located in ITCM

Main Content

  • Overview of Microchip Cortex-M7 based MCUs

  • Overview of Cache Memory and TCM

  • Tight Coupled Memory

  • Configuration

  • Impact of Software on TCM

  • Programming Sequence for TCM Configuration

  • Hardware and Software Requirements

  • Compiling and Programming the Application

  • Observing Output on MPLAB Data Visualizer

Click the “Read Original” button below to view the full text

Application Note on Tight Coupled Memory on Microchip Cortex®-M7 MCU

For more comprehensive Chinese documents, visit the Microchip Chinese Community website

Leave a Comment