HI guys , i am new to Renesas controller please help on I2C sample code for RL78/G1F for external RTC & EEPROM memory .
how to generate basic I2C code using code generator in CS+ CC IDE single master . i need to connect external RTC & Memory with I2c , if any sample code woulde be helpfull.
Controller : R5F11BLE (RAJ306010 RSSK(RTK0EML2C0S01020BJ)
Thanks in advance .
Hey there sush, you can check out the following threads for reference. Please make sure to make the necessary changes as per your device:For RTC
https://community.renesas.com/mcu-mpu/rl78/f/rl78-forum/14142/ds1307-rtc-interfacing-with-rl78-g14/43608#43608For EEPROM:
https://community.renesas.com/mcu-mpu/rl78/f/rl78-forum/10051/rl78l13---i2c-serial-eeprom-driver---always-getting-a-nackhttps://community.renesas.com/mcu-mpu/rl78/f/rl78-forum/15831/i2c-writes-for-only-one-time-JayeshIf this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorshttps://community.renesas.com/https://academy.renesas.com/en-support.renesas.com/.../