camerart
Well-Known Member
Hi,
I'm having difficulty with SSPBUF!
Here is a program where one PIC 18F46K20 'talks' to a second PIC 18LF4431 using SSPBUF. This works, and SENDS and RECEIVED TEST DATA between the 2x PICS.
Next I want PIC1 to WRITE to REGISTERS of a peripheral, then RECEIVE DATA from the peripheral.
How is this done please?
NOTE: With this peripheral there doesn't seem to be a DATA ready BIT.
Camerart.
I'm having difficulty with SSPBUF!
Here is a program where one PIC 18F46K20 'talks' to a second PIC 18LF4431 using SSPBUF. This works, and SENDS and RECEIVED TEST DATA between the 2x PICS.
Next I want PIC1 to WRITE to REGISTERS of a peripheral, then RECEIVE DATA from the peripheral.
How is this done please?
NOTE: With this peripheral there doesn't seem to be a DATA ready BIT.
Camerart.