Keil Logo

On-chip XRAM

Some C16x/XC16x derivatives have additional on-chip XRAM. This memory is physically located on-chip but is accessed using the external data bus. This memory is subject to the same limitations as external memory (including timing).

You may declare XRAM variables using the sdata memory type. You may also use sdata pointers to access XRAM memory.

Note

  • Access to on-chip XRAM must be enabled with the _XRAMEN configuration variable in the startup code (START167.A66 or STARTV2.A66).
  • It is not possible to locate the system stack or register banks in the XRAM memory area (XRAM appears as external memory).
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.