DocID025202 Rev 7
922/1080
RM0365
Serial peripheral interface / inter-IC sound (SPI/I2S)
959
Figure 353. Master full-duplex communication in packed mode
Assumptions for master full-duplex communication in packed mode example:
•
Data size = 5 bit
•
Read/write FIFO is performed mostly by 16-bit access
•
FRXTH=0
If DMA is used:
•
Number of Tx frames to be transacted by DMA is set to 3
•
Number of Rx frames to be transacted by DMA is set to 3
•
PSIZE for both Tx and Rx DMA channel is set to 16-bit
•
LDMA_TX=1 and LDMA_RX=1
See also
: Communication diagrams on page 918
for details about common assumptions
and notes.
166
6&.
%6<
026,
63(
7;(
)7/9/
'7[
'7[
5;1(
'5[
'5[
'5[
)5/9/
'0$7[7,&)
'0$5[7,&)
(QDEOH7[5['0$RULQWHUUXSWV
'0$RUVRIWZDUHFRQWURODW7[HYHQWV
'0$RUVRIWZDUHFRQWURODW5[HYHQWV
'7[
'7[
'7[
'7[
0,62
'5[
'5[
'5[
)57+;
06Y9