OMAP SPI 控制器
有人开发过一些应用程序来控制 OMAP3 上的 spi 设备吗? 我可以加载spi驱动程序“mcspi”,但我不知道如何使用它。
Does anyone ever develop some application to control the spi device on OMAP3? I can load the spi driver "mcspi", but I don't know how to use it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
至少从 PSP 3.00.00.04 开始,mcspi 驱动程序已与 Linux spi 堆栈集成。
打开
内核中的
。 这里介绍了一般如何使用 spi 设备。
还有spidev 驱动程序,它向用户空间提供一个字符设备,但它是实验性的。
As of at least PSP 3.00.00.04, the mcspi driver is integrated with the Linux spi stack.
Turn on
in your kernel.
Here's how to use spi devices, in general.
There is also the spidev driver, which presents a char device to userspace, but it's experimental.
好吧,首先我需要为我之前的草率回答道歉。
我现在也开始尝试让 McSPI 正常工作,但过程很痛苦。 TI 没有太多文档,而且我还没有成功地让任何 McSPI 实际工作。 但我想我应该发布一个链接到 beagle board google 讨论这个主题,因为看起来他们已经成功地让 McSPI3 至少在 OMAP3530 上工作。
http://groups.google.com/组/beagleboard/browse_thread/thread/15d9488c1ec314ef/5ca06c67ff438106?q=mcspi3#5ca06c67ff438106
Ok So first I need to apologize for my previous shoot from the hip answer.
I too have now started looking into trying to get the McSPI's working and it has been some what painful. TI does not have lot of documentation, and I still haven;t been successful in getting any of the McSPI's to actually work, yet. But I thought I would post a link to the beagle board google discussion on the subject, as it appears they have been successful at getting at least McSPI3 working on the OMAP3530.
http://groups.google.com/group/beagleboard/browse_thread/thread/15d9488c1ec314ef/5ca06c67ff438106?q=mcspi3#5ca06c67ff438106