MCC Character driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,291件の閲覧回数
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 解決策
991件の閲覧回数
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 返答(返信)
992件の閲覧回数
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 件の賞賛
返信
991件の閲覧回数
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 件の賞賛
返信
991件の閲覧回数
renfeiche
Contributor I

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

Best Regards,

cherenfei

0 件の賞賛
返信