cancel
Showing results for 
Search instead for 
Did you mean: 

How does the STM32 CAN Transmission Scheduler work?

Svenn Dahlstrom
Associate III
Posted on September 28, 2015 at 15:39

Hi,

Does anyone know how the STM32 CAN Transmission Scheduler work?

If the  mailbox 0 was filled up during transmission of mailbox 1 and there is data in mailbox 2, will the scheduler send mailbox 0 or 2 next?

#stm32 #can #schedulder
1 REPLY 1
jpeacock
Associate II
Posted on September 28, 2015 at 16:04

The transmit priority determines which mailbox is used when a slot is free to send a message.  Priority can be by identifier (preferred method) or by transmit request order (useful when sending segmented messages).  Identifier is the better way to set priority in most cases because it will guarantee the highest priority message arrives first, a critical requirement if sending emergency alerts or safety objects.  Look at TXFP in the CAN_MCR register.

  Jack Peacock