lfxciii wrote on Wednesday, May 01, 2013:
Hi
I’m working with the pic32 freeRTOS demo. I have one task which has to write to the UART every 200 ms. then on interrupt rx, i do some stuff with the incomming byte.
The problem is:
1. I create a handle in main for the uart using serial.c (comes with the Demo) like so : comHandle = xSerialPortInitMinimal(9600, 2);
2. after I do this, the interrupts continuously occur, so my task (defined in main) does not run.
3. when i take out the above line, the task runs fine.
I think its some configuration I’m missing, I’m using the demo as is and I’m reading the tutorial book, just some thing I’m not yet getting down.
I appreciate any help.
Thank you