MCAN Transmit Peripheral Configuration
Map peripherals of MCAN Transmit block in the model to peripheral registers in MCU
Since R2024b
Description
Use the Hardware Mapping tool to view and edit the module and node settings of MCAN peripherals in the Infineon® AURIX™ model.
Using the Hardware Mapping tool, you can:
View and edit the configuration parameters of the MCAN Transmit block.
Check for any conflicts between the peripherals.
Open the MCAN Transmit Peripheral Configuration
In the Hardware tab of the Simulink® model, click on Hardware Mapping. In the mapping browser, navigate to Peripherals > MCAN to configure MCAN global parameters and Peripherals > MCAN > MCAN Transmit to configure MCAN transmission nodes.
Examples
Parameters
Select transmit pin
— Pin number for CAN message transmission
P33_8
(default) | pin numbers
Select the pin number for CAN message transmission.
Select receive pin
— Pin number for CAN message reception
P33_7
(default) | pin numbers
Select the pin number for CAN message reception.
Output pins strength
— Strength of output pins for CAN communication
Push pull
(default) |
Open drain
Select the strength of the output pins for CAN communication.
Input Mode
— State of communication line
Tri-state
(default) |
Pull-up
|
Pull-down
Select the input mode for the CAN communication.
Speed
— Speed of CAN pins
Speed-1
(default) |
Speed-2
|
Speed-3
Select the speed of the CAN transmit and receive pins.
Voltage level
— Voltage level of CAN pins
Automotive
(default) |
TTL-5V
|
TTL-3.3V
Select the voltage level of the CAN transmit and receive pins.
Frame format
— Frame format for CAN communication
CAN-FD
(default) |
Classic CAN
Select the frame format for CAN communication.
Auto calculate bit timing
— Option to enable auto calculation of bit timing
off
(default) |
on
Select this parameter to enable calculate the bit timing automatically.
Enable bit rate switching
— Option to enable bit rate switching
on
(default) |
off
Select to enable bit rate switching between nominal bit rate and data bit rate.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
.
Baud rate
— Baud rate in arbitration phase
500kbps
(default) |
1000kbps
|
250kbps
|
125kbps
|
100kbps
|
83.33kbps
|
62.5kbps
|
50kbps
|
33kbps
Specify the baud rate for the selected CAN node in the arbitration phase.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
and select the Enable
bit rate switching parameter.
Sample point (%)
— Sample point to resynchronize CAN nodes in arbitration phase
80
(default) | scalar in the range (0,100)
Specify the sample point to synchronize the CAN nodes in arbitration phase.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and select the Auto calculate
bit timing parameter.
Time segment 1
— Number of time quanta before sample point in arbitration phase
3
(default) | scalar in the range (0,255)
Specify the number of bit time quanta to compensate the edge phase errors before the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 2 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Time segment 2
— Number of time quanta after sample point in arbitration phase
10
(default) | scalar in the range (0,255)
Specify the number of bit time quanta to compensate the edge phase errors after the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 1 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Synchronization jump width
— Bit time adjustment limit in arbitration phase
3
(default) | scalar in the range (0,255)
Specify the bit time adjustment limit for the arbitration phase. Specify a positive integer indicating the number of bit time quanta segments.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Baud rate
— Baud rate of data
500kbps
(default) |
8000kbps
|
4000kbps
|
2000kbps
| 1000kbps
Specify the baud rate of data.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
and select the Enable
bit rate switching parameter.
Sample point (%)
— Sample point to resynchronize CAN nodes in data phase
80
(default) | scalar in the range (0,100)
Specify the sample point for resynchronization of CAN nodes in data phase.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and select the Auto calculate
bit timing parameter.
Time segment 1
— Number of data time quanta before sample point in data phase
3
(default) | scalar in the range (0,255)
Specify the number of bit time quanta before the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 2 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Time segment 2
— Number of data time quanta after sample point in data phase
10
(default) | scalar in the range (0,255)
Specify the number of bit time quanta after the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 1 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Synchronization jump width
— Maximum allowed time adjustment
3
(default) | scalar in the range (0,255)
Specify the maximum limit of bit time adjustment in the case of resynchronization in data phase. The specified value must be a positive integer indicating a number of bit time quanta segments.
Dependencies
To enable this parameter, set the Frame format
parameter to CAN-FD
, select the Enable bit
rate switching parameter, and disable the Auto
calculate bit timing parameter.
Baud rate
— Baud rate of CAN bus
500kbps
(default) |
1000kbps
|
250kbps
|
125kbps
|
100kbps
|
83.33kbps
|
62.5kbps
|
50kbps
|
33kbps
Specify baud rate for the CAN bus.
Dependencies
To enable this parameter, set the Frame format
parameter to Classic CAN
.
Sample point (%)
— Sample point to resynchronize CAN nodes
80
(default) | scalar in the range (0,100)
Specify the sample point to synchronize the CAN nodes.
Dependencies
To enable this parameter, set the Frame format
parameter to Classic CAN
and enable the
Auto calculate bit timing parameter.
Time segment 1
— Number of data time quanta before sample point
3
(default) | scalar in the range (0,255)
Specify the number of bit time quanta before the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 2 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to Classic CAN
and disable the
Auto calculate bit timing parameters.
Time segment 2
— Number of data time quanta after sample point
10
(default) | scalar in the range (0,255)
Specify the number of bit time quanta after the sampling point. Typically, an adjustment of this value is made with a corresponding inverse adjustment to Time segment 1 parameter, such that their sum remains constant.
Dependencies
To enable this parameter, set the Frame format
parameter to Classic CAN
and disable the
Auto calculate bit timing parameters.
Synchronization jump width
— Bit time adjustment limit
3
(default) | scalar in the range (0,255)
Specify the maximum limit of bit time adjustment in the case of resynchronization. The specified value must be a positive integer indicating a number of bit time quanta segments.
Dependencies
To enable this parameter, set the Frame format
parameter to Classic CAN
and disable the
Auto calculate bit timing parameters.
Transmit mode
— CAN data transmission mode
Dedicated-Buffers and FIFO
(default) |
Dedicated-Buffers
|
FIFO
|
Queue
|
Dedicated-Buffers and Queue
Specify the transmission mode for CAN communication.
Individual data field size
— Individual data field size for CAN data transmission
8
(default) |
12
|
16
|
20
|
24
|
32
|
48
|
64
Specify Individual data field size for CAN data transmission.
Number of dedicated buffers
— Number of dedicated buffers for CAN data transmission
8
(default) | scalar in the range (1,32)
Specify the number of dedicated buffers for CAN data transmission.
Dependencies
To enable this parameter, set the Transmit mode
parameter to Dedicated-Buffers and FIFO
,
Dedicated-Buffers
, or
Dedicated-Buffers and Queue
.
Number of Queue
— Number of queue elements for CAN data transmission
8
(default) | scalar in the range (1,32)
Specify the number of queue elements for CAN data transmission.
Dependencies
To enable this parameter, set the Transmit mode
parameter to Queue
or Dedicated-Buffers
and Queue
.
Number of FIFO
— Number of FIFO registers for CAN data transmission
8
(default) | scalar in the range (1,32)
Specify the number of FIFO registers for CAN data transmission.
Dependencies
To enable this parameter, set the Transmit mode
parameter to FIFO
or Dedicated-Buffers
and FIFO
.
RAM memory occupied in bytes
— RAM memory utilized for CAN transmission
1152
(default)
This is a read-only parameter and you can calculate RAM memory occupied in bytes using this formula: (Individual data field size+8) x (Number of dedicated buffers+Number of FIFO+Number of Queue).
Receive mode
— Receive mode for CAN communication
Dedicated-Buffers and FIFO 0 and FIFO 1
(default) |
Dedicated-Buffers
|
FIFO 0
|
FIFO 1
|
Dedicated-Buffers and FIFO 0
|
Dedicated-Buffers and FIFO 1
Specify the mode to receive CAN data.
Configure the parameters and interrupts corresponding to FIFO registers or
buffers based on the value of Receive mode parameter. For
example, set this parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
to configure interrupts and parameters related to FIFO 0, FIFO
1 registers, and buffers.
Individual data field size
— Individual data field size for CAN data reception
8
(default) |
12
|
16
|
20
|
24
|
32
|
48
|
64
Specify the individual data field size for CAN data reception.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO 0
,
Dedicated-Buffers and FIFO 1
, or
Dedicated-Buffers
.
RAM memory occupied in bytes
— RAM memory utilized for CAN reception
4608
(default)
This is a read-only parameter and you can calculate RAM memory occupied in bytes using this formula: (Individual data field size+8) x (Number of buffers+Number of FIFO elements).
Note
If you configure Receive mode without dedicated buffers
such as FIFO 0
or FIFO 1
,
Simulink allocates 512 bytes of RAM memory for the buffers used in CAN
reception.
Individual data field size
— Data field size of FIFO # register for CAN data reception
8
(default) |
12
|
16
|
20
|
24
|
32
|
48
|
64
Specify the individual data field size of FIFO # register for CAN data reception.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Operating mode
— Operating mode for CAN data reception
Blocking
(default) |
Overwrite
Specify the mode of operation of FIFO # registers for CAN data reception.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Number of FIFO elements
— Number of FIFO elements for CAN data reception
16
(default) | scalar in the range (1,64)
Specify the number of FIFO elements for CAN data reception.
Dependencies
To enable this parameter, select the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Watermark level
— Watermark level for CAN data reception
15
(default) | scalar in the range (1,Number of FIFO elements)
Specify the watermark level for CAN data reception
Note
The value of Watermark level parameter must be less than or equal to the Number of FIFO elements parameter value.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
RAM memory occupied in bytes
— RAM memory utilized for CAN transmission using FIFO registers
1152
(default)
This is a read-only parameter and you can calculate RAM memory occupied in 8-bit bytes using this formula: (Individual data field size+8) x Number of FIFO elements.
Reject remote frames with standard id
— Option to reject all remote frames with 11-bit standard IDs
off
(default) |
on
Enable this parameter so that the block rejects all remote frames with 11-bit standard IDs.
Reject remote frames with extended id
— Option to reject all remote frames with 29-bit extended IDs
off
(default) |
on
Enable this parameter so that the block rejects all remote frames with 29-bit extended IDs.
Non matching standard id
— Option to accept or reject non-matching standard ID frames
Reject
(default) |
FIFO 0
|
FIFO 1
Specify whether to accept in FIFO register or reject the non-matching 11-bit standard ID frames.
Non matching extended id
— Option to accept or reject non-matching extended ID frames
Reject
(default) |
FIFO 0
|
FIFO 1
Specify whether to accept in FIFO register or reject the non-matching 29-bit extended ID frames.
Global mask for range filter
— Global mask for the range filter
0x1fffffff
(default) | scalar in the range (0,0x1fffffff)
Specify a mask for the range filter.
Standard filter number
— Option to select standard filter number
1
(default) | scalar in the range (1,128)
Select the standard filter element number.
The block uses all the specified filter elements for acceptance filtering of standard frames. Acceptance filtering stops when the block finds the matching filter element among the specified elements or when it reaches the end of the filter list.
Note
You can select any filter element and configure its parameters. You can view the configured filter elements in the read-only parameter Standard filters configured.
The filter numbers in the generated code differ from the standard filters configured in the Hardware Mapping tool, as Simulink allocates filter numbers sequentially to optimize RAM memory during code generation.
Configuration
— Configuration options for selected standard filter
FIFO 0
(default) |
Disable
|
FIFO 1
|
Reject
|
High priority interrupt and reject
|
High priority interrupt-and-FIFO0
|
High priority interrupt-and-FIFO1
|
Buffers
Select one of the following configuration options for the standard filter element specified in the Standard filter number parameter.
Disable —
Disable the standard filter element.FIFO 0 —
Store in Rx FIFO 0 register if filter matches.FIFO 1 —
Store in Rx FIFO 1 register if filter matches.Reject —
Reject ID if filter matchesHigh priority interrupt and reject —
Set high priority interrupt and reject ID if filter matches.High priority interrupt-and-FIFO0 —
Set high priority interrupt and store in FIFO 0 if filter matches.High priority interrupt-and-FIFO1 —
Set high priority interrupt and store in FIFO 1 if filter matches.Buffers —
Store in Rx Buffer.
Filter type
— Filter type for standard filter element
Range filter
(default) |
Dual ID
|
Classic mask
Select the filter type for the standard filter element specified in the Standard filter number parameter.
Dependencies
To enable this parameter, set the Configuration
parameter to FIFO 0
, FIFO
1
, Reject
, High
priority interrupt and reject
, High priority
interrupt-and-FIFO0
, or High priority
interrupt-and-FIFO1
.
Start id
— Start ID for the range filter of selected Standard filter number
0
(default) | scalar in the range (0,0x7ff)
Specify the start ID for the range filter of selected filter element in Standard filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Range filter
End id
— End ID for the range filter of selected Standard filter number
0x7ff
(default) | scalar in the range (0,0x7ff)
Specify the end ID for the range filter of selected filter element in Standard filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Range filter
Id 1
— ID 1 for the selected Standard filter number
0
(default) | scalar in the range (0,0x7ff)
Specify ID 1 for the selected filter element in Standard filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Dual ID
or Classic
mask
.
Id 2
— ID 2 for the selected Standard filter number
0x7ff
(default) | scalar in the range (0,0x7ff)
Specify ID 2 for the selected filter element in Standard filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Dual ID
.
Mask
— Mask for the selected Standard filter number
0x1fffffff
(default) | scalar in the range (0,0x1fffffff)
Specify mask for the selected filter element in Standard filter number parameter.
The 0 bit masks out the corresponding bit position of the configured Message ID filter (Id1) and the value of the received Message ID at that bit position is not relevant for acceptance filtering. Only those bits of the received Message ID where the corresponding mask bits are 1 are relevant for acceptance filtering.
For example, consider ID1 as 0x201
(0x 0010 0000 0001
in binary) and Mask
as 0x7E0
(0x 0111 1110 0000
in binary). The
valid message IDs for this configuration are 0x x010 000x xxxx
,
where x
can be 0
or 1
representing don't care condition.
Dependencies
To enable this parameter, set the Filter type parameter
to Classic mask
.
Buffer number
— Buffer number for the selected Standard filter number
1
(default) | scalar in the range (0,63)
Specify buffer number for the selected filter element in Standard filter number parameter.
Dependencies
To enable this parameter, set the Configuration
parameter to Buffers
.
Extended filter number
— Option to select extended filter number
1
(default) | scalar in the range (1,64)
Select the extended filter element number.
The block uses all the specified filter elements for acceptance filtering of standard frames. Acceptance filtering stops when the block finds the matching filter element among the specified elements or when it reaches the end of the filter list.
Note
You can select any filter element and configure its parameters. You can view the configured filter elements in the read-only parameter Extended filters configured.
The filter numbers in the generated code differ from the extended filters configured in the Hardware Mapping tool, as Simulink allocates filter numbers sequentially to optimize RAM memory during code generation.
Configuration
— Configuration options for the selected extended filter
FIFO 0
(default) |
Disable
|
FIFO 1
|
Reject
|
High priority interrupt and reject
|
High priority interrupt-and-FIFO0
|
High priority interrupt-and-FIFO1
|
Buffers
Select one of the following configuration options for the extended filter element selected using Extended filter number parameter.
Disable —
Disable the extended filter elementFIFO 0 —
Store in Rx FIFO 0 register if filter matchesFIFO 1 —
Store in Rx FIFO 1 register if filter matchesReject —
Reject ID if filter matchesHigh priority interrupt and reject —
Set high priority interrupt and reject ID if filter matchesHigh priority interrupt-and-FIFO0 —
Set high priority interrupt and store in FIFO 0 if filter matchesHigh priority interrupt-and-FIFO1 —
Set high priority interrupt and store in FIFO 1 if filter matchesBuffers —
Store in Rx Buffer
Filter type
— Filter type for the selected extended filter
Range filter without global mask
(default) |
Range filter with global mask
|
Dual ID
|
Classic mask
Select the filter type for the extended filter element selected using Extended filter number parameter.
Note
If you set this parameter to Range filter with global
mask
, the block performs logical AND of message ID of received
extended ID frame and Global mask for range filter
parameter value configured in Filter tab. Set the
Global mask for range filter parameter to
0x1fffffff
to ignore the mask.
Dependencies
To enable this parameter, set the Configuration
parameter to FIFO 0
, FIFO
1
, Reject
, High
priority interrupt and reject
, High priority
interrupt-and-FIFO0
, or High priority
interrupt-and-FIFO1
.
Start id
— Start ID for the range filter of selected extended filter number
0
(default) | scalar in the range (0,0x1fffffff)
Specify the start ID for the range filter of selected filter element in Extended filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Range filter
End id
— End ID for the range filter of selected extended filter number
0x7ff
(default) | scalar in the range (0,0x1fffffff)
Specify the end id for the range filter of selected filter element in Extended filter number parameter.
Dependencies
To enable this parameter, set the Filter type parameter
to Range filter
.
Id 1
— ID 1 for the selected extended filter number
0
(default) | scalar in the range (0,0x1fffffff)
Specify ID 1 for the selected filter element in Extended filter number parameter.
Dependencies
To enable this parameter, select the Filter type
parameter to Dual ID
or Classic
mask
.
Id 2
— Id 2 for the selected extended filter number
0x7ff
(default) | scalar in the range (0,0x1fffffff)
Specify id2 for the selected filter element in Extended filter number parameter.
Dependencies
To enable this parameter, select the Filter type
parameter to Dual ID
.
Mask
— Mask for the selected extended filter number
0x1fffffff
(default) | scalar in the range (0,0x1fffffff)
Specify mask for the selected filter element in Extended filter number parameter.
The 0 bit masks out the corresponding bit position of the configured Message ID filter (Id1) and the value of the received Message ID at that bit position is not relevant for acceptance filtering. Only those bits of the received Message ID where the corresponding mask bits are 1 are relevant for acceptance filtering.
For example, consider ID1 as 0x201
(0x 0010 0000 0001
in binary) and Mask
as 0x7E0
(0x 0111 1110 0000
in binary). The
valid message IDs for this configuration are 0x x010 000x
xxxx
, where x
can be 0
or
1
representing don't care condition.
Dependencies
To enable this parameter, set the Filter type parameter
to Classic mask
.
Buffer number
— Buffer number for the selected extended filter number
1
(default) | scalar in the range (1,63)
Specify buffer number for the selected filter element in Extended filter number parameter.
Dependencies
To enable this parameter, set the Configuration
parameter to Buffers
.
Total RAM memory occupied in bytes
— Total RAM memory utilized for CAN message transmission and reception
8076
(default)
This is a read-only parameter, which shows the total RAM memory occupied in bytes during transmission and reception of CAN message.
Note
Each standard filter configuration occupies 8-bytes of RAM memory and each extended filter configuration occupies 2-bytes of RAM memory.
Enable transmit complete event
— Option to enable interrupt for transmit complete event
off
(default) |
on
Select this parameter to enable the interrupt for transmit complete event.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Enable transmit FIFO empty
— Option to enable the interrupt for transmit FIFO empty
off
(default) |
on
Select this parameter to enable the interrupt for transmit FIFO empty.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Transmit mode
parameter to Dedicated-Buffers and FIFO
or
FIFO
.
New message in FIFO - #
— Option to enable the interrupt for new message in FIFO - #
off
(default) |
on
Select this parameter to enable interrupt for new message in FIFO - #.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
FIFO - # full
— Option to enable the interrupt for FIFO - # full
off
(default) |
on
Select this parameter to enable interrupt for FIFO - # full.
Enable the interrupt to view Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Message stored in dedicated buffer
— Option to enable the interrupt for message stored in dedicated buffer
off
(default) |
on
Select this parameter to enable interrupt for message stored in dedicated buffer.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
Dedicated-Buffers
.
High priority message received
— Option to enable the interrupt for high priority message reception
off
(default) |
on
Select this parameter to enable interrupt for high priority message reception.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Configuration
parameter of any standard or extended filter to High priority
interrupt and reject
, High priority
interrupt-and-FIFO0
, or High priority
interrupt-and-FIFO1
.
Watermark level reached for FIFO - #
— Option to enable the interrupt for watermark level of FIFO - #
off
(default) |
on
Select this parameter to enable interrupt for watermark level of FIFO - #.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Message lost in FIFO - #
— Option to enable the interrupt for message lost in FIFO - #
off
(default) |
on
Select this parameter to enable interrupt for message lost in FIFO - #.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Dependencies
To enable this parameter, set the Receive mode
parameter to Dedicated-Buffers and FIFO 0 and FIFO
1
, Dedicated-Buffers and FIFO #
, or
FIFO #
.
Passive error
— Option to enable the passive error interrupt
off
(default) |
on
Select this parameter to enable passive error interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Waiting status
— Option to enable the waiting status interrupt
off
(default) |
on
Select this parameter to enable waiting status interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Protocol error arbitration
— Option to enable the protocol error arbitration interrupt
off
(default) |
on
Select this parameter to enable protocol error arbitration interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Protocol error data
— Option to enable the protocol error data interrupt
off
(default) |
on
Select this parameter to enable protocol error data interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Bus off error
— Option to enable the bus off error interrupt
off
(default) |
on
Select this parameter to enable bus off error interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Watchdog event
— Option to enable the watchdog event interrupt
off
(default) |
on
Select to enable watchdog event interrupt.
Enable the interrupt to view the Interrupt service request
line parameter and specify Service
request-#
.
Node #
— Module and node for CAN data transmission
Module # Node #
(default) |
on
Specify the module and node for CAN data transmission.
Version History
Introduced in R2024b
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 (한국어)