Dynamische Adressierung MCP4725

Gast #5572890
Lesenswert?

Ich möchte mehrere MCP4725 einsetzen. Wie ich das Datenblatt 
(https://www.sparkfun.com/datasheets/BreakoutBoards/MCP4725.pdf) 
verstehe, kann ich A0 aktiv vom Mikrocontroller steuern. Ich bin ganz 
sicher, ob das auch dynamisch während des Betriebes funktioniert. Nach 
meinem Verständnis schon:

Abschnitt 7.2:
1
... can be actively driven by digital logic levels.

und:
1
When the device receives an address byte, it compares
2
the logic state of the A0 pin with the A0 address bit
3
received before responding with the acknowledge bit.
4
The logic state of the A0 pin needs to be set prior to the
5
interface communication.

So lasse ich alle A0 auf "1", und setze vor der Kommunikation den 
entsprechenden A0 auf "0", oder umgekehrt :-))

Gruss Chregu

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren