2023-12-28 06:58 AM
Hi,while interfacing pc8574t with stm 32 i2c communication after generating start condition and sending slave address (0x4e) as in datasheet acknowledge failure flag was enable this was the waveform i got and still can't find what could be reason it
if any suggestions please let me know
2023-12-28 07:07 AM
SCL should be toggling.
Some possibilities:
2023-12-28 10:51 PM
hi sir, i checked it it seems to be a pin connection and i sort it out now after sending start bit it transmits stop bit
i have attached photo below
while debugging i came to know it generates start condition after sending slave address the AF(ack failure) flag was set and stop bit was generated
2023-12-28 11:20 PM
and also add on to that while debugging i saw it doesn't generate start on first transfer it generates restart condition
i have attached photo for better understanding(the green colour statements are the one which conditions satisified)
2023-12-29 06:40 AM
Looks like you're just missing edges due to insufficient sample rate. Increase the sampling rate on your logic analyzer.