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:
- data , clock connected properly.
- pull resistor on clock , data connected vcc.
- loop i2c read request, connect scope , verify i2c signals ok. in addition check ack bit.
- verify clock lower 400khz.
- when using code examples, fit specific board. verify code example configuration same board.
- some mcu may have more 1 i2c pinout options. code example might use i2c module connected diffrent pins.
Comments
Post a Comment