This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCT8316A: Some questions about MEM_SEC – Memory Section and MEM_PAGE – Memory Page

Part Number: MCT8316A

Hi team,

Here's an issue from the customer may need your help:

1) In the 24bit control bit, MEM_SEC occupies 4 bits, MEM_PAGE 4, and MEM_ADDR occupies 12, so the total address bit is 20 bits. Is the 22 bit highlighted in the following figure wrong?

2) How does MEM_SEC and MEM_ADDR demonstrate their role in address access? 

For example, 

The address of ISD_CONFIG in the EEPROM is 0x000080.

The address of ALGO_CTRL1 in RAM is 0x0000E6.

One is the address of the EEPROM register and the other is the address of the RAM register, but their MEM_SEC and MEM_ADDR are both 0.

"Memory Section is a 4-bit field which denotes the memory section to which the memory location belongs like RAM, ROM Etc."

Could you help elaborate the meaning of this statement and the role of MEM_PAGE in the address? Thanks!

Best Regards,

Cherry

  • Hi Cherry,

    Please see the answers to the customer questions below.

    1) The 20-bit address is actually converted to 22-bit address internally via a lookup table, hence the wording "constructed internally by MCT8316A …" However, the user shouldn't need to worry about this and can simply treat the memory address as 20-bit.

    2) The descriptions for MEM_SEC and MEM_PAGE are also unnecessary and confusing. Users simply need to do the following for all relevant EEPROM and RAM registers that they would need to access:

    • set 4-bit MEM_SEC to 0x0
    • set 4-bit MEM_PAGE to 0x0
    • set 12-bit MEM_ADDR to last 12 bits of regmap address

    We will update the datasheet to avoid confusion in the future.

    Regards,
    Eric C.