Hi,
Is this a custom board? Or can it be reproduced with an NXP reference board?
Can you help us verify that this behavior does not occur on newer RTD versions? Since RTD v2.0.0 HF04 is an old release, newer releases might have implemented patches, which can solve this kind of situations.
Please, let us know.
Hi,
Thanks for your feedback.
As for external factors, interference in the line might create noisy signals but not pulling to GND (at least the common ones). We understand that another possibility of this behavior might the slave trying to do a clock stretching, you can verify if your slave device can do clock stretch and either disable under your device it or enable it under S32G.
The SCL can only be taken as a 1 if it goes above the defined voltage value under the I²C specification. If it cannot reach this value (and comply with the required timing requirements), we cannot ensure that the data will be read correctly.
Please, let us know.
Hi,
Thanks for your feedback. It seems that the clock stretching is available by default. The following is told under the S32G2 RM [Page 2198, S32G2 Reference Manual, Rev. 8, February 2024]:
" Slave devices may hold the SCL low after completion of one byte transfer (nine bits). In such cases, it halts the bus clock and forces the master clock into wait state until the slave releases the SCL line. "
As for the phenomenon, we can recommend trying to reduce the baudrate to verify if it happens even if the baudrate is lower. Again, this might be related to the RTD version, and given that this behavior is not constant, can be difficult to pinpoint the exact problem.
We do apologize.
Please, let us know.