BI-Directional Clock (3 Wire Serial)

purduefiji:
I have tried placing a digital read in between the clock pulses but it isn't that efficient. Any ideas of some other ways of reading the DOUT line?

Well I'm confused now, because I don't see any digitalRead in your code. I don't see how you can read the line without doing a "read".

Correct, there is currently no read command within the code I provided. I am reading the line using the logic analyzer.

First I want to read the DOUT line using the controller....

  1. Send Clock Pulse
  2. Read bit
  3. Store bit
    Repeat

Issues

  1. When reading data from the transceiver register the transceiver sends the data on the DOUT line using a clock provided by the main controller.

  2. When reading tag data from the transceiver the transceiver takes control of the SCLK line, and sends the data on the DOUT line to the main controller.