R
Randy Day
Guest
Can anyone suggest why the following is happening?
I have two Pics, a '690 and a '2455, communicating
via eusart (8-bit). After a succesful round of
query/response, the '690 transmits (confirmed on
scope), but the '2455 doesn't receive.
'690 '2455
---- -----
. MOVWF TXREG
BTFSS PIR1, RCIF .
GOTO $-1 .
MOVWF TXREG BTFSS PIR1, RCIF
. GOTO $-2
; things work well up to here.
; successful comm is displayed
. BTFSS PIR1, RCIF
. GOTO $-2
; a delay, up to several seconds, occurs
MOVWF TXREG .
; and here the 690 xmits, but the 2455
; stays in the loop...
I could see a config problem if there was no comm
at all, but why work and then stop? All
suggestions gratefully accepted.
I have two Pics, a '690 and a '2455, communicating
via eusart (8-bit). After a succesful round of
query/response, the '690 transmits (confirmed on
scope), but the '2455 doesn't receive.
'690 '2455
---- -----
. MOVWF TXREG
BTFSS PIR1, RCIF .
GOTO $-1 .
MOVWF TXREG BTFSS PIR1, RCIF
. GOTO $-2
; things work well up to here.
; successful comm is displayed
. BTFSS PIR1, RCIF
. GOTO $-2
; a delay, up to several seconds, occurs
MOVWF TXREG .
; and here the 690 xmits, but the 2455
; stays in the loop...
I could see a config problem if there was no comm
at all, but why work and then stop? All
suggestions gratefully accepted.