Want to know the time takes (Cycles) after loading the 1st SSP1BUF to the next SSP1BUF.....
Thanks
Thanks
Code:
;SPI Clock = 1.5uS (Period)
;Instruction Cycle = 250nS
movwf SSP1BUF ;Previous Write to SPI
;
;From Here Needs the timing to next SSP1BUF
;
movf INDF0,W
call Table_2
movlb .0 ;switch to Bank0
btfss PIR1,SSP1IF ;Has the byte been sent
goto $-1 ;No
bcf PIR1,SSP1IF
movlb .4 ;switch to Bank4
movwf SSP1BUF ;Time ??
Table_2 addwf PCL,F
retlw 00h
retlw .1
retlw .10
retlw .8
retlw .16
retlw .53
retlw .2