I'm having difficulties interfacing with flexcan on my imx6q.

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

I'm having difficulties interfacing with flexcan on my imx6q.

1,430 次查看
briannorman
Contributor II

I'm new here, so if anyone could point me in the right direction, I'd appreciate it. 

Having difficulties working with flexcan on my imx6q.  I have a Sabre lite demo board, rev-d.  I downloaded the IMX6DQRM.  According to it, during initial setup, I should be able to enable RX FIFOs by asserting the RFEN bit in the MCR.  I am unable to set it.  Also, I am unable to assert the SOFT_RST bit.  When i attempt to, the imx6 stops and wont respond to anything.  I'm getting the feeling that I may have the wrong reference manual.  How do i figure out if i have the right one and if i don't, how do i find the right one.

I'm pretty sure I'm talking to the flexcan.  Upon powerup, I can see the indicated reset value in the MCR.  I have downloaded example device drivers, and they support the architecture in the reference manual.  Unfortunately I can't find any drivers for my OS(Integrity) so I'm looking at building my own.

Thanks for any suggestions

标签 (1)
0 项奖励
回复
1 回复

833 次查看
briannorman
Contributor II

Figured out my problem if anyone cares.  I didn't have the CAN clocks enabled in the CCM registers.