This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

controller reset in uart communication

Hello all,
I am doing one project in microcontroller is LPC2378.
I am doing serial communication of LPC2378 with PC,
I am sending some packet to PC and software running on PC sends me acknowledge
but when PC is not sending acknowledge I and sending packet again.
This way I am doing retry of 3 times.
after doing 3 times sending if I dont get reply from PC, my microcontroller gets reset.
I dont know why. Actually it should stop there itself in idle state but it gets reset.
this I can see because I have added comment of POWERON in main() beforte while(1) loop.
can you guide why is it so?
I am doing serial transmission without using interrupt
serial reception is using interrupt

Thanks and regard

0