@ Daniel
>Vor kurzem habe ich mir einen DA-Wandler DAC0832LCN zugelegt.
>Heute habe ich ein einfaches Programm geschrieben, welches den PORTB bis
>256 hochzählt.
Das Program sieht OK aus.
Hast du das beachtet?
"Flow-Through Operation
Though primarily designed to provide microprocessor interface
compatibility, the MICRO-DAC’s can easily be configured
to allow the analog output to continuously reflect the
state of an applied digital input. This is most useful in applications
where the DAC is used in a continuous feedback
control loop and is driven by a binary up-down counter, or in
function generation circuits where a ROM is continuously
providing DAC data.
Simply grounding CS, WR1, WR2, and XFER and tying ILE
high allows both internal registers to follow the applied digital
inputs (flow-through) and directly affect the DAC analog
output."
Also du musst CS, WR1, WR2 und XFER auf Masse legen sowie ILE auf VCC.
Dann sollte dein Programm laufen.
MFG
Falk