cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Bus: How to specify the number of ACKs for I2C burst mode slaves?

MHens.2
Associate II

Hi everybody,

I am currently implementing a LDC3114, which has a burst mode that auto-increments the register address i want to read. The data sheet states:

"For both write and read, the address pointer will auto-increment as long as the controller acknowledges."

It's not clear to me if this is something supported by the HAL function. Can I inhibit the ACK after a certain amount of data?

Best regards, Marcel

2 REPLIES 2
Pavel A.
Evangelist III

Using the HAL I2C library you just read the wanted number of bytes in master mode and the controller will properly end the sequence. Use a logic analyzer to confirm.

MHens.2
Associate II

Ah, okay, so I am overthinking this. Thanks!