Abstract: This article introduced the
FX-TXXXXC256A series liquid crystal controller software and hardware
characteristic, FX-TXXXXC256A and the MCS51 monolithic integrated
circuit connection, and has produced the connection read-write
succession characteristic and the software design mentality. Key word: Liquid crystal controller; Monolithic
integrated circuit; Connection; Succession characteristic;
Inserts the type system; DSP AVR; TFT LCD Introduction The FX-TXXXXC256A series liquid crystal controller
includes: FX-T3224C256A, FX-T4024C256A, FX-T4824C256A,
FX-T6448C256A, FX-T8060C256A. Among them, FX-T3224C256A
actuation 320×240 TFT screen, FX-T4024C256A actuation 400×240 TFT
screen, FX-T4824C256A actuation 480×240 TFT screen, FX-T6448C256A
actuation 640×480 TFT screen, FX-T8060C256A actuation 800×600 TFT
screen All controllers demonstrated the color is 256 colors
The FX-TXXXXC256A series controller since has promoted, in the
industry control, the instrument measuring appliance, the medical
electron, the power equipment, domain and so on numerical control
engine bed has obtained the widespread application. The FX
series controller simplified the application programming from the
design angle. Even if knows nothing about to the liquid crystal,
you also can very relaxed write the attractive man-machine contact
surface. Controller hardware architecture explanation FX-TXXXXC256A is simple with 51 connections, the
connection signal includes: 8 data lines, 1 piece route
selection, 1 reads the holding wire, 1 writes the holding wire, with 1
port choice line. The port choice line uses for to choose the
order the port and the data port. FX-TXXXXC256A has the
extremely quick read-write ability. The controller does not have
"to be busy" the signal judgement, the data which as necessary might
accept MPU to deliver the data which and reads out to give MPU. FX-TXXXXC256A and MPU connection Writes the succession Reads the succession DB is the data bus, may be straight one after
another on MPU, RS may meet the address wire, uses for to choose the
port, is when 0 chooses the order port, is when 1 chooses the data
port; /CS is 片 the signal, low level effective, /RD reads
the signal, the low level is effective; /WR writes the signal,
the low level is effective According to on chart segment, the system order port address may
suppose is 7E00H, the data port address may be 7F00H. Software design This controller does not have to initialize, the user
may directly take it as exterior memory or the IO port visit.
The controller instruction-code register definition is: - - - - - A16 CMD1 CMD0 CMD1, CMD0 definition: CMD1 CMD0 function 0 0 explicit addresses low 8
registers 0 1 explicit address high 8
registers 1 0 demonstrations data
read-write channel 1 1 closure all channels and
register A16: Expresses the 17th bit address This controller support simple point read-write, after
finished address automatic Canada 1, writes all over a line
automatically to line feed. Software explanation that, #define WCMD 0x7e00 // orders the port #define WDAT 0x7f00 // data port Writes the first page (0~65535) to reveal saves
the sequence: WCMD = 0x00; // to orders the port to write 0, gets down
as soon as replies to each point in turn the data port visit to
establish low 8 to reveal saves WDAT = 0x00; // reveals saves the low 8 bit
address to suppose is 0 WCMD = 0x00; // to orders the port to write, gets
down as soon as replies to each point in turn the data port visit to
establish high 8 to reveal saves WDAT = 0x00; // reveals saves the low 8 bit
address to suppose is 0, then reveals saves the address to suppose is
0; WCMD = 0x02; // finished after this instruction, the under
logarithm directly reads in according to the port visit the data // arrives reveals saves WCMD = 0x55; // 0 writes to the address 55, the
interior reveals saves the address to add 1; WCMD = 0xaa; // 1 writes AA to the address, the dummy home
address adds 1; ... ... Writes the second page (65536~131071) to reveal saves the
sequence: WCMD = 0x04; // to orders the port to write 0, gets down
as soon as replies to each point in turn the data port visit to
establish low 8 to reveal saves, // A16 = 1 WDAT = 0x00; // reveals saves the low 8 bit
address to suppose is 0 WCMD = 0x05; // to orders the port to write, gets
down as soon as replies to each point in turn the data port visit to
establish high 8 to reveal saves // A16 = 1; WDAT = 0x00; // reveals saves the low 8 bit address to
suppose is 0, then reveals saves the address to suppose is 0; WCMD = 0x06; // finished after this instruction, the under
logarithm directly reads in according to the port visit the data // arrives reveals saves WCMD = 0x55; // writes to address 10000H 55, the
interior reveals saves the address to add 1; WCMD = 0xaa; // writes AA to address 10001H, the dummy
home address adds 1; ... ... Concluding remark This article discussed the FX-TXXXXC256A controller and
the monolithic integrated circuit connection application, soft, the
hardware design extremely is all simple, causes the user to think is
not is writing a LCD demonstration procedure, but is in carries on the
operation to ordinary RAM or the IO port. The user may develop
the attractive practical man-machine contact surface in the extremely
short time, greatly reduces the cycle which the product appears on the
market. The Shenzhen side reveals technical limited company ---- Xiao
Shubin 0755-21205305,83169738,13760267120 Macoxiao@163.com
WWW.FANCYVIEW.COM North Shenzhen Fukuda area lotus flower valuable lotus
building 3 21F ] |