LPC47N237-MD SMSC [SMSC Corporation], LPC47N237-MD Datasheet - Page 92

no-image

LPC47N237-MD

Manufacturer Part Number
LPC47N237-MD
Description
3.3V I/O CONTROLLER FOR PORT REPLICATORS AND DOCKING STATIONS
Manufacturer
SMSC [SMSC Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC47N237-MD
Manufacturer:
SMSC
Quantity:
45
Part Number:
LPC47N237-MD
Manufacturer:
FUJI
Quantity:
575
Part Number:
LPC47N237-MD
Manufacturer:
SMSC
Quantity:
1 000
17.2.2 Configuration Register Programming
17.2.3 Exiting the Configuration State
17.2.4 Programming Example
17.2.5 Configuration Select Register (CSR)
Revision 0.3 (10-26-04)
The LPC47N237 contains configuration
configuration state, configuration registers can be programmed by first writing the register index number
(00 - 39H) to the Configuration Select Register (CSR) through the INDEX PORT and then writing or
reading the configuration register contents through the DATA PORT.
remains enabled until the configuration state is explicitly exited.
To exit the configuration state, write one byte of AAH data to the CONFIG PORT. The LPC47N237 will
automatically deactivate the Configuration Access Ports following this procedure, at which point
configuration register access cannot occur until the configuration state is explicitly re-enabled.
The following is a configuration register programming example written in Intel 8086 assembly language.
;----------------------------.
; ENTER CONFIGURATION STATE
;----------------------------'
MOV
MOV
OUT
;----------------------------.
; CONFIGURE REGISTER CR0-CRx |
;----------------------------'
MOV
MOV
OUT
MOV
MOV
OUT
;
MOV
MOV
OUT
MOV
MOV
OUT
;
; Repeat for all CRx registers
;
;-----------------------------.
; EXIT CONFIGURATION STATE
;-----------------------------'
MOV
MOV
OUT
The Configuration Select Register can only be accessed when the LPC47N237 is in the configuration
state. The CSR is located at the INDEX PORT address and must be initialized with configuration register
index before the register can be accessed using the DATA PORT.
DX,02EH
AX,055H
DX,AL
DX,02EH
AL,00H
DX,AL
DX,02FH
AL,3FH
DX,AL
DX,02EH
AL,01H
DX,AL
DX,02FH
AL,9FH
DX,AL
DX,02EH
AX,AAH
DX,AL
;SYSOPT = 0
;Point to CR0
;Update CR0
;Point to CR1
;Update CR1
DATASHEET
|
|
Page 92
registers CR00-CR39. After the LPC47N237 enters the
3.3v I/O Controller for Port Replicators and Docking Stations
Configuration register access
SMSC DS – LPC47N237

Related parts for LPC47N237-MD