4. Functions
COM-2C-PE, COM-4C-PE, COM-8C-PE
41
4.
Functions
This section describes the functions of the board.
Communication Function
Serial Data Transmission
Sends and receives data in accordance with the RS-232C standard.
The baud rate for each channel can be set independently in the range 2 - 921,600bps by software.
RS-232C Control Lines
All ports include the RTS, CTS, DTR, and DSR control lines.
The lines can be controlled or monitored by software from the application
Send and Receive Data Buffers
Each channel has a separate 128-byte send and 128-byte receive buffer.
The buffers operate as FIFO buffers and help reduce the load on the CPU for high-speed
communications or system operation.
The data buffer settings (Use FIFO ON/OFF and FIFO trigger size) are set by the Device Manager.
The FIFO trigger size specifies the data buffer size and determines the timing for generating hardware
interrupts.
Setting a large FIFO trigger size lightens the load on the CPU by reducing the number of hardware
interrupts generated by sending or receiving data.
However, as data is not actually sent or received until a certain amount of data has accumulated, the
timing at which the data reaches the opposing device is slightly delayed. Similarly, there is also a delay
in the timing between data being received and the data being passed the application.
Alternatively, setting a small FIFO trigger size or disabling FIFO operation increases the speed of data
sending and receiving but increases the load on the CPU and risks received data being missed.
As the FIFO trigger size is variable, you can adjust this setting to achieve optimum performance for your
system.