TI中文支持网
TI专业的中文技术问题搜集分享网站

MCT8329A: 使用STM32的I2C接口,无法成功写入MCT8329A的EEPROM

Part Number:MCT8329A

Hello everyone, honorable tech team!
I have successfully read the default data of 0X80 address, 7F 40 4D 02, through the datasheet, B1 I am testing to write a little data, after reading the data of 0X80 through I2C, I found that there is no change, it should not be written successfully, please help me to determine where the problem is?

1. I am testing the I2C write data to RRPROM as follows
0XC0 0X50 0X00 0X80 0X20 0X20 0X20 0X20 0X7A
0XA1 is the CRC, I don't know if the CRC is accurate, because the CRC I read is the initial byte FFFF which is the correct 0XBE.
2. Below is my oscilloscope waveform, please help me to determine if it is a control word problem, a program problem, or a CRC problem. Thanks for your help.

? ?:

I didn't express myself accurately just now, 0XA1 is the result of not adding FFFF to the initial value, adding FFFF makes it 0X7A, what I don't know is using I2C to write the data CRC, which one should prevail? I always can't write EPPROM successfully, every time I write EPPROM data, and then read RPPOM, I found that I didn't write it successfully. The following is a list of the CRC's for writing data using I2C.

:<

,

? ?:

I've made sure that the regulator's AVDD and DVDD outputs are 3.3V and 1.5V. And make sure that the FG and nFAULT pins are pulled up to 1.8V ~ 5V via external pull-up resistors.

,

? ?:

  I'm adding some information, I don't use CRC, I use the following data, and I can't write the successful data, I use the oscilloscope to observe the waveform of I2C, and the MCT8329A does get the ARK signal, which proves that there should be no problem with the I2C program.0xc0 0x50 0x00 0x80 0x20 0x20 0x20 0x20 0X20

赞(0)
未经允许不得转载:TI中文支持网 » MCT8329A: 使用STM32的I2C接口,无法成功写入MCT8329A的EEPROM
分享到: 更多 (0)