Atmega + Ibutton

HWSW Famulus hwsw at famulus.hu
Thu Jan 8 11:53:33 CET 2004


Switching between input with pull-up and output low generates the same
problem.
Erre gondolsz. (lasd lentebb)?
Mi a "nem normalis" ebben?

KJ

----------bovebben----------------------------------

When switching between tri-state ({DDxn, PORTxn} = 0b00) and
output high({DDxn, PORTxn} = 0b11), an intermediate state
with either pull-up enabled ({DDxn,PORTxn} =0b01) or
output low ({DDxn, PORTxn} = 0b10) must occur.

Normally, the pull-up enabled state is fully acceptable,
as a high-impedant environment will not notice the difference
between a strong high driver and a pull-up.
If this is not the case, the PUD bit in the SFIOR Register can be written
to one to disable all pull-ups in all ports.

Switching between input with pull-up and output low generates the same
problem.
The user must use either the tri-state ({DDxn, PORTxn} = 0b00) or the output
high state ({DDxn, PORTxn} = 0b11) as an intermediate step.

Table 25 summarizes the control signals for the pin value.

-----------------------------------------------



----- Original Message ----- 
From: "Füzesi Arnold" <arno at freemail.hu>
To: <elektro at tesla.hu>
Sent: Wednesday, January 07, 2004 11:43 PM
Subject: Re: Atmega + Ibutton


> Az a nem normális, hogy nincs rendes ki-be, be-kimenet átmenet.
> Vagy bemenet-pullup-kimenet, vagy bemenet-nulla-kimenet vagy hasonlo
> atmenetek vannak csak.
> Most pontosan nem emlekszem, par honapja programoztam atmelt-t utoljára.
>
> Adatlap emliti is, hogy figyeljen az ember erre.
>
> Kell a külso felhúzó?
> Nem elég a belso pull-up?
> Igazából erre lennék kiváncsi.
> (Ha jól belegondolok ennél az alkalmazásnál épp nem okoz gondot a fenti
> furcsaság...)
>
> PIC-nel ment lazán egy sima pull-up-os portábról a dolog, atmega-nal megy?
>
> Arnold
> ----- Original Message ----- 
> From: "VFX" <info at vfx.hu>
> To: <elektro at tesla.hu>
> Sent: Wednesday, January 07, 2004 10:19 PM
> Subject: Re: Atmega + Ibutton
>
>
> > Hali!
> >
> >
> > > Valaki illesztett mar kozvetlen az Atmega valamelyik portjára Dallas
> > > Ibuttont?
> >
> > Igen.
> >
> >
> > > A nem teljesen normális ki-bemenet váltás+pullup ellenállás kavarás az
> > > atmelnél  nem okoz gondot?
> >
> > Mi nem normalis :)?
> > Teljesen jo ott minden. Siman eszi semmi gond nincs vele. Az oldalamon
> > van kint dallas 1-wire asm betet is.
> > De ha DS1820 vagy DS1920 van a buszon (vagy valami ami sok energiat
> > kivan), akkor bizony aktiv push-pull kimenet kell. Minden mas esetben
> > eleg a Tre-State/ pull-down allapot is egy kulso pl. 4.7k
> > felhuzoellenallassal.
> >
> > UDV. VFX.
> > http://www.vfx.hu
> >
> >
> >
> >
> >
>
>





More information about the Elektro mailing list