DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

F81216 Ver la hoja de datos (PDF) - Feature Integration Technology Inc.

Número de pieza
componentes Descripción
Fabricante
F81216
FINTEK
Feature Integration Technology Inc. FINTEK
F81216 Datasheet PDF : 37 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
F81216
To enable configuration registers programming, entry key must output twice to index port
continuously. The entry key is decided by power on setting pins RTS2#/PS_CONF_KEY1 and
RTS3#/PS_CONF_KEY0 as following:
RTS2#/PS_CONF_KEY1
0
0
1
1
RTS3#/PS_CONF_KEY0
0
1
0
1
Entry key
0x77 ( default )
0xA0
0x87
0x67
To exit configuration registers programming, output 0xAA to index port.
Sample code for configuration:
1. Clock in used 48MHz, UART 1~6 address (0x3f8, 0x2f8, 0x3e8, 0x2e8,IRQ(3, 4, 5 ,9, Entry
key is 0x77:
outportb(0x4e, 0x77);
outportb(0x4e, 0x77); //Entry configuration mode
outportb(0x4e, 0x25); //Select register index 0x25
outportb(0x4f, 0x01); //Set bit 0 to 1 select clock input to 48MHz
outportb(0x4e, 0x07); //Select register index 0x07
outportb(0x4f, 0x00); //Select LDN 0
outportb(0x4e, 0x60); //Select LDN 0 register index 0x60
outportb(0x4f, 0x03); //Set UART 1 base address high byte to 0x03
outportb(0x4e, 0x61); //Select LDN 0 register index 0x61
outportb(0x4f, 0xf8); //Set UART 1 base address low byte to 0xf8
outportb(0x4e, 0x70); //Select LDN 0 register index 0x70
outportb(0x4f, 0x03); //Set UART 1 interrupt channel to IRQ 3
outportb(0x4e, 0x30); //Select LDN 0 register index 0x30
outportb(0x4f, 0x01); //Enable UART 1
outportb(0x4e, 0x07); //Select register index 0x07
outportb(0x4f, 0x01); //Select LDN 1
outportb(0x4e, 0x60); //Select LDN 1 register index 0x60
outportb(0x4f, 0x02); //Set UART 2 base address high byte to 0x02
outportb(0x4e, 0x61); //Select LDN 1 register index 0x61
outportb(0x4f, 0xf8); //Set UART 2 base address low byte to 0xf8
outportb(0x4e, 0x70); //Select LDN 1 register index 0x70
-17-
August, 2007
V0.32P

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]