Only in Slave!
Don't touch hw SPI in master
Hi J [ TRANSMITTER ]
Only in SLAVE, OK.
"Don't touch HW SPI in MASTER" OOoops. I've been trying all sorts of things.
At the moment, only SLAVE is HSEROUTing
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
SLAVE:
LOOP:
Toggle yled
WaitMs 200
Hserout "4431DATA= ", DATA, CrLf
Hserout "4431azilb= ", azilb, CrLf
Hserout "4431#DATA= ", #azilb, CrLf
Goto LOOP
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
NOTE: The TX for the HSEROUT is the same PIN as SLAVE CS.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
MASTER:
SLAVEpic = 0 'SLAVE PIC ON
SPICSOn
SPISend DATA
SPISend azilb
SPICSOff
SLAVEpic = 1 'SLAVE PIC OFF
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
If I comment out [ SLAVEpic = 0/1 ]
then the SLAVE LED keeps flashing, but the HSEROUT stops.
I think this means that the CS is working, do you?
I've been sending various SPISENDs, but nothing shows on the SLAVE HSEROUT yet.
There is noise on all SPI SLAVE PINS.
C.