• Re-program
receive.
•
TWISERR
This interrupt is generated due to the arrival of a byte into the
receive FIFO. Simple data handling is all that is required.
Receive/Transmit Repeated Start Sequence
Figure 12-9
illustrates a repeated start data receive followed by a data
transmit sequence. The shading in the figure indicates the slave has the
bus.
START
S
7-BIT ADDRESS
ACK
SHADING INDICATES
SLAVE HAS THE BUS
Figure 12-9. Receive/Transmit Data Repeated Start
The tasks performed at each interrupt are:
•
TWIRXINT
This interrupt is generated due to the arrival of one or two data
bytes into the receive FIFO. The
time (or earlier) and
direction of the next transfer. The
before the addressing phase of the subsequent transfer begins.
ADSP-21368 SHARC Processor Hardware Reference
with the desired number of bytes to
DCNT
interrupt
8-BIT DATA
NACK
TWIRXINT INTERRUPT
TWIMCOM INTERRUPT
interrupt
should be cleared to reflect the change in
MDIR
Two Wire Interface Controller
REPEATED
START
S
7-BIT ADDRESS
TWITXINT INTERRUPT
bit should be set at this
TWIRSTART
bit must be cleared
TWIMDIR
ACK
8-BIT DATA
ACK
TWIMCOM INTERRUPT
12-21
STOP
P
Need help?
Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?