AnsweredAssumed Answered

What is the difference between loopback mode and normal mode in CAN of STM32F10X MCU

Question asked by wu.bruce.001 on Jul 9, 2013
Latest reply on Jul 9, 2013 by Clive One
Hi everyone, I am using a demo board STM3210C-SK to investigate the STM32F10X MCU, especially its CAN functionality. I use Coocox rather than the IAR environment to compile and debug. The sample code is to use CAN 1 to transmit a CAN message and use looping or interrupt method to receive the incoming message. The loopback mode is OK, which Tx is internally connected to Rx. But when I change the mode from loopback to normal mode, the transmission status is always "pending" and not successful. On the demo board, the Tx and Rx of CAN is connected to a CAN transceiver SN65HVD230. 

Can anybody give me a hint what is missing when I switch the CAN operating mode from loopback to normal mode? THANKS!

Outcomes