Skip to content
Commit 1bd48edd authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Kumar Gala
Browse files

drivers: i2c: stm32f4: Add check for BTF flag before reading N-2 byte



According to STM32F4 reference manual, software should wait for BTF=1
before reading N-2 data byte.

Reference:

"For N >2 -byte reception, from N-2 data reception" section, page
853 of STM32F4 Reference manual.

Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 8b6d3ad6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment