I see error frames on the CAN bus whenever my code starts up, before the CAN controller is initialized. What is a common reason for this?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I see error frames on the CAN bus whenever my code starts up, before the CAN controller is initialized. What is a common reason for this?

5,530件の閲覧回数
lpcware
NXP Employee
NXP Employee

The most common reason is that the CAN_TX pin has been set to logic zero before the CAN controller is initialized and enabled. Even a brief period can cause a burst of error frames.
Set the pin state to logic one before setting the CAN_TX pin to be an output. Alternatively, configure and initialize the CAN controller fully before connecting it to the CAN_TX and CAN_RX pins.

"FAQ contribution from Embedded Systems Academy, experts in CAN bus. For more information visit www.esacademy.com"

ラベル(1)
  • CAN

タグ(1)
0 件の賞賛
返信
0 返答(返信)