Skip to main content
Yas Yasin
Associate
June 20, 2018
Question

problem with stm32f4 CAN_Networking example

  • June 20, 2018
  • 0 replies
  • 457 views
Posted on June 20, 2018 at 10:00

Hi everyone 

In can networking example of stm32f4 we have:

TxHeader.StdId = 0x321;

TxHeader.ExtId = 0x01;

TxHeader.RTR = CAN_RTR_DATA;

TxHeader.IDE = CAN_ID_STD;

TxHeader.DLC = 2;

TxHeader.TransmitGlobalTime = DISABLE;

as you see it has been set to standard format (

CAN_ID_STD

) so why the extended ID has been set to 0x01 (

TxHeader.ExtId = 0x01)??

while in standard format extended ID should be zero

thanks 

#stm32f4-can_networking-example
This topic has been closed for replies.