SH72867 with I2C -


i using ‘sh72867(renesas)’ connect ‘eeprom(24lc04b)’ . in customer’s document @ ‘address 0xf0 of eeprom have data 0x5555’, when reading address return ‘0xffff’ , same other address. can’t write eeprom too. used i2c sample of renesas not run. have suggestion setting i2c?

sorry bad english , no clear explanation.

any apprciated,

thanks

verify common issues:

  1. data , clock connected properly.
  2. pull resistor on clock , data connected vcc.
  3. loop i2c read request, connect scope , verify i2c signals ok. in addition check ack bit.
  4. verify clock lower 400khz.
  5. when using code examples, fit specific board. verify code example configuration same board.
  6. some mcu may have more 1 i2c pinout options. code example might use i2c module connected diffrent pins.

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -