Unibrain Fire-i 530/550/630/830/850 Operation Manual
Page 58
4.9.2.
SIO(RS232) Registers
Base address: F2F22000h, default baud rate is 57600
Address
Name
Field
Bit
Description
000h
Serial_Mode_Reg
Baud Rate
[0..7]
Baud Rate Setting
Write : Set baud rate
Read : Get current baud rate
0: 300 bps 1: 600 bps
2: 1200 bps 3: 2400 bps
4: 4800 bps 5: 9600 bps
6: 19200 bps 7: 38400 bps
8: 57600 bps 9: 115200bps
10: 230400bps Other value reserved.
Char_Length
[8..15]
Character length setting
Write: Set data length (must not be 0)
Read : Get data length
7: 7 bits
8: 8 bits
Other values reserved.
Parity-
[16..17]
Parity setting
Write : Set Parity
Read : Get current parity
0: None 1 : Odd 2 : Even
Stop_bit
[18..19]
Stop bits
Write : Set stop bit
Read : Get current stop bit
0: 1 1: 1.5 2: 2.
-
[20..23]
Reserved
Buffer_Size_Inq
[24..31]
Buffer Size (Read Only)
This field indicates the maximum size of
receive/transmit data buffer.
If this value=1, Buffer_Status_Control,
SIO_Data_Register Char1-3 should be
ignored
004h
Serial_Control_Reg
RE
[0]
Receive enable
Read : Current status
Write : 0 : Disable 1: Enable
TE
[1]
Transmit enable
Read : Current status
Write : 0 : Disable 1: Enable
-
[2..7]
Reserved
Serial_Status_Reg
TDRD
[8]
Transmit data buffer ready
Read only
0 : Not ready 1: Ready
-
[9]
Reserved
RDRD
[10]
Receive data buffer ready
Read only
0 : Not ready 1: Ready
-
[11]
Reserved
ORER
[12]
Receive buffer over run error
Read : Current status
Write : 0: Clear flag 1: Ignored
FER
[13]
Receive data framing error
Read : Current status