AnsweredAssumed Answered

SPI and lwip can not work together

Question asked by Navy on Sep 10, 2012
Latest reply on Nov 29, 2012 by Navy

Hello

    I am a newer in using VDK and DD/SS on BF537 EZ-KIT.

    Based on lwip stack, My project does follwing jobs:

    1.Read data from slave device by SPI.

    2.Send data to PC by UDP after SPI received.

未命名.bmp

   It is all right when SPI or UDP worked alone, but not stable when works together.

The project will dead in lwip thread after 10 minutes, or an hour from running.

The error scene is that:SPI thread is pending semaphore which is posted by SPI DMA ISR,

lwip thread runs at the moment, and dead in this thread.

I am looking forward to the resolution

                       best regards

Outcomes