imx35 and CAN bus receive issue

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

imx35 and CAN bus receive issue

725件の閲覧回数
jounimo
Contributor I

hi all,

 

I compiled the linux core 2.6.31 for imx35 and I selected FlexCAN drivers in LTIB. I'm using Freescale's 3-stack board. The problem is that I can transmit CAN messages successfully but I cannot receive anything (the input buffer is empty in the driver).

I have a working CAN bus system where I can see messages from the imx35 board. Other devices communicates successfully, but imx35 does not receive the messages.

 

The core is 2.6.31

Bitrate is 125000

Toolchain is 4.3.3 for ARM

 

the initialization sequence is:

echo 28 > /sys/devices/platform/FlexCAN.0/br_presdiv

ifconfig can0 up

 

I receive some garbage in the beginning/end when I start/end my application but that's all. I have tried to change toolchain - no help. Booting from network or from nand - no difference.

 

See the attachments for more info...

Original Attachment has been moved to: iwscan.cpp.zip

ラベル(1)
0 件の賞賛
返信
1 返信

476件の閲覧回数
jounimo
Contributor I

solved:

echo 1 > /sys/devices/platorm/FlexCAN.0/wakeup

0 件の賞賛
返信