Forum: Mikrocontroller und Digitale Elektronik 1-wire PD Kit - Plattform MSP430 Compiler IAR


von arshad (Gast)


Lesenswert?

Hallo,

kann man beim 1-wire PD Kit("c" source code) auch den MSP 430F169 als
Plattform und IAR als Compiler verwenden?
Wie würde das dann funktionieren?

Wenn mir jmd helfen kann, dann bitte melden!

MfG
Arshad

von thomas.o (Gast)


Lesenswert?

hallo!

was ist denn das "1-wire PD Kit"? kannst du den code mal posten??

mfg,
thomas

von Bastler0815 (Gast)


Lesenswert?

A Note On Portability

All of the platform-specific code in the Public Domain Kit is organized
into just a few files ("TODO" templates) for easy porting to different
platforms. These files represent the lowest level of the API that is
hardware-dependent. As long as these few files are coded correctly, the
rest of the API (and sample apps), should compile and run nicely. There
are two standard ways to code the lowest level of the API. The first is
called "general" and the second is called "userial". The general
build requires an implementation of the primitive link-level 1-Wire
communication functions. The "userial" build assumes that the user
has a serial port (RS232) and wishes to utilize Dallas Semiconductor's
'Universal Serial 1-Wire Line Driver Master Chip' called the DS2480B.
This chip receives commands over the serial port, performs 1-Wire
operations and then sends the results back to the serial port. The
source code converts the intended 1-Wire operations into serial
communications packets to the DS2480B. The only thing that needs to be
provided for a userial platform are the serial port read/write
primitives. Dallas Semiconductor sells several DS2480B-based serial
adapters, such as the DS9097U-009, DS9097U-S09, DS9097U-E25 or DS1411.
A third category of implementation "other" provides the standard
1-Wire Public Domain base API but may diverge in its implementation of
this API by taking advantage of particular system or adapter features.

von arshad (Gast)


Angehängte Dateien:

Lesenswert?

Hallo Tomas,

Heir ist der code

 MFG
Arshad Mahmood

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.