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.

  • Resolved

CCS/PGA411-Q1: PGA411-Q1

Prodigy 110 points

Replies: 6

Views: 99

Part Number: PGA411-Q1

Tool/software: Code Composer Studio

Hello,

I am trying to store data in the user space of pga411 EEPROM.
But this is not working.
Steps to store data:
1. Unlock EEPROM.
2. Write 0xA7 to DEV_EE_CTRL1.
3. Write 0x18 to DEV_PHASE_CFG.

After power cycling , contents of DEV_PHASE_CFG are not 0x18 but the default value.

Please help me out. Thank you.

  • Chintan,

    You need to flip steps 2 and 3. Writing 0xA7 to DEV_EE_CTRL1 burns the current register values into EEPROM.
  • In reply to Clancy Soehren:

    Hi Clancy.

    Thanks for the reply.

    I already tried it out but in that case I haven't got any data from pga411, not even default value.

    I checked the status registers and fault pin to see if any fault is present but there is no fault.

  • In reply to chintan sharma:

    Chintan,

    What do you mean that you don't get any data from PGA411 in that case? Have you verified that you are reading back the data properly? If you read back DEV_PHASE_CFG, does it reflect the programmed value?
  • In reply to Clancy Soehren:

    Hello Clancy,
    First of all thanks for the reply.
    That was my mistake, I am getting the data.
    I am reading back the data properly but it is default value, not the programmed value.
  • In reply to chintan sharma:

    Chintan,

    Even without programming the EEPROM, you should be able to see the register changes after you do register write operations. I recommend debugging that issue first before worrying about the EEPROM.

    Are you in diagnostics state before you do the write operation? Every register except for DEV_CONTROL3 (which is how you enter and exit diagnostics and normal states) can only be written to while in diagnostics state.
  • In reply to Clancy Soehren:

    Clancy,

    Thanks for the reply.
    Problem solved.
    There was a problem in inserting the CRC. Now, EEPROM working fine.
    Thank you.

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.