Hi,

I've got some working SPI code for the F2 series port I'm working on. Its on my github:

https://github.com/fnoble/libopenstm32

Although setting up the GPIOs and alternate functions is different on F2 the SPI peripheral should be code compatible. The one difference I can see is that you need to set the SSOE bit in SPI_CR2. This had me confused for a long while too, see the paragraph about NSS in the reference manual section 25.3.1 for an explanation.

Thanks,
Fergus

On 25 Sep 2011, at 05:20, Armin Schlegel wrote:

Hey,

i got similar problems. Have you got working until now?

Best Regards,

Armin


>Hi guys...
>I'm in trouble with SPI1 of my cortexm3. I'm trying only to send some
>packet on the line and to view it trhrough oscilloscope.
>Can you take a look to my code? I'm going crazy.
>
>http://pastie.org/2066599
>
>Thanks in advance
>Roberto
>
>
>P.S. Is there working example about SPI using libopenstm32? I found it
>in examples/stm32/stm32-h103/spi but is not complete.
>
>-- 
>Roberto (aka formica) Marino
>Computer Engineer
>FSF Member #9647 - Me|Lug Member
>http://people.gnudev.org/~formica/
>Mobile: 349-5740870
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2_______________________________________________
libopenstm32-devel mailing list
libopenstm32-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel