2012-04-24 11:28 AM
The
1-wire
protocol
uses only
one
port to send
and receive data.
What is
the
configuration mode
for the
GPIO_Mode
?
What is the
method to
a
port to
receive and
send data
?
2012-04-24 01:50 PM
For a software implementation you'd want to configure the GPIO in Open Drain mode.
2012-04-24 06:56 PM
Hi,
In my experience, I will do like this.1. Mater -> Slaver> Set GPIO as output to send out the data. After send out finished.2. Master <- Slaver> Set GPIO as input to receive data from slaver.repeat from step 1.You should define the protocol fist, then you will know how to set GPIO.Simon2012-04-25 01:29 AM
Needs to be open drain (as Clive said) rather than output (push/pull) as another one wire device(s) may try to transmit at the same time (i.e. a collision). All devices on the bus should be open drain or open collector (sometimes with dynamic pull up).
2012-04-30 06:03 AM
Needs to be open drain (as Clive said) rather than output (push/pull) as another one wire device(s) may try to transmit at the same time (i.e. a collision) OR even a popped chip
Erik2012-04-30 06:04 AM
Needs to be open drain (as Clive said) rather than output (push/pull) as another one wire device(s) may try to transmit at the same time (i.e. a collision) OR even a popped chip
Erik