I am using ZL38051 Audio processor with RA6M2 microcontroller.
Using SCI I2C to control Zl38051. It was working fine before a month but now i2c failed ( I don't know why) .When I write something and try to read no I2C interrupt triggered.
R_SCI_I2C_Open return FSP_SUCCESS
R_SCI_I2C_Write return FSP_SUCCESS
R_SCI_I2C_Read return FSP_SUCCESS
with or without Free RTOS. (FSP v3.6)
Regards.
Hello Progmem,
1. Do you have only one board to test? If not, is it the same issue at all boards?
2. Is it any possibility to make sure that the audio processor chip hasn't been broken? If for some reason it holds one of the lines low, the reading will not happen.
3. If you have an oscilloscope or a logic analyzer, it would be very good to see what's going on at the I2C lines.
4. Maybe you have made some changes in the code recently that lead to this wrong operation?
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!RenesasRulz Forum Moderatorhttps://renesasrulz.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/