Sorry bad english!
I measure RPM (tachometer) in CCP1-port falling edge interrupts (and timer1). This work OK, but when RS232 RX-pin comin data at same time,
RMP result is not stabil. I dont read RX-data, but GPS-module sen data every second. RS232 interrupts in disabled.
If i release RX caple, result is stabil.
Whereform result is not stabil?
What i can do?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Apr 21, 2006 11:36 am
Quote:
I dont read RX-data.
RS232 interrupts in disabled.
If i release RX caple, result is stabil.
So you don't have any getc() or fgetc() statements in your program ?
If not, then there should be no effect on the program operation
by the incoming RS-232 data.
So in that case, the problem could be electrical noise. Make sure
you have a good power supply and ground for the PIC.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum