[En-Nut-Discussion] SPI DMA with AT91SAM7x256
Ajit Narayanan
ajitn at inventionlabs.in
Tue May 27 08:29:48 CEST 2008
Hi Eric,
Thanks very much for your reply.
> I had to copy it to my work directory because it is not included in the
> library for sam7x. It works fine.
Would it not be a better solution to include it as part of the library,
given that at91_spi is part of the library?
-Ajit
>
>
>
> SRCS += IQenet.c \
> IQHelpers.c \
> IQheatcool.c \
> IQeditors.c \
> IQcrc8.c \
> IQmisc.c \
> IQio.c \
> IQui.c \
> IQnvdata.c \
> IQdisplay.c \
> IQtimer.c \
> IQtemperature.c \
> IQtemperature_lookup.c \
> usart1at91.c \
> IQcom1_drv.c \
> wdt_at91.c \
> adc.c \
> IQmain.c \
> httpd.c \
> sendmail.c \
> sendbase64.c \
> ftpd.c \
> mkfs.c \
> at45db.c \
> ih_at91spi0.c \
> DFcard.c
>
> On Mon, May 26, 2008 at 12:51 PM, Ajit Narayanan <ajitn at inventionlabs.in>
> wrote:
>
>> Hi all,
>>
>> I've been trying to use DMA with SPI with Ethernut 4.4.1 on
>> AT91SAM7x256-EK and I am facing a problem.
>>
>> The interrupt handlers, ih_at91spi0.c and ih_at91spi1.c, are not
>> included
>> in the make process. Since sig_SPI0 and sig_SPI1 are defined in these
>> files, I get a linker error if I use SPI functionality.
>>
>> I tried modifying the Makefile in the nut/arch folder, to place the ih_
>> files under ifeq ($(DEVICE), AT91SAM7X256) conditional.
>>
>> When I run Configurator, I find that this nonetheless has no effect on
>> the
>> Makefile in the bld/arch folder, and the nutarch library does not
>> contain
>> the ih_ functionality.
>>
>> This is a little puzzling to me. Can anyone help me understand what's
>> going on, and how to use SPI DMA mode?
>>
>> Best wishes,
>> Ajit
>>
>>
>> _______________________________________________
>> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>>
>
--
Ajit Narayanan, Engineer
Invention Labs, Chennai 600041
Ph: +91-44-24405139
Mob: +91-99406-62841
www.inventionlabs.in
More information about the En-Nut-Discussion
mailing list