cancel
Showing results for 
Search instead for 
Did you mean: 

about dominant error

kevin xu
Associate II

0693W00000BZZg1QAH.png0693W00000BZZfhQAH.pngDear Guys

I get the "bit dominant error" when programming for can with STM32F302.

even i set CAN_MODE_SILENT_LOOPBACK mode , also get this error after exec the statement  "SET_BIT(hcan->Instance->sTxMailBox[transmitmailbox].TIR, CAN_TI0R_TXRQ);"

anyone can help me thank you very much

2 REPLIES 2

Observe waveform on the CAN_Tx and CAN_Rx pins, using logic analyzer/oscilloscope.

For the CAN pins, read out the relevant GPIO registers content and check if they are properly set.

JW

kevin xu
Associate II

hi Jan

thank you for you sending messages. I use STM32cubmax to generate code for can settings. actually, I set the  CAN_MODE_SILENT_LOOPBACK mode also same problem. so i think do not need to check the one "CAN_Tx and CAN_Rx pins, using logic analyzer/oscilloscope. is correct? thank you.