at91sam9263 ATMEL Corporation, at91sam9263 Datasheet - Page 887

no-image

at91sam9263

Manufacturer Part Number
at91sam9263
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9263
Manufacturer:
AT
Quantity:
1
Part Number:
at91sam9263-CJ
Manufacturer:
ATMEL
Quantity:
181
Part Number:
at91sam9263-CU
Manufacturer:
ATMEL
Quantity:
132
Part Number:
at91sam9263-EK
Manufacturer:
Atmel
Quantity:
135
Part Number:
at91sam9263B-CU
Manufacturer:
IDT
Quantity:
1 043
Part Number:
at91sam9263B-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at91sam9263B-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
3 060
Part Number:
at91sam9263B-CU-100
Manufacturer:
Atmel
Quantity:
10 000
43.8
6249D–ATARM–20-Dec-07
Double-buffer Technique
The double-buffer technique is used to avoid flickering while the frame being displayed is
updated. Instead of using a single buffer, there are two different buffers, the backbuffer (back-
ground buffer) and the primary buffer (the buffer being displayed).
• Configure the DMA Controller. The user should configure the base address of the display
• Finally, enable the LCD Controller Core by writing a “1” in the LCD_PWR field of the
buffer memory, the size of the AHB transaction and the size of the display image in memory.
When the DMA is configured the user should enable the DMA. To do so the user should
configure the following registers:
PWRCON register and do any other action that may be required to turn the LCD module on.
– LCDCON2 register: Program its fields following their descriptions in the LCD
– LCDTIM1 and LCDTIM2 registers: Program their fields according to the datasheet of
– LCDFRMCFG register: program the dimensions of the LCD module used.
– LCDFIFO register: To program it, use the formula in section
– DP1_2 to DP6_7 registers: they are only used for STN displays. They contain the
– PWRCON Register: this register controls the power-up sequence of the LCD, so
– CONTRAST_CTR and CONTRAST_VAL: use this registers to adjust the contrast of
– DMABADDR1 and DMABADDR2 registers: In single scan mode only DMABADDR1
– DMAFRMCFG register: Program the FRMSIZE field. Note that in dual scan mode
– DMACON register: Once both the LCD Controller Core and the DMA Controller have
– DMA2DCFG register: Required only in 2D memory addressing mode (see
Controller User Interface section below and considering the type of LCD module
used and the desired working mode. Consider that not all combinations are possible.
the LCD module used and with the help of the Timegen section in page 10. Note that
some fields are not applicable to STN modules and must be programmed with 0
values. Note also that there is a limitation on the minimum value of VHDLY, HPW,
HBP that depends on the configuration of the LCDC.
dithering patterns used to generate gray shades or colors in these modules. They
are loaded with recommended patterns at reset, so it is not necessary to write
anything on them. They can be used to improve the image quality in the display by
tuning the patterns in each application.
take care to use it properly. Do not enable the LCD (writing a 1 in LCD_PWR field)
until the previous steps and the configuration of the DMA have been finished.
the display, when the LCDCC line is used.
register must be configured with the base address of the display buffer in memory. In
dual scan mode DMABADDR1 should be configured with the base address of the
Upper Panel display buffer and DMABADDR2 should be configured with the base
address of the Lower Panel display buffer.
the vertical size to use in the calculation is that of each panel. Respect to the
BRSTLN field, a recommended value is a 4-word burst.
been configured, enable the DMA Controller by writing a “1” to the DMAEN field of
this register. If using a dual scan module or the 2D addressing feature, do not forget
to write the DMAUPDT bit after every change to the set of DMA configuration values.
Memory Addressing” on page
888).
AT91SAM9263 Preliminary
“FIFO” on page 868
“2D
887

Related parts for at91sam9263