Hey, 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

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

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.