2017-01-19 06:25 AM
Hi,
I have a question regarding to L476 I2C architecture. In the datasheet, it asks to set
RELOAD
bit to one if Number of Byte(NBYTES) to transfer is larger than 255 bytes.In the reference manual, it's saying that I can't do the Automatic end mode if my RELOAD bit is not cleared. So if I want to simplify my code, without checking if NBYTES is greater than 255 bytes. Can I always set RELOAD bit to 1 and stop check by myself(pull up/down GPIO to set/reset stop bit)? Is there any hardware I2C feature will block the transfer in any case?
Thanks,
Mike
#i2c #stm32l4 #nbytes #reload