cancel
Showing results for 
Search instead for 
Did you mean: 

USB and SPI

lillian_200601
Associate II
Posted on November 19, 2008 at 19:01

USB and SPI

1 REPLY 1
lillian_200601
Associate II
Posted on May 17, 2011 at 09:56

I am using our own board with STR912 processor and Keil compiler. The external device is as SPI Master and our board is as SPI slave. The master sends data each 1 ms. The SPI program will work fine if only SPI prorgam downloads into STR912. If I combine the demo USB program from st website and SPI code together, the SPI cannot work properly. It seems SPI lost some interrupts. Based on the protocol, the SPI should interrupt each 1 ms. However, it only gets twice or three times every 100 ms.

Does anybody have similiar experience with that and give me some clues and suggestions. Greatly appreicate your help.