BiSS C (unidirectional) PROTOCOL DESCRIPTION

Similar documents
I 2 C Application Note in Protocol B

AN100 v1.4. EtherCAT network synchronization. Distributed clocks

Operator Manual for Profibus

Temperature Sensor TMP2 PMOD Part 1

MB4U BiSS, SSI, PC-USB 2.0 ADAPTER

SSI TO USB CONVERTER SSI2USB

Supply voltage. Input current. Encoder supply. Memory SIMATIC S7-200, CPU 221 COMPACT UNIT, DC POWER SUPPLY 6 DI DC/4 DO DC, 4 KB CODE/2 KB DATA,

User s Manual. EIB 741 EIB 742 External Interface Box for Connecting HEIDENHAIN Encoders

DS28CM00. I²C/SMBus Silicon Serial Number

Absolute Encoder Multiturn

SPI Protocol of the TLE941xy family

Supply voltage. Input current. Encoder supply. Memory

Rubber seat 0.5 MAX MAX

MB4U BiSS, SSI, PC-USB 2.0 ADAPTER

GE MDS, LLC. NETio Series. Protocol Communications Supplement. March 2013 Part No A01, Rev. C

ic-nq EVAL NQ1D EVALUATION BOARD DESCRIPTION

FANCOIL CONTROLLER UNIT TC17B01KNX. Product Handbook

Data Sheet MEM 22. Absolute Encoder Multiturn

HDI Series Amplified pressure sensors

Token Bus. Message Exchange in Token Bus. Example. Problems with Token Bus

Tech Spec for SDXC Host Controller

Errata Sheet RV-8803-C7

Operating Manual. Inferface. CANopen. English

MOS INTEGRATED CIRCUIT

KOLLMORGEN. SERVOSTAR CD. SERCOS IDN Manual M-SS rev. F. Solutions by D A N A H E R M O T I O N

PMBus Power System Management Protocol Specification Part I General Requirements, Transport And Electrical Interface

MODBus RTU for AKOCAM and AKOPRO controllers

General information. Supply voltage

DS2430A 256-Bit 1-Wire EEPROM

Product type designation. General information. Supply voltage

Technical Note: NVMe Simple Management Interface

DS Wire Digital Thermometer and Thermostat

DS2401 Silicon Serial Number

7.6 DI Technical Data. 140 DI135 Chapter 3. General Information

DS75 Digital Thermometer and Thermostat

USB-910H API DLL and Include File Reference Manual

DS2401 Silicon Serial Number

Winford Engineering ETH32 Protocol Reference

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

Technical Note: NVMe Basic Management Command

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

INTEGRATED CIRTUIT OF DIGITAL THERMOMETER OF INDUSTRIAL TEMPERATURE RANGE (functional equivalent of DS18B20 "Maxim-Dallas Semiconductor")

SWISS GARDE 360 HOKUSPOKUS KNX/KLR APPLICATION DESCRIPTION

DS1625. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

Digital Thermometer and Thermostat

Series SD6 Limit with DeviceNet

DS2405. Addressable Switch PIN ASSIGNMENT

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

PICTURE Camera Interface Functional Specification

Introduction to I2C & SPI. Chapter 22

DS1991 MultiKey ibutton

Tongta Inverter TDS-F8

MB3D ic-mb3 BiSS MASTER DEMO-BOARD

OEM API Specification

PM290 POWERMETER. Communication Protocols ASCII & Modbus Reference Guide

AG05. Actuator with CANopen interface User manual 055/18

DS1676 Total Elapsed Time Recorder, Erasable

Application note Differential Pressure Sensor Type D6F-PH (Rev 1.0)

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

Use of the application program

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Product Information on the Manual

IP-THERMISTOR. 6 CHANNELS TEMPERATURE 8-CHANNEL VOLTAGE Industry Pack module HARDWARE REFERENCE MANUAL. Revision 1.0 JANUARY, 2008

MODBUS Protocol. The ecode Encoders contain both single register (16 bit) and double register (32 bit) values.

Product type designation. General information. Supply voltage. Input current

CPU 224. The compact high-performance CPU With 24 inputs/outputs on board Expandable with up to 7 expansion modules Design

+Denotes a lead(pb)-free/rohs-compliant package.

ic-mcw ic-mcw BiSS WATCHDOG FOR RS422 WITH SPI Rev A1, Page 1/22

Digital Thermometer and Thermostat

