Hi, I'm using the function R_IICA0_Master_Send() to store data into an eeprom.
After having call the function R_IICA0_Master_Send(), the callback r_iica0_callback_master_sendend() should be fired but sometimes this does not happens.
What can I do in order to know if the data was bee stored or not? Is there a error callback function to notify the problem?
Best regards.
Hello,
Yes, there is an error callback function that you can enable:
The default name of the function is: r_iica0_callback_master_error
Hello buddy,I was able to make my R5F100FEAFP (RL78/G13) communicate with at 24C04 EEPROM chip. After failing to find any solution online, I decided not to use the code generator for IIC of CS+ software. Instead I used simple digital IO pin high/ low/ input/ output method for the 2 pins needed for IIC. I've used the 24C04 datasheet as reference and a logic analyzer to verify the timings. Notes:a) code is only for random 1 byte write and random 1 byte readb) I've also written code for UART to verify data on TX0/P12c) please wait at least 5ms after each read/write operation (24C04 WP time is 5ms)Here's the CS+ project.https://drive.google.com/file/d/11ybIj62EexKZg8UxSQEPxB_2InUXrgEb/view?usp=sharing
hi friend, do you have a contact?
[email protected] sorry for late reply. Will help happily.