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.
-
I haven't used that chip specifically, but have a lot of SPI experience. Could you narrow down the question a bit? – Judge Maygarden Dec 11 '08 at 15:44
-
Isn't information about platform missing, here? I would guess Linux from the driver name, but it's hard to be sure. – unwind May 08 '09 at 08:46
2 Answers
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.
![](../../users/profiles/3187556.webp)
- 30,695
- 8
- 67
- 84
![](../../users/profiles/6040.webp)
- 5,288
- 7
- 28
- 35
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.
![](../../users/profiles/3679471.webp)
- 584
- 1
- 9
- 19