MB3U, MB3U-I2C BiSS TO PC-USB ADAPTER

RX Family APPLICATION NOTE. I 2 C Bus Interface (RIIC) Module Using Firmware Integration Technology. Introduction. Target Device.

PIN ASSIGNMENT PIN DESCRIPTION

MB3U, MB3U-I2C BiSS, SSI, PC-USB ADAPTER

Hiperface DSL Combined with Safety

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

Data Sheet MEM 16. Absolute Encoder Multiturn

Remote Update Intel FPGA IP User Guide

WV58MR. Redundant rotary encoder with CANopen Safety interface extension User manual 307/17

INTEGRATED CIRCUITS. PCA bit I 2 C and SMBus I/O port with interrupt. Product data sheet Supersedes data of 2004 Jul 27.

Ethernet Modbus X80 Gateway Device Type Manager

TOP VIEW CLOCK GENERATOR A1 A2 GND CPU SPEED SELECT

Why an additional Shaper

Serial Communication. Simplex Half-Duplex Duplex

The Cubesat Internal bus: The I2C

DS1821 Programmable Digital Thermostat and Thermometer

MDP200 Series. Differential Pressure Sensor FEATURES APPLICATIONS DESCRIPTION

EZ Protocol. Communication Protocol for EZPLC. For use of EZAutomation and AVG Customers with EZPLC Products. Copyright 2005 AVG

RL78/I1A APPLICATION NOTE. Lighting Communications Using RL78/I1A (Transmission) Introduction. Target Devices. Contents. R01AN3193EJ0100 Rev.1.

DS 1682 Total Elapsed Time Recorder with Alarm

General information. Supply voltage. Input current

Digital Thermometer and Thermostat

SPI Framework Module Guide

EMBED2000+ Data Sheet

Peripheral Sensor Interface for Automotive Applications

KL Technical Documentation Incremental Encoder Interface. Please keep for further use!

Motors Automation Energy Transmission & Distribution Coatings. Profibus DP SRW 01. User s Manual

PM130 Powermeters Reference Guide Modbus Communications Protocol

User Guide UG206. Rev. No. Revision Details Date Prepared By Checked By. 02 Add CRC calculations 16 June 2004 A. Lustig-Picus D.

PMBus. Specification

Transcription:

Rev A2, Page 1/10 FEATURES Unidirectional sensor interface Synchronous, real-time-capable data transmission Fast, serial, safe Point-to-point or multiple slaves networks Compact and cost-effective Open standard Hardware compatible with SSI (Synchronous Serial Interface) Directly usable IP modules available APPLICATIONS Driver controllers Smart sensors Safe actuators BLOCK DIAGRAM V+ clock + - Last Slave First Slave sensordata SL+ SL- V- Master Device 1 (multiple Slaves, Sensors) Sensor bus (1 Device / multiple Slaves) resp. point-to-point (Master / Device) V+ V+ clock + - + - + - start delay MO+ SLI+ MO- SLI- Last Slave SLO+ SLI+ SLO- SLI- First Slave SLO+ SLO- sensordata SL+ SL- SL+ SL- V- V- Master Device 2 Sensor bus (queued Devices with multiple Slaves each) Device 1 Copyright 2009 ic-haus http://www.ichaus.com

Rev A2, Page 2/10 BRIEF DESCRIPTION This specification describes a serial interface protocol for the synchronous, fast and safe exporting of sensor data. For more information contact ic-haus via www.bissinterface.com. In point-to-point configuration, only one device with one or more slaves (sensors) is connected to the master. The master transmits the clock signal to the slave(s) via the line. The SL line carries the sensor data directly from the first slave back to the master. The BiSS interface has only two unidirectional differential lines in point-to-point configuration and is hardware compatible with the SSI interface. In point-to-point configuration the input SLI of the Last Slave is connected to 0. In bus configuration, all devices, which may also each include multiple slaves, are connected in a chain. Each slave therefore has two terminals (SLO and SLI) with drivers provided for high speed differential signals if applicable. The line supplies the clock signal from the master simultaneously to all slaves and the SLO and SLI lines connect the master and all slaves in a chain. The term First Slave refers to the slave whose data is transmitted to the master first. Its output SLO is directly connected to the return line to the master SL. In the bus configuration the control line MO of the master is connected to the input SLI of the Last Slave. Any desired number of slaves can be connected to a BiSS C-mode interface. All slaves can then transmit their data to the master sequentially in a single frame via several logical channels. The data format parameters of the individual data channels, including the type of information, number of bits and CRC format, are specified for each slave in its data sheet. These transmission parameters can be pre-programmed in the controller and referenced via an ID or lookup table, or manually entered. In addition to using a Full BiSS Master, which permits the connection of any desired slaves, Custom BiSS Masters can operate with limited data channel parameters, and therefore only work together with one or a few slaves. This option enables implementations of BiSS masters with few resources in small FPGAs and with very little RAM.

