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: Custom board write to EEPROM

Part Number: MCT8316A

Hello all,

I've got a custom application and made a custom GUI to read and write the registers of the MCT. However when writing 0x80000000 to register ALGO_CTRL1 as written in 8.6.1.1 EEPROM Write in the datasheet, it does not actually write it. Ive read the other forum posts, and made sure the state machine is in state 6 (MOTOR_IDLE) while writing the value.

The state can be seen in the bottom left, "STATE: 6". 

When enabling the toggle button, it writes the value to the register.

However, when after some time enabling the EEPROM_READ bit, all values change back to the original default values. 

Could it be the value of the EEPROM_WRITE_ACCESS_KEY shouldn't be 0?

Thanks!

Marcel

  • Hi Marcel,

    You are correct, I do apologize for the error in the MCT8316A datasheet, the value of the EEPROM_WRITE_ACCESS_KEY should not be 0 instead they key equal to 0xA5. Please write 0x8A500000 into register 0x0000E6 instead of 0x8000000. Hope this resolves your issue.

    Regards,

    Joshua