
Product overview
EP6002-0002
14
Version: 1.0
2.5.2
Control word
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
OL7
OL6
OL5
OL4
OL3
OL2
OL1
OL0
-
-
-
-
SC
IR
RA
TR
Bit no.
Name
Description
15 .. 8
OL7 .. OL0
(OutLength)
1
dec
.. 22
dec
Number of output bytes available for transfer from the controller to the box.
7 .. 4
reserved
3
SC
(SendContinuous)
rise
Continuous sending of data from the FIFO.
The send buffer is filled (up to 128 bytes) by the controller. The buffer content is sent
with rising edge of bit SC. Once the data has been transferred, this is acknowledged
by the box to the controller by setting the SW.2 bit. SW.2 is cancelled with CW.3.
2
IR
(InitRequest)
1
bin
The controller requests the box to initialize. The send and receive functions are
blocked, the FIFO pointers are reset, and the interface is initialized with the values of
the responsible objects (baud rate 4073, data frame 4074, feature bits 4075). The
execution of the initialization is acknowledged by the box with the SW.2 (IA) bit.
0
bin
The controller once again requests the box to prepare for serial data exchange.
1
RA
(ReceiveAccepted)
toggle
The controller acknowledges receipt of data by changing the state of this bit. Only
then can new data be transferred from the box to the controller.
0
TR
(TransmitRequest)
toggle
Via a change of state of this bit the controller notifies the box that the DataOut bytes
contain the number of bytes indicated via the OL bits. The box acknowledges receipt
of the data in the status byte by changing the state of the SW.0 (TA) bit. Only then
can new data be transferred from the controller to the box.
2.5.3
Status word
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
IL7
IL6
IL5
IL4
IL3
IL2
IL1
IL0
-
OVERRUN
ERR
FRAMING
ERR
PARITY
ERR
BUF_F
IA
RR
TA
Key
Bit no.
Name
Description
15 ... 8
IL7 ... IL0
(InLength)
1
dec
.. 22
dec
Number of input bytes available for transfer from the box to the controller.
7
reserved
6
OVERRUN ERR
0 .. 1
An overrun error has occurred. The data concerned is not loaded to the receive
FIFO of the box and is lost.
5
FRAMING ERR
0 .. 1
A framing error has occurred. The data concerned is not loaded to the receive FIFO
of the box and is lost.
4
PARITY ERR
0 .. 1
A parity error has occurred. The data concerned is not loaded to the receive FIFO of
the box and is lost
3
BUF_F
1
The receive FIFO is full. All further incoming data will be lost!
2
IA
(InitAccepted bit)
1
The initialization has been executed by the box.
0
The box is ready again for serial data exchange.
1
RR
(ReceiveRequest)
toggle
Via a change of state of this bit the box notifies the controller that the DataIn bytes
contain the number of bytes indicated via the IL bits. The controller has to acknowl-
edge receipt of the data in the control byte via a change of state of bit CW.1 (RA).
Only then can new data be transferred from the box to the controller.
0
TA
(TransmitAccepted)
toggle
The box acknowledges the receipt of data by changing the state of this bit. Only then
can new data be transferred from the controller to the box.
Summary of Contents for EP6002-0002
Page 2: ......