Rev A2, Page 3/10 OPERATING DESCRIPTION The BiSS C-mode (unidirectional) protocol enables the simultaneous transmission of sensor data (SD) from all slaves to the master. The BiSS frame The isochronous transmission of BiSS frames is typically used for cyclical scanning systems. Here each cycle begins with the transmission of a BiSS frame, then the interface remains in the idle state up to the beginning of the next cycle ( = MO = SLOX = "1"). The cycle duration is therefore at least equal to the duration of a BiSS frame, and may be as long as desired. The BiSS frame (transmission frame) is started by the master transmitting the clock on the line. Here the first rising edge on is used for the synchronization of all slaves to enable the isochronous scanning of sensor data. With the 2nd rising edge from, all slaves generate their "Ack" (Acknowledge) signal by setting their SLO line to "0"; it remains active (SLO = "0") until the start bit arrives at the input SLI of the respective slave. In point-to-point configuration (see Figure 1), the start bit received by the Master is generated by the last slave; it detects point-to-point configuration from the fact that its input SLI is already "0" at the start of a frame. The start bit is then passed on synchronously with the clock from each slave delayed by one clock pulse. The bit following the start bit is always "0" in BiSS C- mode (unidirectional). Beginning with the 2nd bit after the start bit and up to the timeout of the BiSS frame, the data range follows, which transmits the sensor data from the slaves to the master according to the data format of the slave. The BiSS frame ends with the BiSS timeout. In this time no further clock pulses are sent on the line by the master. At the end of data transmission, the master sets its output MO to the idle state "1". The slaves then pass on this "1" received at SLI to their output SLO as soon as they have detected the expiration of the timeout themselves. This ensures that the BiSS timeout on the line SL is only signalled to the master when all connected slaves have detected the timeout. When the BiSS timeout expires, all slaves return to the idle state; all lines are set to the high signal level ("1") in the process. In point-to-point configuration, the last slave signals expiry of the BiSS time-out without waiting for a predecessor. The other slaves then pass on the "1" received at SLI to their output SLO. SLI1 SLO1 Slave number Bit number Ack Start 0 1.n-1 1.n-2 1.n-3 1.6 1.5 1.4 1.3 1.2 1.1 1.0 Data range BiSS timeout Figure 1: BiSS frame (point-to-point configuration) MO SLO3 SLO2 SLO1 Start 0 Ack Start 0 3.2 3.1 3.0 Ack Start 0 2.2 2.1 2.0 3.2 3.1 3.0 Ack Start 0 1.2 1.1 1.0 2.2 2.1 2.0 3.2 3.1 3.0 Data range BiSS timeout Figure 2: BiSS frame with 3 slaves (bus configuration)

Rev A2, Page 4/10 Processing time per request If a slave requires additional processing time before outputting its sensor data, e.g. for A/D conversion or for memory access, it can request this by delaying the start bit. The master detects the delayed start bit and generates the additionally required clock pulses. If a device in point-to-point configuration consists of several slaves, then all except the last slave must temporarily save the data of their predecessor received at SLI and then send this data to SLO following their own data. The slave with the longest processing time specifies the entire processing time; it is advisable to position it as the last slave. SLI2 SLO2 SLO1 Ack Start 0 2.2 2.1 2.0 Ack Start 0 1.2 1.1 1.0 2.2 2.1 2.0 Busy Data range BiSS timeout Figure 3: Requests for processing time (point-to-point configuration) Processing time per parameter In bus configuration, the master delays transmitting the start bit on the MO line. For this purpose, the master must be configured to the longest delay time of all connected slaves. If the processing time required by the slave is variable, the maximum required processing time must be set. Specified times are converted by the controller into clock pulses with the currently set bus clock speed, rounded up. This setting is configured in the master. MO SLO2 SLO1 Ack Start 0 Start 0 2.2 2.1 2.0 Ack Start 0 1.2 1.1 1.0 2.2 2.1 2.0 Busy Data range BiSS timeout Figure 4: Parameterized processing time (bus configuration) Line delay compensation At high data rates, the line must have the same line topology and be provided with the same line drivers as the chain SLI-SLO. As a result, and SLI are assigned the same additional-time-dependent delay and remain synchronized. The total signal delay of the chain from the clock pulse to the output of the first slave (signal SL) can be measured out by the master and compensated with a corresponding shifting of the scanning of the slave signals (See Figure 5). In addition, the data output to MO is delayed if the line delay is greater than one period. To determine the line delay, the delay from the two rising edges to the falling edge of the Ack bit of the slave response (SL: "Ack") is used; it is ideally zero. The line delay compensation enables accelerated communication with high data rates of typically 10 Mbit/s. It recalculated for each BiSS frame, and therefore also takes aging and temperature-dependent drift into account.

