Sorry this is late.
With regard to Noom's comments, I have accessed the LEDs (easy) and the MEMS 3 axis accelerometer (via SPI), the PWM and the A to D converters on the STM32F4 Discovery board. They all work fine. The site at:
http://www.ghielectr...share/entry/436
explains how to do the SPI thing.
Phil