SAM9263 Atmel Corporation, SAM9263 Datasheet - Page 967

no-image

SAM9263

Manufacturer Part Number
SAM9263
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM9263

Flash (kbytes)
0 Kbytes
Pin Count
324
Max. Operating Frequency
240 MHz
Cpu
ARM926
Hardware Qtouch Acquisition
No
Max I/o Pins
160
Ext Interrupts
160
Usb Transceiver
3
Usb Speed
Full Speed
Usb Interface
Host, Device
Spi
2
Twi (i2c)
1
Uart
4
Can
1
Ssc
2
Ethernet
1
Sd / Emmc
2
Graphic Lcd
Yes
Video Decoder
No
Camera Interface
Yes
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
96
Self Program Memory
NO
External Bus Interface
2
Dram Memory
sdram
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Fpu
No
Mpu / Mmu
No / Yes
Timers
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
No
45.3.1.13
45.3.2
45.4
45.4.1
6249I–ATARM–3-Oct-11
Examples of Drawing Functions
Video RAM
Line Draw
Procedure to Switch from Command Queue Drawing to Direct Drawing
The Video RAM type and the address generated to access it are mainly based on data bus type
(8, 16 or 32 bits), on number of bits per pixel and the virtual memory size required by the system.
The TDGC supports SRAM, PSRAM and SDRAM memory chips of 8-bit, 16-bit or 32-bit data
buses. Memory chips can either be external memory (connected to EBI) or internal memory. The
most significant 12 bits of the 32-bit video memory address can be programmed with the
required offset.
The TDGC sees the video memory as a maximum virtual page of 2048(column-x) x 2048(rows-
y) pixels with a pixel resolution up to 24 bpp. Hence, the maximum video memory that TDGC
can see is 12MBytes = 2048 * 2048 * 24/8.
The row size of the virtual memory can be programmed to be 256, 512, 1024 or 2048 pixels.
Since the minimum row size selection is 256 pixels and the next size up is 512 pixels, some
chips that are tailored for 240(column size) x 320(row size) at 8 bpp LCDs have only 80 Kbytes
of internal RAM and thus do not fit in the resolution scheme defined above. In order to make the
TDGC compliant with this kind of use, a special option was added to make 320 pixel wide row at
8 bpp selection possible. However, this slows down the drawing process. For instance, when a
line draw command is issued, the TDGC calculates the row offset based on the start/end pixel
coordinates of the line draw versus a predefined shift in bits for row size selections of 256, 512,
1024 and 2048 (they are all powers of 2 and hence the shift is pre-defined in logic).
There are two suggestions to solve this problem:
However, a pixel resolution of 320(column) x 240(row) at 8 bpp can use the internal memory of
80 Kbytes if necessary, as a row size selection of 256 pixels can be used. There is however no
problem with any ¼ VGA at anything less than 8 bpp.
This function draws a thick (2 pixels wide) solid black line from start point (startx, starty) to end
point (endx, endy). startx, starty, endx, endy should be in pixel units.
• Wait for Command queue buffer empty status (BUFE) in TDGC_GIR with a five second
• Post an event to the graphics task when interrupt is triggered or exit the loop checking for the
• Wait for command queue buffer empty status in TDGC_GIR.
• Wait for line drawing engine bit (LTB bitfield in TDGC_GSR) to clear if a line is being drawn.
• Wait for block transfer engine bit (BTB bitfield in TDGC_GSR) to clear if a block is being
• If a significant amount of drawing using the TDGC is required and 240 x 320 at 8 bpp is not
• If there is a firm requirement for 240 x 320 at 8 bpp, then the special option can be enabled in
timeout or wait for an interrupt event if interrupt is enabled (recommended).
status when command queue buffer is empty (BUFE in TDGC_GIR). Load the next set of
commands (refer to code examples).
transferred.
mandatory, a bigger frame can be used thus taking advantage of the TDGC drawing speed.
the TDGC that makes 240 x 340 at 8 bpp support possible but slow, or the TDGC can be
disabled and software that can be faster is used instead.
AT91SAM9263
967

Related parts for SAM9263