Home > other >  Everybody is good, ask a question, drive block reads the EEPROM, what to read? Use the function can
Everybody is good, ask a question, drive block reads the EEPROM, what to read? Use the function can

Time:10-05

I service in the drive the value of a register, use the value to judge the UART is 232, 485 or 422, but this is how also read wrong, lead to the 485 judgment into 422 m, someone can help me with it? thank you

CodePudding user response:

Standard operation, the i2c i2c_transfer ()

CodePudding user response:

reference 1/f, fog oasis response:
standard operation, the i2c i2c_transfer ()

I saw the original code is not the case, of the register is used to read and write Microsoft interface to read, you said i2c_transfer, is in the application layer interface? I said is in the driver code

CodePudding user response:

B: yes, you can, with what block you EEPROM interface? How is your ID block read EEPROM read, read this value is how to read it

CodePudding user response:

reference 1/f, fog oasis response:
standard operation, the i2c i2c_transfer ()

CodePudding user response:

First you need to confirm the data is in the block in the EEPROM or sensor, to read data from time to tome premise condition, such as writing a register first, switch to read data mode, before they can read it, this depends on the datasheet.
  • Related