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.

DRV10983-Q1: EEPROM programming fails

Part Number: DRV10983-Q1
Other Parts Discussed in Thread: DRV10983, USB2ANY

Hi we are working with the DRV10983 and want to store the parameter settings. If I try to programm the eeprom I got this Error message

I know that the supply voltage have to be over 24V for the DRV10983 but for the DRV10983Q the is not neseccary regarding the datasheet chapter 8.3.6 EEPROM Access

"Power up with any voltage within operating voltage range (6.2 V to 28 V)".

thanks

  • Hello Jens,

    It sounds like you have a good understanding of the process. If you click the retry button, does the message occur again? If it disappears after clicking retry, then that means the EEPROM was successfully programmed. You can check this by cycling power (turning it off and on again) and clicking the maunal refresh button on the GUI to see if the registers automatically populate with the settings that should have been programmmed into EEPROM.

    Best,
    -Cole
  • Hello Cole, thanks for the answer, yes it disappears after I click retry. But if I restart the system (power supply on/off) nothing happens, the register have the default values (0x90 0x1048....)
    I capture the I2C-Bus traffic here are the pictures

    this picture shows the traffic after I click "eeWrite" it seems the everthing is correct on the bus, the gui write 0xcode following with the

    config register and Register 0x35 with 0x6 which indicates that WRnEn is active and eeAccMode mass access enable. after that It reads reg 0x32 with 0x00 so eeprom is

    not ready and the gui shows the eeprom Not ready message after I click the retry button I capture this...

    it seems that now, the eeprom ready state is correct. but after power reset I read the default values...Have I to disable the

    Motor Operation before I write to the eeprom or something else?

    Thanks

    Jens

  • Hey Jens,

    Thanks for the data. I will start by clarifying that the motor should not be driven during the programming of EEPROM but you do not need to enable the "Disable Motor Operation" bit during the process.

    I have verified the process below, which is sounds like you are following, but please try this if it is different in any way:

    1. Power up the DRV10983-Q1EVM within the VCC operating range as described in the Out-of-the-box Quick Start Guide.
    2. Connect the USB2ANY and open the DRV10xx GUI with no errors
    3. Click the Enable Configure button turn green with no errors
    4. Set parameters as necessary
    5. Ensure the EEPROM Key says "C0DE"
    6. Click eeWrite
    7. Click retry on the message and ensure that it doesn't not appear again

    After this step, here's some things I'd like you to try:

    • Click the Save button in the Motor Configuration Box to save the .CSV
      • Open the contents of the file and see if the values match the newly programmed values of the EEPROM settings
    • Click the eeRefresh button
      • See if the changed settings in the GUI revert to default or stay the same (on the desired settings and value)
    • Power cycle like you did before, restart the GUI, and click the save button in the motor configuration box to save the .CSV
      • Open the contents of the file and see if the values match the newly programmed values of the EEPROM settings

    The goal is to understand if the process isn't saving the EEPROM correctly or if power cycling is the problem.

    Best,

    -Cole

  • Hello cole,

    thanks for the help, I execute all steps which you are describe with the following results...the only parameter which I change was OpenToCloseLoopThreshold (25,6 default to 192)

    1.) "Click the Save button in the Motor Configuration Box to save the .CSV"-->

    Before (default)

    "DRV10983Q1    0x90    0x1048"
    "DRV10983Q1    0x91    0x2F3B"
    "DRV10983Q1    0x92    0x50"
    "DRV10983Q1    0x93    0x1B8A"<--
    "DRV10983Q1    0x94    0x3FAF"
    "DRV10983Q1    0x95    0x3C43"
    "DRV10983Q1    0x96    0x16A"

    After

    "DRV10983Q1    0x90    0x1048"
    "DRV10983Q1    0x91    0x2F3B"
    "DRV10983Q1    0x92    0x50"
    "DRV10983Q1    0x93    0x1BF2"<--
    "DRV10983Q1    0x94    0x3FAF"
    "DRV10983Q1    0x95    0x3C43"
    "DRV10983Q1    0x96    0x16A"

    it seems correct...

    2.) "Click the eeRefresh button" --> setting all values to default (25,6)

    3.) "Power cycle like you did before, restart the GUI, and click the save button in the motor configuration box to save the .CSV"

    content of the csv file, all values are set to the default

    DRV10983Q1    0x90    0x1048
    DRV10983Q1    0x91    0x2F3B
    DRV10983Q1    0x92    0x50
    DRV10983Q1    0x93    0x1B8A <--
    DRV10983Q1    0x94    0x3FAF
    DRV10983Q1    0x95    0x3C43
    DRV10983Q1    0x96    0x16A

    is there a other possibility to save the current config to the eeprom? maybe with the "EEPROM individual access enabled
    " mode or something else? I can read /write to the registers through the i2c interface. 

    Thanks

    jens

  • Hello Jens,

    Thank you for taking the time to go through the experiments. This is atypical behavior for the EEPROM. As a result, I will contact you outside of this thread with next steps.

    Best,
    -Cole
  • Thanks cole, waiting for pn of you. We used the DRV10983 at our custom hardware board. now I order the evalution board to exclude any side effects of our hardware design.
  • Hey Jens,

    I have sent a friend request to you. You need to accept it before I can send you a message. Navigate to my profile and click the connect button or go to you notifications and see if it has popped up. I was going to suggest the Evaluation board as the enxt step. More details once we can get a message thread going.

    Best,

    -Cole