
XI- TRANSMITTING DATA IN PARALLEL MODE
(continued)
XI.6.7- HDLCSpecial Timming
Figure 36
DATA TRANSMITTED
7E..7E 7E
DATA
CRC
_NHFBF
7E..7E 7E
CRC
_NHFCF
7E 7E..7E
_NHFST
Time to fill the Buffer 0
(Otherwise Extra
Flags Added)
Time
to fillthe
Buffer 1
Time
to fill the
Buffer 0
DATA
Time to fill the
Buffer 1(Otherwise
Extra Flags Added)
Time
to fill the
Buffer 0
IT
Tx
IT
Tx
IT
Tx
IT
Tx
IT
Tx
FORM 2
XMIT 1
XMIT 0
STOP
7
Aset of globalvariablesallowsthe programmation
of the number of flags (7E) generated by the
ST75C530/540:
- _NHFBF : Number of flagsbefore the first frame.
- _NHFCF: Number of flags between frames.
- _NHFST : Numberof flags after the last frame.
The default value for all these variables is 0, the
programming range is from 0 to 7FFF (32767).
These varaibales must be modified with a MW or
MWIcommand (see Figure 36).
XI.7- UARTMode Description
In UART mode the ST75C530/540 transmits the
data Character contained into the DUAL Ram
buffe.The mechanism is as follows:
- While the Host has no characterto transmit, that
is: as long as
DTTBSx
equals $00, the
ST75C530/540transmitscontinuous“1”.
- Whenthe Hostwantstosendachacarter,itfeeds
the bufferwith the characterto transmit.
- The ST75C530/540start to send a stop bit (“0”)
thenthecharactercontainedintheBuffer,comput-
ing the parity. It send the parity bit, if needed,and
the stop bits (1 or 2 according with the
FORM
command).
- If the user wants to send a break signal, he has
tosetthe
BUFF_UBRK
bitwithinthe correspond-
ing Status Word (
DTTBSx
). A break signal is
defined asa totalynullcharacterwithall stop bits
duration maintained to “0” (e.g: if format is 7 bit,
even parity and 2 stop bit, break is a ”0” durring
10 bit). Multiple continuous breaks (“0” continu-
ous signal) can be send by using consecutive
bufferswith
BUFF_UBRK
set to 1.
XI.7.1 - Status WordFormat
DTTBSx in UART Mode
Field
Pos. Value
Definition
BUFF_LENG 3 .. 0
0
1
other
Buffer empty.
1 character to transmit
(
DTTBFx[0]
).
Not allowed.
BUFF_UBRK
6
0
1
Normal character.
Break signal: acomplete
“0” character with all stop
bits equalto ”0”.
Other
7
0
Reserved, must be 0.
ST75C530- ST75C540
69/84