Need Clarification in EEPROM Functionality why FTFC->FCCOB[3] using as FCCOB0?

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Clarification in EEPROM Functionality why FTFC->FCCOB[3] using as FCCOB0?

249 Views
shivamshankarg
Contributor III

Hello Team,

I was reading the document "AN11983 Using the S32K1xx EEPROM Functionality" for memory partition.
What I found in page no. 7:-

FTFC-> FCCOB [3] = 0x80; /* FCCOB0: Selects the PGMPART command */
FTFC-> FCCOB [2] = 0x00; /* FCCOB1: No CSEc operation */
FTFC-> FCCOB [1] = 0x00; /* FCCOB2: No CSEc operation */
FTFC-> FCCOB [0] = 0x00; /* FCCOB3: FlexRAM loaded with valid EEPROM during reset sequence */

Just want to ask,
why FCCOB0 will be modified using FTFC->FCCOB[3] not FTFC->FCCOB[0]?

means why all the index of FCCOB is not correspond with the same number like FCCOB0 to FTFC-> FCCOB [0] and FTFC-> FCCOB [1] to FCCOB1 like that?

 PetrS‌ Kindly assist?

Labels (1)
Tags (3)
0 Kudos
2 Replies

163 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello shivamshankarg@gmail.com,

The registers are offset like this:

pastedImage_1.png

Regards,

Daniel

163 Views
shivamshankarg
Contributor III

BlackNight‌ Kindly assist.

0 Kudos