MCC Character driver

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

MCC Character driver

跳至解决方案
2,209 次查看
finncarlsvi
Contributor III

Hello,

This is regarding the 6SoloX. I've been looking at the MCC tty and pingpong example drivers, but am not finding any fully functioning MCC driver for Linux. I tried to start writing one myself, but am having trouble with making the driver asynchronous as even the MCC library in the Linux kernel has not added the ISR functionality. I see a device driver example (mu.c), but that uses rpmsg, and as far as I understand that is not supported by MQX.

It seems strange that the core functionality of the 6SoloX is not properly supported on the A9/Linux side. At least not to the extent where I can access the MCC from userspace.

Am I missing something? Does anyone know where I might find a working driver?

Thanks for any help.

Cheers

/ Finn

标签 (1)
0 项奖励
回复
1 解答
1,909 次查看
finncarlsvi
Contributor III

Here's an update:

I started writing a character driver but found that Timesys has written one:

http://repository.timesys.com/buildsources/m/mcc-kmod/

The file imx_mcc_libmcc.c is basically the pingpong mcc driver that has been rewritten. It's written for the VF6xx, but it doesn't look too difficult to get this working on other boards.

/ Finn

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,910 次查看
finncarlsvi
Contributor III

Here's an update:

I started writing a character driver but found that Timesys has written one:

http://repository.timesys.com/buildsources/m/mcc-kmod/

The file imx_mcc_libmcc.c is basically the pingpong mcc driver that has been rewritten. It's written for the VF6xx, but it doesn't look too difficult to get this working on other boards.

/ Finn

0 项奖励
回复
1,909 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I have been delving into this and the mcc api is not provided in user space. You will have to extend it for user space.

Maybe we can help if you share what you have done so far.

/Alejandro

0 项奖励
回复
1,909 次查看
renfeiche
Contributor I

Hi, could you tell me how to use mcc in user space. Do you have source code?

Best Regards,

cherenfei

0 项奖励
回复