I want to make my RL78 Controller I2C Slave device, Please advice hoe to do that ?
My programing software is CS+ CC.
There is sample code available for the RL78/G1C for reference as part of the tool installers for the starter kit that includes working demos for both master & slave implementations of the IICA:
You don't state which RL78 device that you are wanting to use, but first you would need a device with the IICA peripheral, as the SAU operating in "simplified IIC" mode does not support operating as a slave device.
The code generator in CS+ (Applilet plugin) supports the IICA, I would recommend that you use this for a start.
I am using R5F10EGE Controller and IICA0 port is used for I2C Slave Device. Please find attached image for IIC settings.
Looks like you are well on your way.
But it's not work, please advice how to make.
Renesas Starter Kit for RL78/G1C Installer V.1.00 (CubeSuite+ Version) 696.49MB (Setup\CubeSuitePlus_RSKRL78G1C__1000000.exe)
Renesas Starter Kit for RL78/G1C Installer V.1.00 (e²studio Version) 736.57MB (SampleCode folder)
This code for the IICA would be directly applicable to your RL78/G1A device.
I had install above installer but there is a not given any example for IIC.