17
TSS463C
7601B–AUTO–02/06
At this point there co uld be several modules transmitting on the bus, and there is no
possibility of knowing if this is the case or not. Therefore, the first field in that arbitration
can be performed is th e identifier field. Since the log ical zeroes on the bu s are dominant,
and all data is transmitted with the most significant bit (MSB) first, the first module to
transmit a logical zero on the bus will be the prioritized module, i.e., the message that is
tagged with the lowest identifier will have priority over the other messages.
It is, however, possible that two messages transmitted on the bus will have the same
identifier. The TSS463C, therefore, continues the arbitration of the bus throughout the
whole frame. Moreover, if the identifier in transmission has been programmed for re cep-
tion as well, it transmits and receives message s sim ultaneou sly, ri ght up u ntil the Frame
Check Sequence (FCS). Only then, if the TSS463C has transmitte d the whole message,
it discards the message received. Arbitration loss in the FCS field is considered as a
CRC error during tr ansmission.
This feature is called full data field arbitration, and it enables the user to extend the iden-
tifier. For instance it can be used to transmit the emitting modules addr ess in the first
bytes of the data field, thus enabling the identifier to specify the contents of the frame
and the data field to specify the source of the information.
The identifier field of the VAN bus frame is always 12 bits long, and it is always followed
by the 4-bit command field:
• The first bit of the command is the extension bit (EXT). This bit is defined by the
user on transmission and is received and ret ained by the TSS463C. To conform with
the stand ard, it should be set to 1 (recessive) by the user, else the frame is ign ored
without any IT generation.
• The second bit is the reque st ACKnowledg e bi t (RAK). If this bit is a logical one, the
receiving module must acknowledge the transfer with an in-frame
acknowledgement in the ACK field. If it is set to logical zero, then the ACK field must
conta in an acknowledge absent sequence.
• The third bit is the Read/Write (R/W). This bit indicates the direction of the data in a
frame.
– If set to zero, it is a ‘write’ message, i.e., data transmitted by one module to
be received by another module.
– If it is set to one, it implies a ’read’ message, i.e., a request that another
module should tran sm it da ta to be received by the one that requested the
data (reply request message).
• Last in the command field is the Remote T r ansmission Request bit (R TR). This bit is
a logical zero if the frame contains data and a logical one if the frame does not
contain data. In order to conform with the standard a received frame included the
combination R/W. RTR = 01 is ignored without any IT generation.
All the bits in the command field are autom atically hand led by the TSS463 C, so the user
does not need to be concerned for encoding and decoding these bits. The command
bits transmitted on the VAN bu s are calculated from the current status of the active
message.
After the command field comes the data field. This is just a sequence of bytes transmit-
ted MSB first. In the VAN standard, the maxi mum message leng th is set to 28 bytes, but
the TSS463C handles messages up to 30 bytes.
The next field is the FCS field. This field is a 15 bit CRC checksum defined by the follow-
ing generator polynomial g(x) of order 15:
g(x)= x15 + x11 + x10 + x9 + x8 + x7 + x4 + x3 + x2 + 1