GD32F20x User Manual
597
0
PIXCLK
H
S
HASZ
1
2
N-1
HPSZ
HBPSZ
3
4
5
6
7
8
HTSZ
RED[7:0],
GREEN[7:0],
BLUE[7:0]
VTSZ
VASZ
VBPSZ
VPSZ
VS
H
S
D
E
23.5.2.
Pixel DMA function
Following the configuration of register module, the Pixel DMA reads pixel data from memory
to the pixel buffer in internal PPU (Pixel Process Unit) continuously.
After enabled, the Pixel DMA begins to fetch pixel data from system and push these data into
the pixel buffer in PPU as long as the pixel buffer is not full.
TLI supports 2 separate frame layers and each layer has a separate frame buffer address in
system. The Pixel DMA has only one AHB access interface, so it will perform round-robin
arbitration between the 2 layers during pixels fetching, if both layers are enabled.
FBADD in TLI_LxFBADDR register define the frame buffer address or fetching address of
each layer.
FLL in TLI_LxFLLEN defines the line length in bytes of a frame. If the length of a frame line
in bytes is N, program FLL with N+3.
There may be some spacing between two frame lines in system memory and the spacing
information is defined by STDOFF in TLI_LxFLLEN register. For example if the address of
the first pixel in a frame line is M, and the address of the first pixel in the next frame line will
be M+STDOFF. If there is no memory spacing between frame lines, just program STDOFF
with FLL-3.
FTLN in TLI_LxFTLN register defines the number of lines in a frame.
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...