Application Note
(AN241)
PCI-FRM01 Register Level Application Guide
2005 DAQ system, all rights reserved.
http://www.daqsystem.com
5. UART Usage
The PCI-FRM01 has UART (9600BPS, 1 stop, 1 start, 8 data bit, no parity).
UART
Transmit Data(Write) / Received Data(Read)
60h
Description
I/O Address
Offset
Function
64h
68h
6Ch
Baud generator x
”
82"
Control Register
Status Register
Data Buffer
Register
Baud
Control
Status
(1) Data Buffer
(2) Baud rate generator
40Mhz
Initial Value
: x”82”
(3) Control
0
1
8
31
Reserved
UART
Control Register Bit Position & Usage
2
3
4
5
6
7
RE
TE
Bit
Name
Description
Default Value
0
RE
Receiver Interrupt Enable
‘
0
’
1
TE
Transmitter Interrupt Enable
‘
0
’
31 - 2
Reserved
For future use
All
‘
0
’
(4) STATUS
8
31
Reserved
UART
STATUS Register Bit Position & Usage
PE
FE
RI
RB
TI
TB
0
1
2
3
4
5
6
7
Bit
Name
Description
Default Value
0
RI
Receive Interrupt
‘
0
’
1
RB
Receive Busy
‘
0
’
2
PE
Parity Error(Unused)
‘
0
’