Rev A2, Page 5/10 MO SLO3 SLO2 SLO1 Start 0 Ack Start CDS 3.2 3.1 3.0 Ack Start CDS 2.2 2.1 2.0 3.2 3.1 3.0 Ack Start CDS 1.2 1.1 1.0 2.2 2.1 2.0 3.2 3.1 3.0 Line delay Data range BiSS timeout Figure 5: Line Delay compensation by the master Bus reset After switch-on or an error, the master must maintain a break of 40 956;s prior to data transmission. This ensures that the BiSS timeout has expired and all slaves are ready. In point-to-point configuration the last slave is not defined before the first pulse, which also causes the SL line to remain set to zero. The master must either generate a pulse to or start the first cycle without taking SL into account.

Rev A2, Page 6/10 SENSOR DATA COMMUNICATION The data area The data area is used to transmit sensor data from the slaves to the master. The entire data area is divided into logical data channels. The position and length of the individual data channels is described for each slave in its parameters. A slave can have no, one or several data channels for sensor data. The master must be programmed with the parameters of the individual data channels in their sequence and the sequence of the connected slaves to be able to correctly assign their bits. The check bits (CRC) contained for each data channel are used to detect transmission errors and bit offsets. The data from the first slave reaches the master directly after the "0" bit. The further data channels follow without separation by start or stop bits. The length of the data area is the sum of the length of all data channels. The slave numbering is carried out in the sequence of the data transmission, and is therefore counted in the reverse sequence of the signal direction SLI SLO. The slaves can only correctly signal the BiSS timeout in the BiSS frame if all SLO lines have the signal level "0" at the start of the BiSS timeout. If an error occurs, the BiSS frame can be cancelled with a timeout of 40 µs at any time. The BiSS C-mode master transmits "0" on the MO line following the start bit until no further clock pulses are sent on. Then MO returns to its idle state ("1"). The data channels A data channel is a logical unit used for secured data transmission and describes the related parameters and data contents. A data channel occupies a parameterized length in the data area of the BiSS frame and in the memory of the master (number of data and CRC bits). The data sheet details the parameters necessary for secured data transmission and the description of the data contents. The controller must be configured in accordance with these parameters.

One or more channels per slave Rev A2, Page 7/10 RAM Data channel parameter Sensor data Sequence control MO Shift register Sensor data SL Master Sensor Figure 6: Configuration and transmission of sensor data The data channel parameters The following parameters are defined for data channels: Number of bits (1... 64) Processing time (0 956;s... t busy_s ) Data alignment (left or right-justified) CRC polynomial (for 0... 8 CRC bits) Processing time for single-cycle data The processing time begins simultaneously in all slaves with the first rising edge of. In the parameters the processing time is either specified as a time unit or in clock pulses; a dependency on the frame length is permissible. The maximum processing time is t busy_s (see Characteristics, below). The data values All data values are transmitted with the most significant bit first ("MSB first"). A data value itself can consist of several bit groups, e.g. a measured value and several error flags. The composition and alignment of the data values are defined in the data sheet of the slave. Figure 7 shows data alignment with a data length of 13 bits, stored in a 16-bit wide word in the master.

