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.

MCF8316AEVM: EEPROM

Part Number: MCF8316AEVM
Other Parts Discussed in Thread: MCF8316A

Tool/software:

Hello, I'm having a problem writing to EEPROM using Motor Studio.
I can't write the configured shadow registers to the EEPROM, when I click “read from EEPROM”, a read success message pops up at the bottom left corner, but when I press “write to EEPROM”, no write success message pops up. But when I press “write to EEPROM”, there is no message of successful write. I think there is something wrong with my write operation, can you guide me how to do it with some pictures? I need specific steps.
I will be grateful if you reply soon.

  • Hi,

    when I press “write to EEPROM”, no write success message pops up

    While no message pops-up the EEPROM write action has been completed. Here are some steps you can follow to write to EEPROM with Motor Studio:

    1. Load the desired register settings
    2. click the EEPOM -> Write TO EEPROM
    3. remove power to the EVM
    4. wait 5 seconds then Turn on the EVM again
    5. Once Motor Studio connects, Go to the register map page and click read all registers. the registers 0x80 - 0xAE should match the register settings loaded during step 1.

    Regards,

    Joshua

  • Why I still can't run my motors independently and the potentiometer doesn't do anything

  • Can you try following the steps below. If you still have issues spinning the motor with the potentiometer can you send me the register configuration you are using.

    1. Make sure the jumper on J1 is on the POT side. 
    2. Set Speed_Control_Mode to 00b or analog voltage on SPEED pin 
    3. Make sure Speed Control over I2C is disabled
    4. Test that the motor can spin using the potentiometer
    5. If motor can spin, preform a EEPROM write
    6. Power cycle EVM and motor should be able to spin with potentiometer.

    Regards,

    Joshua

  • Thank you very much for answering my doubts, I can already use the motor to change the speed of the motor, but another doubt I have is that if I use the I2C speed input mode, can I detach from the computer and use the MCF8316A board to run independently? If so, how do I do it?
    If I use the I2C speed input mode, I don't know how to write the duty cycle to the EEPROM, this file below is the register configuration file I am using. Please help me to see if I have misconfigured it. And what is the correct procedure? I would appreciate if you can show me the detailed steps with pictures.

    Config20_Loda.csv

  • I2C speed control requires directly modifying the DIGITAL_SPEED_CTRL bit field in the ALGO_DEBUG1 register which is not one of the registers that can be stored in EEPROM. 

    The only way to use I2C speed mode without the GUI/computer would be to have the MCU update DIGITAL_SPEED_CTRL after the MCF8316 has powered up.

    Any of the other speed modes can adjust the speed without the need for I2C communication (so no computer or MCU are required).

    Regards,

    Joshua