SPI hangs when writting in K70

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI hangs when writting in K70

400 Views
pramodk_g_
Contributor III

Hi ,     

                      I am working on a K70F120 with MQX 4.0.1.  I have an spi lcd interfaced to my board and am using spi2 for that. Whenever I  need to update some data I am sending 12K bytes to lcd via spi2. I could able to successfully display the data on LCD. But my issue arises when I am continuously updating lcd with a delay (say 1 sec) and it gets hang. When I pause the debugging i can see that It typically hangs in the files like queue.c  ( in functions like _queue_insert ).  Is this something regarding DMA issue used in spi2 or something different. If so is there anyway to disable DMA of spi2 in MQX 4.0.1. Please let me know your valuable thoughts.

Thanks,

Pramod.

0 Kudos
1 Reply

277 Views
DavidS
NXP Employee
NXP Employee

Hi Pramod,

That have been many enhancement to MQX4.0.1.  Will you please try MQX4.1?

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MQX&fpsp=1&tab=Design_Tools_Tab

Regards,

David

0 Kudos