CAN-USB interfacing on HCS12 Microcontroller

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

CAN-USB interfacing on HCS12 Microcontroller

2,362件の閲覧回数
jagg
Contributor I
Hi,

Iam working on MC9S12DG256B(HCS12) microcontroller for CAN module. I've just used the Software in the App Note AN3034 to program the MSCAN. I've changed nothing in the software, but only deactivated loop back self test mode ( in CANCTL1 ). I am using CAN-USB interface.

But in the CAN0SendFrame() the Transmission completes never. The Code execution freezes
here:

CAN0TFLG = txbuffer; // Start transmission
while ( (CAN0TFLG & txbuffer) != txbuffer); // Wait for Transmission completion
I have no idea why!
i'll be thankful for your help!
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,048件の閲覧回数
wilero17
Contributor I

Hi alban,

 

I have the same problem jagg. I want to know where are the post that you are saying.

 

Many thanks.

0 件の賞賛
返信

1,048件の閲覧回数
kef
Specialist I

It could be due to baudrate mismatch, lack of proper bus termination etc

0 件の賞賛
返信

1,048件の閲覧回数
Alban
Senior Contributor II
Please before asking questions, search for existing answers.
This is the third time this question is asked in few weeks and has already been replied to twice.
See two posts below and you'll get an answer.
 
Alban.
0 件の賞賛
返信