UDP example on lpc4300

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by srinidhi M on Mon Jun 30 23:06:37 MST 2014
Hello ,

I am trying to play pcm on lpc4330 xplorer board. i am using UDP, if code is sequential i.e.. receive the frame and send to UDA then receive next frame n continues. its playing but huge packet loss. so m trying to create two thread,
1 --> to receive packets and sending to Queue.
2 --> read from Queue and send data to UDA.

Here i struck from week, two threads are not running simultaneously i mean round robin scheduling is not happening.

Note : I have kept two threads of equal priority.

please help to come out of this packet loss issue. I'll be waiting for the response.

Thank you
Srinidhi M