Documentation Home Page RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Biss Master

Block

Block

Mask

Mask

Description

The BissMaster block represents a BISS-C interface Master for Point-To-Point communication.

It's responsible for communication with sensors and allows simple transmission of position data to the higher-level application. The variant of Biss master used in this block is mb101x form iC Haus with 16 bits parallel and 1 channel for point-to-point configuration.

A maximum of eight Biss slaves is supported, each with their own independently scalable data sections encompassing sensor data from 0 to 64 bits (for measurement data, alarms, and warnings).

Biss operates synchronously, serially and cyclically via two unidirectional lines:

  • MA: Clock from the master to the slave sensor.
  • SL: Data from sensor to the master.

At a system clock frequency of 100 MHz, the serial interface can operate with a clock rate from 312.5 Khz to 10 Mhz.

Parameters

Slaves_number Specification

Specifies how to configure the number of slaves. Two options are available.

  • In the first option (As input port), the number of slaves is provided externally to the block by the USER. 
  • The second option (As Block Parameter) allows the user to enter the value from the block (In this case, the value can only be modified by regenerating a bitstream).

In both options, the number of slaves must be between 1 and 8.

Sensor Frequency Specification

Specifies how to configure Sensor frequency. Two options are available.

  • In the first option (As input port), the value to configure the sensor frequency is provided externally to the block by the USER.
  • The second option (As Block Parameter) allows the user to enter the value from the block (In this case, the value can only be changed by regenerating a bitstream).

When the second option is selected, two new tabs are available:

  • Register Data Frequency Value: The FREQR value must be between 0 and 7 and the register data frequency is calculated from the equation below

Register Data Frequency Value

  • Sensor Data Frequency Value: the FREQS value must be between 0 and 2^5 and the sensor data frequency is calculated from the  equation below (Note that 16 is not permissible and fclk correspond to 100 Mhz)

Sensor Data Frequency Value

Example: For a clock frequency of 10 Mhz, the FREQS value must be 0x04.

Please see iC-MB100 iC Haus specifications for more details.

Auto Get Sensor Frequency Specification

This parameter allows the user to specify how to configure the Auto Get Sensor Frequency. Two options are available.

  • In the first option (As input port), the value to configure the AGS frequency is provided externally to the block by the USER.
  • The second option (As Block Paramater) allows the user to enter the value from the block (In this case, the value can only be changed by regenerating a bitstream).

The maximum value of FREQAGS is 2^8 and the Auto Get Sensor Frequency is calculated from the equation below.

Auto Get Sensor Frequency Specification

Example: for AGS frequency of 40 Khz (25 us)

FREQAGS(7) = 1 to use the second equation
FREQAGS(6:0) = (100 Mhz  / 40 Khz * 625) - 1= 3
=> FREQAGS = 0x83

General Tab

Sample PeriodDefine the sample period of the logic in the FPGA. This parameter cannot be modified by user.


Note: Refer to iC-MB100 - Biss Interface Master from iC Haus for more details.


Inputs

SLSerial data receive from from Sensor
MasterConfigurationStart Master configuration (Active High). When the master configuration is done, the output ready turn to '1'. To reconfigure the master, you have to reset the model and restart the configuration.
AutoGetSensStart

Start of data transmission after time out.  Master configuration have to be done before start the communication with sensor.

  • 0x01: start communication
  • 0x00: pause
  • 0x10: reset the bus (Init)
SlavesNumberThis input is present only if "Slaves_Number Specification" parameter is set to "As input port". The range of slaves number is 1 to 8.
RegisterDataFrequency/SensorDataFrequencyThese inputs are present only if "Sensor Frequency Specification" parameter is set to "As input port". See Parameters section for details.
AutoGetSensorFrequencyThis input is present only if "Auto Get Senssor Frequency Specification" is set to "As input port". See Parameters section for details.
ENSCD_SCDLENx

This input is for slave configuration in Single Cycle Data (SCD) configuration (x correspond to the slave number).

  • Bit 7 GRAYS : 1 -> SCD gray / 0 -> SCD binary
  • bit 6 ENSCDx : 1 -> SCDen available / 1 -> SCDen not available
  • bits 5:0 SCD length = SCDLENx(5:0) +1

Be careful to consider that the SCDLEN contains the n positions bits + 2 status bits (error and warning) minus 1. 

For example, if the sensor is 32 bits positions resolution => SCDLEN = (32+2)-1 = 33 = 0x21

INVCRC_SCRCPOLYx

This input is for CRC slave configuration.  

  • bit 7 INVCRCx : 1 -> CRC for SCD inverted / 0 -> CRC for SCD not inverted
  • bits 6:0 SCRCPOLYx : CRC polynome for SCD = SCRCPOLYx(6:0) = CRC polynome(7:1)

example :  For not inverted CRC polynome of 0x43 (100 0011b) -> 

INVCRCx = 0b

SCRCPOLYx =  010 0001b

INVCRC_SCRCPOLYx = 0010 0001b

SCRCSTARTx_BYTE1/SCRCSTARTx_BYTE2

These inputs are for CRC Start value (xcorrespond to the slave number).



Note: The number of ENSCD_SCDLENx / INVCRCPOLYx / SCRCSTARTx_BYTE1 / SCRCSTARTx_BYTE2  inputs depend on the slaves number configured in slaves_number parameter (if "As block parameter" is selected). Otherwise, 8 slaves are presents in the inputs/outputs.



Note: Refer to iC-MB100 - Biss Interface Master from iC Haus for more details.


Outputs

MATransmission Clock to Sensor.
READYMaster configuration done. 
NERError message low active. When NER is '0', you can check the status information outputs for more details.
Status_information1

(bits 7 "nERR" and 1 are not considered)

Status_information1

0xF0 =>

  •     bit 6 "nAGSERR" : Unable to start SCD frame
  •     bit 5 "nDELAYERR" : Missing start bit during register communication
  •     bit 4 "nSCDERR" : Error in single cycle data transmission
  •     bit 3 "nREGERR" : Error in register data transmission
  •     bit 2 "REGEND" : Register data transmission completed 
  •     bit 0 "EOT" : End of Trame

0xF1 => Single Cycle Data Valid

Status_information2

Status_information2

0xF2 => same as 0xF1

0xF3 => 

  •     bit 7 "CDMTIME-OUT" : Control data time out met
  •     bit 6 "CDSSEL" : Register bit of data transmission (selected channel)
  •     bits 5:0 "REGBYTES" : Number or valid register data transmitted in case of error.
Instruction_register

Instruction_register

PositionValueSlavexAt this output, the position value for slave x is available.


Note: Refer to iC-MB100 - Biss Interface Master from iC Haus for more details.


Characteristics and Limitations

This Block has no specific characteristics or limitations

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
Work offlineYES

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323