TMP92CZ26A

92CZ26A-102

(2) CPU + LDMA
The LCD controller performs DMA transfer (LDMA) after issuing a bus request to the
CPU and getting a bus acknowledgem ent.
If LDMA is not performed properly, the LCD display function cannot work properly.
Therefore, LDMA must have higher priority than the CPU. While LDMA is being
performed, t he CP U cannot execute instructions.
To display data on the LCD using the LCD controller, it is necessary to estimate to what
degree LDMA would interfere with the CPU operation based on the display RAM type,
display RAM bus width, LCDD type, display pixel count, and display qualit y.
The time the CPU stops operation while the LCD controller transfers data for one line is
defined as “tSTOP (LDMA)”, which is calculated as shown below for e ach display mode.
tSTOP (LDMA) = (SegN um × K / 8) × tLRD
16-bit external SRAM : tLRD = (2 + wait count) / fSYS [Hz] / 2
Internal RAM : tLRD = 1 / fSYS [Hz] / 4
16-bit external SDRAM :tLRD= 1 / fSYS [Hz] / 2
SegNum : Number of segments to be displayed
K : Number of bits needed for displayin g 1 pixel
Monochrome K = 1
4 gray scales K = 2
16 gray scales K = 4
256 colors K = 8
4096 colors K = 12
65536 colors K = 16
262144/16777216 c olors K = 24
Note 1: When SDRAM is used, the overhead time is added as shown below.
tSTOP [s] = (SegNum × K/8) × tLRD + ((1/fSYS) × 8)
Note 2: When internal RAM is used, the overhead time is added as shown below.
tSTOP [s] = ( SegNum × K/8 ) tLRD + (1/fSYS)
The CPU bus stop rate indicates what proportion of the 1-line data update time
tLP is taken up by tSTOP(LDMA) and is calculated as foll ows:
CPU bus stop rate = tSTOP (LDMA) [s] / LHSYNC [period: s]