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
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
- 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)
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.
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 Period | Define 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
SL | Serial data receive from from Sensor |
---|---|
MasterConfiguration | Start 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.
|
SlavesNumber | This 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/SensorDataFrequency | These inputs are present only if "Sensor Frequency Specification" parameter is set to "As input port". See Parameters section for details. |
AutoGetSensorFrequency | This 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).
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.
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
MA | Transmission Clock to Sensor. |
---|---|
READY | Master configuration done. |
NER | Error 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) 0xF0 =>
0xF1 => Single Cycle Data Valid |
Status_information2 | 0xF2 => same as 0xF1 0xF3 =>
|
Instruction_register | |
PositionValueSlavex | At 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 Feedthrough | N/A |
---|---|
Discrete sample time | N/A |
XHP support | N/A |
Work offline | YES |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter