OMAP SPI 控制器

发布于 2024-07-10 11:14:00 字数 72 浏览 4 评论 0原文

有人开发过一些应用程序来控制 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

○愚か者の日 2024-07-17 11:14:00

至少从 PSP 3.00.00.04 开始,mcspi 驱动程序已与 Linux spi 堆栈集成。

打开

CONFIG_SPI 和 CONFIG_SPI_OMAP24XX

内核中的

这里介绍了一般如何使用 spi 设备。

还有spidev 驱动程序,它向用户空间提供一个字符设备,但它是实验性的。

As of at least PSP 3.00.00.04, the mcspi driver is integrated with the Linux spi stack.

Turn on

CONFIG_SPI and CONFIG_SPI_OMAP24XX

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.

偏爱自由 2024-07-17 11:14:00

好吧,首先我需要为我之前的草率回答道歉。

我现在也开始尝试让 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文