[MinnowBoard] SPI support on minnowboard v1
dvhart at linux.intel.com
Thu Aug 7 01:02:11 UTC 2014
As promised, Cal has prepared an example spidev board file:
This one was written for the MinnowBoard-Max, and was tested using a python
ioctl interface with a mcp3204 ADC attached on chip select 0.
For use on any other board - such as the MinnowBoard v1, be sure to check
which bus number and which chip select line you are using. Those are the
only things you should have to change, and Cal made those easily changed via
the #define statements.
It should be noted that none of this is particularly Minnow-specific, this
is just an example Linux spidev board file.
Ultimately we want to do things like this without board files by using the
_DSD mechanisms introduced by the ACPI 5.1 specification last week. Once the
supporting code is upstream, we will provide examples of how to go about
that as well, eliminating the need for the board file entirely.
Darren Hart Open Source Technology Center
darren.hart at intel.com Intel Corporation
From: Darren Hart <dvhart at linux.intel.com>
Date: Monday, August 4, 2014 at 12:47
To: Joel Whitehouse <joelw at softronicsltd.com>, MinnowBoard Development and
Community Discussion <elinux-minnowboard at lists.elinux.org>
Subject: Re: [MinnowBoard] SPI support on minnowboard v1
> We will provide an example spidev board file that you can work from. We'll
> announce here when it is available (should be this week).
> Darren Hart Open Source Technology Center
> darren.hart at intel.com Intel Corporation
> From: Joel Whitehouse <joelw at softronicsltd.com>
> Reply-To: Joel Whitehouse <joelw at softronicsltd.com>, MinnowBoard Development
> and Community Discussion <elinux-minnowboard at lists.elinux.org>
> Date: Monday, August 4, 2014 at 12:31
> To: "elinux-minnowboard at lists.elinux.org"
> <elinux-minnowboard at lists.elinux.org>
> Subject: [MinnowBoard] SPI support on minnowboard v1
>> My company is incorporating the minnowboard v1 into a product. We need to
>> get SPI working before a customer deadline.
>> We have some working python-spidev code that's been tested on another board.
>> We can't get it running on the minnow (using the stock angstrom image)
>> because there are no spidev devices in /dev/, even after running `modprobe
>> spidev'. I have seen the calamari code, but there are no instructions for
>> converting that into an actual /dev/spidev1.0 type device.
>> Has anyone got a spi device working on the v1? How can we request support
>> for this feature?
>> Joel Whitehouse
>> Softronics Ltd.
>> ISO 9001:2008 Certified
>> 1080 East Post Road, Marion, Iowa, 52302 USA
>> Tel. +1.319.447.1446
>> Fax +1.866.422.4280
>> Email joelw at softronicsltd.com
>> Website www.softronicsltd.com <http://www.softronicsltd.com/>
>> _______________________________________________ elinux-MinnowBoard mailing
>> elinux-MinnowBoard at lists.elinux.orghttp://lists.elinux.org/mailman/listinfo/e
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the elinux-MinnowBoard