[En-Nut-Discussion] TWI initialization - new attempt
Peter Sodermanns
peter.sodermanns at aixcon.de
Wed Feb 15 17:25:10 CET 2006
Tim Tait schrieb:
>
> The SCL and SDA lines must idle HIGH. The AVR master will assume another
> master has the bus if it sees SCL low. Those 2 lines should be pulled
> high after a reset, and stay that way until AVR master starts to send
> TWI transactions. So that may be your problem, the next question is why.
>
Hey, You got it!
My pull ups where tied to ground instead of +5V. And I didn't check that
end!
Now the pins are toggling, and I've new hope to get my program running.
Many thanks for the hint!
Peter
More information about the En-Nut-Discussion
mailing list