2011-06-13, 21:24:53
You could try to add a delay after enabling tx.
Replace the code:
With, try with different values.
Replace the code:
Code:
Send: ; Enable tx
.ifdef USE_TXENABLE
bset LATR_TXE, #LATB_TXE
nop
.endif
With, try with different values.
Code:
Send: ; Enable tx
.ifdef USE_TXENABLE
bset LATR_TXE, #LATB_TXE
mov 128,WTEMP2
dloop: dec WTEMP2,WTEMP2
cp0 W6
bra NZ,dloop
.endif