??? 05/11/09 12:29 Read: times |
#165235 - re Responding to: ???'s previous message |
Yes,in INFINITE LOOP Your sequence is send/read, but at beginning You have:
RESET=1 send send RESET=0. I dont know it is or not important but Your timediagramm will differ from drawing in datasheet. "Also, we read the bits from the 1380 on the HIGH to LOW edge and write to the 1380 on the LOW to HIGH edge according to the datasheet." - this is not in conflict with what i'm pointing. Try to: 1)clr SCLK before RESET=1 2)in "convert_and_send" move line SCLK=0 after SCLK=1; If You want make some delay (for example double line SCLK=1). regard regards |