cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476 I2C Reload bit

jiayuan
Associate II
Posted on January 19, 2017 at 15:25

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
0 REPLIES 0