AnsweredAssumed Answered

STM32F103RB CAN J1939 identifier

Question asked by Nicolas Cmb on Jun 19, 2017
Latest reply on Jun 22, 2017 by Clive One

Hi evryone, I'm using STM32f103rb card to communicate with another STM32f103rb thanks to STM32F103Rb CAN protocole, and I'm looking for using J1939.


I have parameter my identifier like that :

 

hcan.pTxMsg->StdId = 0x01;

hcan.pTxMsg->ExtId = 0x01DAD4DC1;

hcan.pTxMsg->RTR = CAN_RTR_DATA;

hcan.pTxMsg->IDE = CAN_ID_EXT;

hcan.pTxMsg->DLC = 8;

 

and I'm trying to configurate my filter, but I've no idea of what could be the following configurations :

 

sFilterConfig.FilterIdHigh 

sFilterConfig.FilterIdLow

sFilterConfig.FilterMaskIdHigh

sFilterConfig.FilterMaskIdLow

sFilterConfig.BankNumber 

 

Anyone can help me ?

 

Thanks for your attention,
Regards,
Nicolas.

Outcomes