camerart
Well-Known Member
Hi,
I've got tangled up with SPI in Oshonsoft again!
I recall that when writing to SPI 0X80 must be added, in other words the first bit of the address must have a 10000000.
I need to READ from on address and WRITE the RESULT to another.
e,g READ ADDR 0x01 and WRITE the RESULT to ADDR 0x02
Here is the SPI:
'SPICSOn
'SPISend
'SPICSOff
'SPICSOn
'SPISend
'SPICSOff
Any clues please?
Camerart.
I've got tangled up with SPI in Oshonsoft again!
I recall that when writing to SPI 0X80 must be added, in other words the first bit of the address must have a 10000000.
I need to READ from on address and WRITE the RESULT to another.
e,g READ ADDR 0x01 and WRITE the RESULT to ADDR 0x02
Here is the SPI:
'SPICSOn
'SPISend
'SPICSOff
'SPICSOn
'SPISend
'SPICSOff
Any clues please?
Camerart.