Rev A2, Page 8/10 Figure 7: Alignment of data values Invalid values It is recommended that the data value zero ("0") be reserved as invalid for the detection of an incorrectly configured transmission direction of a data channel for single-cycle data. The master also transmits the data value zero if no new data are available for an actuator data channel at the start of the BiSS frame. Usually, the value zero ("0") is avoided in the valid data by using at least one bit of the data value as a "0"-active error bit. CRC transmission checking Each data channel include a CRC in addition to its data value. The properties of the CRC are specified in the parameters of the data channel. The CRC polynomial also indicates the transmitted CRC bits; 0 to 8 bits are possible. The CRC bits are always transmitted inverted, and with the most significant bit first. If other checking methods are used to protect a data channel, or if the maximum number of bits is not sufficient for a CRC, then the CRC is deactivated (CRC polynomial = 0). The check bits are then transmitted within the (maximum of 64 bits per data channel) normal data bits and stored in the memory of the master. The check bits can now be checked with software.

Rev A2, Page 9/10 CHARACTERISTICS Nr. Symbol Parameter Condition Min. Max. Unit 01 1/T Clock frequency signal 80 1) khz 02 1/T min Minimum clock frequency signal, all slave supported 80 10000 khz clock frequency 03 t l Clock signal low level duration = "0" 1) 12.5 µs 04 t h Clock signal high level duration = "1" 1) 12.5 µs 05 t BiSS-Timeout BiSS timeout 12.5 2) 40 µs 06 t BiSS-Timeout_s reduced BiSS-Timeout for after configuring bits 0.5 3 µs slaves without automatic 0 dots 2 in adress 124 BiSS-Timeout adaption on T 07 t BiSS-Timeout_a Adaptive BiSS-Timeout for slaves with automatic BiSS- Timeouts adaption on T sampling frequency: 1/T CLK T CLK 1.5 T T CLK 1.5 T 08 t LineDelay Delay SL Measurable within a BiSS- Frame from the second rising edge to the first falling SL edge 1.5 T 1.5 T + 3.0 T CLK 1.0 T CLK 1.5 T + 3.0 T CLK 0 40 µs 09 t LineJitter Delay jitter SL within a BiSS frames -25 25 %T 10 t busy_s Processing time for single cycle data 0 40 µs 1) The maximum clock-pulse rate is dependent on the transmission medium (see BiSS Interface - Physical Layer) and on the individual devices. The maximum clock-pulse rate is, among other things, stored in the EDS. 2) The Min column is obsolete after programming via register access, automatic bit rate detection or for custom BiSS C-Mode slaves. The reduced timeout can prevent the BiSS communication at a lower clock-pulse rate; the error can only be detected as a general communication error. Table 1: Table of characteristic

Rev A2, Page 10/10 TERMS AND ABBREVIATIONS Term Bus establishment Master Device Slave BiSS-Frame BiSS-Timeout "First slave" "Last slave" Data area Data channel Data value Register bank Controller Big Endian Meaning Detecting all slaves including parameterizing and error handling. Interface device between BiSS C-Mode bus and control. Physical unit. Contains one or multiple slaves. Logic unit within a device. Occupies one single ID and uses none, one or multiple data channel. Cyclically executed and carries single cycle data completely and one bit at a time of register data. Timeout give by the connected slaves. Separates following BiSS frames. The slave with the data which are transmitted first with the BiSS frame. The slave with the data which are transmitted last with the BiSS frame. The bits in the BiSS frame which the data channels transmit. A logical channel which contains the data and check bits of a data value and is parameterized as such. A value which is transmitted protected. It can contain additional bits and bit groups, however is treated by the BiSS master as a number. A switchable area of 64 registers in which registers or memory of the slave can be displayed. The controller is the higher-ranking logic of the BiSS master. This is usually understood to be the processor which controls the BiSS master and the software running on it. Byte sequence with which the highest-value byte is saved at the lowest-value address. Table 2: Table of terms Abbreviation Meaning Description SCD Single-Cycle Data A value transmitted completely in one BiSS frame. CDM Control Data Master Master bit for control communication. Not used in BiSS C-mode (unidirectional). CDS Control Data Slave Slave bit for control communication. The value of the foregoing slave is passed in BiSS C-mode (unidirectional). DCH Data Channel Logical unit used for secured data transmission. SLI Slave In Data input of the BiSS C-mode slave. SLO Slave Out Data output of the BiSS C-mode slave. MO Master Out Data output of the BiSS C-mode master. Master Clock Clock pulse output of the BiSS C-mode master. SL Slave return Data input of the BiSS C-mode master. EDS Electronic Data Sheet Electronic Data Sheet. XML extensible Markup Language A language for describing documents. CRC Cyclic Redundancy Check Procedure for transmission checking. MSB Most Significant Bit Highest-value bit LSB Least Significant Bit Lowest-value bit Table 3: Table of abbreviations