Hey, #Electronics folks!
Has anyone seen such an output for a ramp coming out of a DAC?
This is produced by a simple counter counting from 0 to 4095 and then wrapping.
The sharp dips are absolutely stable and deterministic. They occur at bit switches but I don't seem to get my head around why.
Identical curves on two different DAC peripherals on the same μC and even across different chips/boards (I'm almost certain it's a software problem).
@cweickhmann How sure are you its a software issue?
QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.
@cweickhmann
These types of behaviors used to be possible a long while back, as DACs (and ADCs) where not necessarily guaranteeing that each bit increment was larger than previous value. HOWEVER, this large I have never seen.
This looks more like incorrect bits being sent to the DAC. Common issues are; shifting wrong number of bits, bits in wrong position, little/big endians, polarity, bit shifting out of phase, ...
Which DAC is it? (Maybe you solved it by now...)
@freemo