LPC47M112 SMSC Corporation, LPC47M112 Datasheet - Page 161

no-image

LPC47M112

Manufacturer Part Number
LPC47M112
Description
ENHANCED SUPER I/O CONTROLLER WITH LPC INTERFACE
Manufacturer
SMSC Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC47M112-MC
Manufacturer:
SMSC
Quantity:
2 592
Part Number:
LPC47M112-MC
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
LPC47M112-MW
Manufacturer:
SMSC
Quantity:
2 014
Part Number:
LPC47M112-MW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
LPC47M112-MW
Manufacturer:
SMSC
Quantity:
20 000
Enhanced Super I/O Controller with LPC Interface
Datasheet
Configuration Mode
The system sets the logical device information and activates desired logical devices through the INDEX and DATA ports.
In configuration mode, the INDEX PORT is located at the CONFIG PORT address and the DATA PORT is at INDEX
PORT address + 1.
The desired configuration registers are accessed in two steps:
a. Write the index of the Logical Device Number Configuration Register (i.e., 0x07) to the INDEX PORT and then write
b. Write the address of the desired configuration register within the logical device to the INDEX PORT and then write or
Note: If accessing the Global Configuration Registers, step (a) is not required.
Exit Configuration Mode
To exit the Configuration State the system writes 0xAA to the CONFIG PORT. The chip returns to the RUN State.
Note: Only two states are defined (Run and Configuration). In the Run State the chip will always be ready to enter the
Configuration State.
Programming Example
The following is an example of a configuration program in Intel 8086 assembly language.
;----------------------------.
; ENTER CONFIGURATION MODE
;----------------------------'
MOV
MOV
OUT
;----------------------------.
; CONFIGURE REGISTER CRE0,
; LOGICAL DEVICE 8
;----------------------------'
MOV
MOV
OUT
MOV
MOV
OUT
;
MOV
MOV
OUT
MOV
MOV
OUT
;-----------------------------.
; EXIT CONFIGURATION MODE
;-----------------------------'
MOV
MOV
OUT
SMSC DS – LPC47M112
the number of the desired logical device to the DATA PORT
read the configuration register through the DATA PORT.
DX,02EH
AX,055H
DX,AL
DX,02EH
AL,07H
DX,AL ;Point to LD# Config Reg
DX,02FH
AL, 08H
DX,AL;Point to Logical Device 8
DX,02EH
AL,E0H
DX,AL ; Point to CRE0
DX,02fH
AL,02H
DX,AL ; Update CRE0
DX,02EH
AX,0AAH
DX,AL
|
|
|
|
Page 161
Rev. 02/02/2005

Related parts for LPC47M112