SENT Peripheral Configuration
Map data transfer over SENT protocol in the Infineon AURIX model to peripheral registers in the MCU
Since R2024b
Description
View and edit the map of SENT protocol used in the Infineon® AURIX™ model to the hardware peripherals.
Using the Peripheral Configuration tool, you can:
View and edit configuration parameters for SENT block.
Check for conflicts, if any between peripherals.
Open the SENT Peripheral Configuration
In the Hardware tab, click Hardware Mapping.
Parameters
Pin
— Selection of pin for reading data over SENT protocol
pin number
Select the pin number for reading the data over SENT protocol.
Dependencies
The available pins depend on your selection for the Module parameter.
Input pins pull
— State of communication line used for SENT protocol
Pull-down
(default) |
Pull-up
|
Tri-state
Select the state of communication line used for SENT protocol.
Output pin pull(for SPC)
— State of communication line used for SPC mode
Open Drain
(default) |
Push-Pull
Select the state of communication line used for SPC mode.
Speed
— Speed of data transmission over SENT protocol
Speed-3
(default) |
Speed-1
|
Speed-2
Speed of data transmission over SENT protocol.
Voltage level
— Voltage level of the pin based on the application
Automotive
(default) |
TTL-5V
|
TTL-3.3V
Voltage level of the pin based on the application of SENT protocol.
Tick time in micro seconds
— Tick time to decode the nibble data
3
(default) | valid range: 1
≤ Tick time ≤ 90
Tick time to convert the data received over SENT protocol.
Number of nibbles
— Number of nibbles per frame
6
(default) |
1
to 8
Number of nibbles per frame.
Signal Level
— Signal level of SENT protocol
Active high
(default) |
Active low
Signal level of SENT protocol.
CRC check
— CRC check for the standard frame received over SENT protocol
Enabled
(default) |
Disabled
CRC check for the standard frame received over SENT protocol.
Status nibble in CRC check
— Option to include Status nibble in CRC check
Not included
(default) |
Included
Option to include Status nibble in CRC check.
Serial data processing
— Slow serial data processing over SENT channel
Disabled
(default) |
Enabled
Slow serial data processing over SENT channel.
Dependencies
This parameter appears only if you select the Serial parameter in the SENT block in the Simulink® model.
Serial frame structure
— Serial frame structure over SENT channel
Short
(default) |
Enhanced
Specify serial frame structure over SENT channel.
Dependencies
This parameter appears if you enable the Serial data processing parameter.
CRC check for serial data
— CRC check for serial data received over SENT protocol
Enabled
(default) |
Disabled
CRC check for serial data received over SENT protocol.
Dependencies
This parameter appears if you enable the Serial data processing parameter.
Trigger source
— Trigger source for SPC transmission
Software trigger
(default) |
Hardware trigger
Select the source of trigger for SPC transmission.
Dependencies
This parameter appears only if you select the SENT
Protocol parameter as SPC
.
Source of hardware trigger
— Source of hardware trigger for SPC transmission
ATOM0_4
(default) | ATOM#_#
| TOM#_#
Select the source of hardware trigger for SPC transmission.
Note
The rising edge of the hardware trigger activates the SPC pulse.
Dependencies
This parameter appears only if you select the Trigger
source parameter as Hardware
trigger
.
Trigger source channel
— Select hardware trigger signal
Sent_TriggerSignal_0
(default) | options vary based on value of Source of hardware trigger parameter
Select the hardware trigger signal for SPC transmission.
For more information on SENT trigger signals, see SENT Trigger Signals.
Note
The Source of hardware trigger parameter value must match the Timer unit and Channel # parameter values you choose in PWM Peripheral Configuration tool for SENT trigger.
Dependencies
This parameter appears only if you select the Trigger
source parameter as Hardware
trigger
.
Sensor count
— Specify sensor count
1 (default) |
1
to 4
Specify sensor count for sensor selection.
This parameter decides the number of SPC pulses to configure in the sensor selection mode.
Dependencies
This parameter appears only if you select the SPC Mode
parameter as Sensor selection
.
Pulse length # in ticks
— Pulse length for SPC pulse #
0
(default) |
0
to 63
Specify pulse length for SPC pulse #.
Note
You can configure up to 3 SPC pulses if you set the SPC Mode parameter as Feature selection.
You can configure up to 4 SPC pulses (based on Sensor count parameter) if you set the SPC Mode parameter as Sensor selection.
You must specify a value at the DataSel input port within the range of 1 to 4 depending on the SPC Mode parameter. If you provide a DataSel value outside this range, the block will, by default, consider the pulse length values for the out-of-range SPC pulse as the value provided at the Pulse length 1 in ticks parameter.
Dependencies
This parameter appears only if you select the SENT
Protocol parameter as SPC
.
Pulse- # delay length in ticks
— Pulse delay for SPC pulse #
0
(default) |
0
to 63
Specify pulse delay for SPC pulse #.
Note
You can configure up to 3 SPC pulses if you set the SPC Mode parameter as Feature selection.
You can configure up to 4 SPC pulses (based on Sensor count parameter) if you set the SPC Mode parameter as Sensor selection.
You must specify a value at the DataSel input port within the range of 1 to 4 depending on the SPC Mode parameter. If you provide a DataSel value outside this range, the block will, by default, consider the pulse delay value for the out-of-range SPC pulse as the value provided at the Pulse- 1 delay length in ticks parameter.
Dependencies
This parameter appears only if you select the SENT
Protocol parameter as SPC
.
Enable standard data reception
— Option to add interrupt for standard data reception
off
(default) |
on
Option to add interrupt for standard data reception.
Enable serial data reception
— Option to add interrupt for serial data reception
off
(default) |
on
Option to add interrupt for serial data reception.
Enable communication error
— Option to add interrupt for communication error
off
(default) |
on
Option to add interrupt for communication error (for example, CRC check).
Enabling communication error can trigger interrupt in any of the following cases:
Received synchronization / calibration pulse has deviated by permissible limit from nominal value.
Received synchronization / calibration pulse has deviated by permissible limit from predecessor value.
Wrong number of nibbles are received.
Nibble value received is outside range of 0 to 15.
Status and communication nibble is wrong, that is, start bit is 1 in frame other than n-by-16.
CRC check for serial data has failed.
Enable receive buffer overflow error
— Option to add interrupt for receive buffer overflow error
off
(default) |
on
Option to add interrupt for receive buffer overflow error.
Enable transmit buffer underflow error
— Option to add interrupt for transmit buffer underflow error
off
(default) |
on
Option to add interrupt for transmit buffer underflow error.
Enable watchdog error
— Option to add interrupt for watchdog error
off
(default) |
on
Option to add interrupt for watchdog error.
Interrupt service request line
— Service request line for the interrupts
Service request-0
(default) |
Service request-0
to Service request-9
Service request line for the interrupts (based on the above parameters, if selected).
Note
All interrupts for a selected SENT module are serviced using a single service request line.
Dependencies
Service request line is enabled only if at least one of the above mentioned interrupt events are enabled.
Digital filter depth
— Digital filter depth
2
(default) | scalar in the range (0,15)
Option to add digital filter depth.
Enable frequency drift
— Option to enable frequency drift
off
(default) |
on
Option to enable frequency drift for data transmission over SENT protocol.
Ignore pause pulse
— Option to ignore pause pulse
off
(default) |
on
Option to ignore pause pulse for data transmission over SENT protocol.
Receive data bits
— Group of four data bits for selecting the nibble order
Nibble 1
(default) |
Nibble 1
to Nibble 8
Eight groups of receive data bits - Receive data bits[0:3] to Receive data bits[28:31]. Select the nibble number for each of the eight groups to form the 32-bit data output.
Version History
Introduced in R2024b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)