![ARTERY AT32F435 Series Reference Manual Download Page 679](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592679.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 679
Rev 2.03
Figure 29-5 Example of unpacking mechanism
B7
B3
B6
B2
B5
B1
B4
B0
4-word FIFO
word3
word2
word1
word0
4
th
3
rd
2
nd
1
st
HW3 HW2 HW HW0
7
th
6
th
2
nd
1
st
B7 B6
B1 B0
AHB Read Sequence
AHB Write Sequence
Figure 29-6 Example of PINCOS
B3
B2
B1
B0
B7
B6
B5
B4
B0
B1
B2
B3
B4
B5
B6
B7
PINCOS = 0
PINCOS = 1
0x0
0x4
0x8
0xC
0x10
0x14
0x18
0x1C
0x0
0x4
0x8
0xC
0x10
0x14
0x18
0x1C
byte lane 2
byte lane 1
byte lane 0
byte lane 3
byte lane 2
byte lane 1
byte lane 0
byte lane 3
Perpheral Address Field
PINC = 1
PSIZE = BYTE
29.3.6 FIFO and threshold
Each stream has its dedicated 4-word FIFO that is programmed with different threshold (1/4, 1/2, 3/4 or
full). The FTHSEL bit must match the MBURST bit, otherwise a FIFO error (FERR) is generated while
enabling a stream, causing that a stream is automatically disabled.
FTHSEL
×
4 = MBURST
×
MWIDTH
×
M
FTHSEL (FIFO threshold) = 1 (1/4), 2 (1/2), 3 (3/4) or 4 (Full)
MBURST (data transfer size)
= 1 (single) or 4, 8 or 16 burst
MWIDTH (data transfer width)
= 1 (byte), 2 (half-word) or 4 (word)
M is a positive integer
Additionally, the MBURST/PBURST and MWIDTH/PWIDTH bits must match the CNT bit for full data
transfers.