![background image](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387165.webp)
Serial port configuration task list
165
SmartWare Software Configuration Guide
14 • Serial port configuration
Recv Threshold : 1
Encapsulation : framerelay
Configuring the active clock edge
Depending on the system configurations—i.e. when using long cables, with certain modem types or data
rates—synchronization problems may occur on the serial port. In these cases, it may be necessary to configure
the clock edge on which data is transmitted.
This procedure describes how to set the active clock edge of the serial interface
Mode: Port serial
Example:
Configuring the active clock edge
The following example enables to send data on the negative edge on slot 0 and port 0. Check that Transmit
Clock is set to inverted in the command output of
show port serial
.
node(cfg)#port serial 0 0
node(prt-ser)[0/0]#transmit-data-on-edge negative
node(prt-ser)[0/0]#show port serial
Serial Interface Configuration
------------------------------
Port : serial 0 0 0
State : CLOSED
Hardware Port : X.21
Transmit Edge : inverted
Port Type : DTE
CRC Type : CRC-16
Max Frame Length: 2048
Recv Threshold : 1
Encapsulation : framerelay
Configuring the baudrate
A DCE interface has to provide the signal clocks. The desired baudrate can be configured.
Note
Only available on certain devices.
This procedure describes how to set the baudrate for the serial interface.
Step
Command
Purpose
1
node(prt-ser)[
slot/port
]# transmit-data-
on-edge positive
Configures the serial interface to transmit on the
positive edge of the clock (normal, default).
2
node(prt-ser)[
slot/port
]# transmit-data-
on-edge negative
Configures the serial interface to transmit on the
negative edge of the clock (inverted).