Forum: Mikrocontroller und Digitale Elektronik Dynamische Adressierung MCP4725


You were forwarded to this site from EmbDev.net. Back to EmbDev.net
von Christian M. (Gast)


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

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.