pic 2 pic comm
Alrighty then, at this stage of the project rerouting of pins is not an option. But that's my nightmare. I have slowed thing down a bit so that perhaps I can "see" what's going on. I know I am close. Here are snipits of my serin/out;
pic7 program ********************************************
SND6: 'SEND DIGITS TO PIC6
HIGH PORTA.1
HIGH PORTB.2
FOR X=0 TO 3
TRX[X] = (TIME DIG X)
ARX[X] = (AMP DIG X)
NEXT X
Serout2 PORTB.5 \PORTB.6,3318,[STR TRX\4 ,STR ARX\4]
LOW PORTB.2
LOW PORTA.1
RETURN
pic6 program *******************************************
'RECIEVE AND DISPLAY DIGITS
EEPROM 0,[129,243,73,97,51,37,5,241,1,49] 'STORE CONSTANTS
LOOP: 'GET T & A FROM PIC 7
IF PORTA.4 = 1 THEN
SerIN2 PORTA.0 \PORTA.1,3318,[STR TRC\4 ,STR ARC\4]
ENDIF 'DISPLAY T & A
FOR C = 0 TO 3
READ (TRC[C] DIG 0), PORTB
LOOKUP C,[$7F,$BF,$DF,$EF],PORTC 'SET DIGIT
PAUSE f
PORTC = $FF
NEXT C
FOR B = 0 TO 3
READ (ARC[B] DIG 0), PORTB
LOOKUP B,[$FE,$FD,$FB,$F7],PORTC
PAUSE f
PORTC = $FF
NEXT B
GOTO LOOP
I believe my problem is "other than the meds for my sanity" in the data array's
I'm trying to send/recieve ie. TRC VAR BYTE[4] . At this speed I can visually see "scope" the transfer as well as as a confermation by I/O. ??? Who happened to my data ????
Thanks!!
Last edited by SOMRU; - 14th December 2006 at 15:41.
Thanks !
SOMRU
TWE/TFP/EE
Bookmarks