Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 14309

MCF8329A: I2C Read Write operation

$
0
0
Part Number: MCF8329A

Tool/software:

"Hello,

I have a few questions.

  1. Currently, I am controlling the motor using I2C. I understand that if I input values into the shadow register, they are written to the RAM area, and then by writing 0x8A500000 to the 0xEA register, the values in the shadow register from 0x000080 to 0x0000AE are written to the EEPROM. Is this correct?

  2. It is mentioned to allow about 100µs of stabilization time after writing to the shadow register. However, it takes about 1ms for the values to be properly written. Is this delay of around 1ms actually required for stable writes? And what exactly does this 100µs delay refer to?

  3. For the read option, if I write 0x40000000 to the 0xEA register, the data from EEPROM is loaded into the shadow register (from 0x000080 to 0x0000AE). Is this correct? I put arbitrary values into the shadow register and performed the read operation, but the values in the shadow register did not change, which is why I’m asking.

  4. Lastly, in some other EEPROMs, I noticed the ability to read multiple registers consecutively. Does the MCF8329A support this function? If not, when I want to read the values from the EEPROM, do I need to read each shadow register value one by one after startup?

Thank you."


Viewing all articles
Browse latest Browse all 14309

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>