Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

L6364 Datasheet(PDF) 27 Page - STMicroelectronics

No. de pieza L6364
Descripción Electrónicos  Dual channel transceiver IC for SIO and IO-Link sensor applications
PDF  60 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

L6364 Datasheet(HTML) 27 Page - STMicroelectronics

Back Button L6364 Datasheet HTML 23Page - STMicroelectronics L6364 Datasheet HTML 24Page - STMicroelectronics L6364 Datasheet HTML 25Page - STMicroelectronics L6364 Datasheet HTML 26Page - STMicroelectronics L6364 Datasheet HTML 27Page - STMicroelectronics L6364 Datasheet HTML 28Page - STMicroelectronics L6364 Datasheet HTML 29Page - STMicroelectronics L6364 Datasheet HTML 30Page - STMicroelectronics L6364 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 60 page
background image
9.3
Checksum calculation and verification
The checksum for an out-going message is calculated by the L6364, by logically exclusively OR'ing all LINK:CNT
octets of the message, with a starting value of 0x52.
For this calculation the written value of the Checksum register should be zero. The Checksum is then compacted
from 8 to 6 bits using the algorithm of Table 26:
Table 26. Checksum compaction
Bit
Calculation
C[5]
D[7] xor D[5] xor D[3] xor D[1]
C[4]
D[6] xor D[4] xor D[2] xor D[0]
C[3]
D[7] xor D[6]
C[2]
D[5] xor D[4]
C[1]
D[3] xor D[2]
C[0]
D[1] xor D[0]
The L6364 then inserts this 6-bit checksum into the lower bits of the last octet sent (“Checksum/status octet”).
Table 27. Checksum/status (CKS) octet
MSB
LSB
Event flag
PD Invalid
Checksum
The L6364 calculates the expected checksum for an incoming message, by exclusively OR'ing the octets of the
message, with a starting value of 0x52.
For this calculation the Checksum/M-sequence type (CKT) octet is used, but with all of the bits of the Checksum
field set to zero.
The calculated and expected checksum are compared and STATUS:CHK is set accordingly.
9.4
Data signal receive
The baud rate for signal reception is set by the CFG:BD bit. Both 38.4.4k Baud and 230.4k Baud are supported.
The CQ data level is monitored for signals, filtering out pulses with a duration of less than (1/16) * TBIT, see
Table 5. The decision threshold for the CQ data level is determined by the CFG:RF bit.
Where this is '0', the IO-Link standard absolute levels are used, and where the bit is '1' the threshold is referred
to VVPLUS/2. The first transition is the start reference of the frame. After this, data is sampled at the center of
each bit time. Bits are read into the data buffer, removing the start and stop bits. The fill level is recorded in the
LINK:CNT field.
Once the expected number of UART frames have been read, the checksum and parity bits for the message
are checked, and the STATUS:CHK bit set appropriately. The STATUS:DAT status bit is set, and an interrupt
is generated. Consecutive UART frames are expected from the master within a period of 4xTBIT. If this time is
exceeded, then both STATUS:DAT and STATUS:CHK bits are set and an interrupt is generated.
The L6364 then enters the Transmit state and waits for the microcontroller to read the data and prepare a return
message, signaling completion by writing a '1' to either the LINK:SND or LINK:END register bits.
9.5
Data output
The baud rate for transmission is set by the CFG:BD bit. Both 38.4.4k Baud and 230.4k Baud are supported.
The number of message octets for transmission are written into the LINK:CNT field and sent following writing bit
LINK:SND. The START, STOP and PARITY bits are appended to create the UART frames, and the checksum
calculated and stuffed in the message.
L6364
Checksum calculation and verification
DS13363 - Rev 4
page 27/60



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com