Hello,
I am having some issues with Gui Compser and the UART routine that you guys provided in your demo code. Some time ago I had some issues getting the demo working with the F28335 and CCS V6 and you helped me to get it working, the problem back then was a bug in the CCS end I think where the F28335.GEL file needed to be cleared. Further to that I developed a prototype display module that I wanted to use within my own code. This was tested and found to work fine with the shell code that was really doing nothing other than running the UART code that you provided. i.e it worked ok with either the JTAG interface or the UART.
I continued to develop my code and testing the interface using the JTAG for simplicity. However, the intention was to use the UART when operating the kit on power as the JTAG does seem to be a bit susceptible to locking up and once it has done so you can't regain control.
Ok, so some months later, now that I have built up my code to a point where I want to use the UART in anger and I can't get it to work at all. Clearly with the code in place and the PWM interrupts etc running the cycle time of the main loop is much longer (circa 2ms) so the code dealing with the characters will be running a bit slower, but I would have hoped it would be sufficiently robust to cope with this.
I have done some tests on the demo code you provided to replicate this slowing by putting timer delays in the "receivedDataCommand(getReceivedChar())"
routine and the " __interrupt void sciaRxFifoIsr(void)" function and it does seem to cope fine until the delays become really large. So I'm not convinced that the delay in the main loop is the source of my issues.
On probing further, I can see that the interrupt routine is definitely being triggered by setting a break there, I don't think there is a baud rate mismatch, but I am struggling to see where the problem lies. It may be something to do with the various other interrupts I have in place causing some kind of delay in the SCIA interrupt from being serviced, but this is speculation at this point.
I'm using CCS 6.1.0.00104, the F28335 and Windows 7 64 bit service pack 1
The non functioning code and GUI is attached, any suggestions would be welcomed.