FlexCAN usage on i.MX

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FlexCAN usage on i.MX

2,028 次查看
rogerio_silva
NXP Employee
NXP Employee
Hi,

I posted some notes about FlexCAN on imxdev:

http://www.imxdev.org/wiki/index.php?title=All_Boards_FlexCAN

Or, on the left menu -> connectivity -> FlexCAN

It’s not so much, but may help someone to make the first step on FlexCAN.

Rgds,
Rogerio
标记 (2)
0 项奖励
回复
2 回复数

1,117 次查看
ripple
Contributor I

Dear Rogerio,


Problem solved after applying 0001-ENGR00169603-MX53-ARD-FlexCAN-Set-lp_apm-as-clock-so.patch


Thank you!

0 项奖励
回复

1,117 次查看
ripple
Contributor I

Dear Rogerio,

I met one problem when using FlexCAN on i.mx536 processor.

The FlexCAN driver is compiled following your notes and they were done successfully.

http://www.imxdev.org/wiki/index.php?title=All_Boards_FlexCAN

The packets were also sent successfully from CAN1 to CAN0. But one thing was wrong: baudrate.

When using the default baudrate 500kbps, the signal wave came out to be 694.2kbps in oscilliscope.

When using the baudrate 250kbps, the signal wave came out to be 347.1kbps in oscilliscope.

It is believed that the bitrate divider algorithm mistake the clocksrc from 66.5MHz to be 48MHz in the software. But I cannot find where the problem in the software source code. Can you help me?

Thank you!

Rgds,

Paul

0 项奖励
回复