Hello Ti,
the RM48 has 3 banks (Flash bank 0, Flash bank 1 and Flash bank 7 (Eeprom)). I wanted to check the content of Flash Bank Access Control Register (= FFF8 703Ch) in conjunction with the Flash Bank Sector Enable Register (= FFF8 7034h)
According to the TRM, the "FBSE provides one enable bit per sector for up to 16 sectors per bank. Each bank in the Flash module has one FBSE register. The bank is selected via the BANK[2:0] bits of the FMAC register. As only one bank at a time can be selected by FMAC, only the register for the bank selected appears at this address." The current content of FBSE is "0x800" which is sector 11. According to the TRM, a "1" means that the "corresponding numbered sector is enabled for program or erase access". As the TRM clearly says I need to evaluate Flash Module Access Control Register (FMAC) as well, I took a look into the current content of the FMAC Register which is = 0xF. So it tellls me that Bank 7 (Eeprom) is active and sector 11 is enabled for earase/program. At least for the EEPROM is was expecting to have a value range of 4 bits as the EEPROM has only 4 sectors.
How can I map sector 11 to the Eeprom or in other words what is the meaning of FMAC-Register having the value (=0xF) and FBSE-Register having the following content (=0x800)? How can I interpret this setup?