2013-08-27 11:41 PM
2013-08-28 01:26 AM
NVIC_InitStructure.NVIC_IRQChannel = SPI1_IRQn; // changed from <-- where do you have SPI1_IRQn defined and what's in there.
FWlib has some nice examples of SPI, which are mostly self-sufficient. Did you check any of that (since I've seen you have gone with changing USART code...)?