Thanks very much for the start. At least we now know that we're not barking up the wrong tree.
We'll let you know how we go as the project progresses.
>Date: Wed, 7 Jun 2006 17:22:29 -0700
>From: "Dave Hylands" <dhylands@...>
>Subject: Re: [Gumstix-users] NSSP SPI
>To: "General mailing list for gumstix users."
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> We're trying to get CANbus operating on the Gumstix.
>I've just started looking into this as well.
>> Therefore, our solution of choice (unless guided otherwise) would be the
>> MCP2515 CAN-SPI device from Microchip.
>> The plan is to access the SPI from the NSSP port which is available from the
>> 20-pin header on the waysmalls.
>> I'd like to ask the following questions:
>> 1) Is there a driver for the NSSP (SPI) module available?
>Yes - It's in the 2.6.17-rc5 kernel sources. I've managed to backport
>(trivial) it to 2.6.15, and need to write some test code to verify its
>> 2) Can any of the pins on the 20-pin I/O be used as an external
>> interrupt? I've seen
>> , but wondering if there is a unified solution?
>Any GPIO pin can be used as an interrupt source. I'm not quite sure
>what you mean by a unified solution. It takes 2 lines of code to setup
>a GPIO pin as an interrupt source and one line of code to register an
>> 3) I understand that one of the NSSP signals can be used as the chip
>> select for the device. Does thick conflict with any of the original
>If the gumstix is the master, then you can pretty much use any GPIO
>pin as the the chip select.
>I'm also looking at this project:
>and using this:
>as the starting point for my driver.
>Vancouver, BC, Canada
Airborne Avionics Research Group
School of Engineering Systems
Queensland University of Technology
PO Box 2434
Brisbane QLD 4001
ph: +617 3864 1362