MCC Character driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCC Character driver

Jump to solution
1,147 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
847 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
848 Views
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 Kudos
Reply
847 Views
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 Kudos
Reply
847 Views
renfeiche
Contributor I

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

Best Regards,

cherenfei

0 Kudos
Reply