This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
SPI chip select for cortexm
- From: jayant biswas <biswasj at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 31 May 2011 11:45:32 +0200
- Subject: [ECOS] SPI chip select for cortexm
Hello!
I am using a STM3210E eval board
(http://www.st.com/stonline/books/pdf/docs/14220.pdf) and have
successfully configured ecos to use the SPI interface. I can run the
loopback test, which confirms its functionality. I would like to use
the SPI interface (connected to the SPI flash on the board) to
communicate with a programmable potentiometer (AD8400) that I have
mounted on the QST connector of the evaluation board. I have chosen
the pin PA8 for CSn. How can I make the SPI driver in ecos to use this
pin as the chip select?
Thank you in advance for your help.
Jayant
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss