AnsweredAssumed Answered

SPI hangs when updating a 12kb buffer.

Question asked by PRAMOD K. G. on Sep 4, 2014
Latest reply on Oct 16, 2014 by Kenny Koller



We are working on K70 with MQX 4.0.1 It is having 2 tasks and 1 task is updating the LCD via SPI with 12 Kb buffer. Every 1 sec it is updating in the polling method. It works few times but sometimes it hangs. We have a hardware interrupt running background while updating the LCD.  LCD update task is having stack 32000 and the other is having 5000 stack.


Is SPI polling the best method? Is it having any interrupt disabling inside MQX? Do we have to switch to interrupt method?