CAN-BUS communication

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

CAN-BUS communication

1,474件の閲覧回数
935512732
Contributor I
  • The file include the simplified SCH of CAN-BUS module and the official routine of CAN-BUS module.And my problem is that Tx can not transmit any @signal,also the Rx can not receive any signal.Can you help me?Thank you!
タグ(1)
0 件の賞賛
返信
1 返信

1,345件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

The code looks normal. What looks wrong is the connection you have.  There are swapped RX and TX pins between MCU and PHY. But maybe it is just mistake on the SCH.

If the connection is correct, means PB0/PC10 to TXD and PB1/PC3 to RXD then you can try this:

- set weak pull ups on RX pins

  SIU.PCR[35].R = 0x0103;

  SIU.PCR[17].R = 0x0103;

- look at ECR and ESR registers to know if there is any error

BR.

Petr

0 件の賞賛
返信