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.
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'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
您好,
从您的描述来看,I2C通讯时序是正常的。
EEPROM写入的方法请参考这个帖子的示例代码。
Hi, I have solved the I2C communication and configuration problem before you replied to the message, now my motor always starts and stops after one or two revolutions and the fault shows unsynchronized. I lowered the duty cycle and current of the IPD and still can't fix it. I always have the problem of unsynchronized motor, the motor fails to start with high probability, is there any relevant information for the problem of unsynchronization?