4.3 Global SRAM Variables

Create various SRAM variables to handle encryption/decryption that can be accessed via SPI commands: ‘Write SRAM/Register’ (command ID 0x07) and ‘Read SRAM/Register’ (command ID 0x08). SRAM variables are placed at address range 0x0400-0x042B in this example and have to be defined in Linker-File.

Linker-File (.xcl(1)) definitions:
  • Z(DATA).sram_g_fecCr=400
  • Z(DATA).sram_g_fecSr=401
  • Z(DATA).sram_g_fecTxDb=402
  • Z(DATA).sram_g_fecRxDb=417
    Note:
    1. User defined name with Linker-File ending as ‘.xcl’