
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
50
Copyright © 2015 Future Technology Devices International Limited
2.6.5.3
Receive Data
To receive data from an I
2
C Master the following procedure is used:
For each byte of data:
o
If
I2CSCR
register bit
RREQ
set to ‘1’:
Read byte of data from
I2CSBUF
.
o
If
I2CSCR
register bit
RECFIN
set to ‘1’:
Clear
RECFIN
bit by setting
RECFINCLR
bit in write
I2CSCR
.
Finish transaction.
This will allow a burst write to occur on the I
2
C Master. The master controls how many bytes will
be written to the I
2
C Slave.