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
Based on the dips and the different steepnesses I'm guessing there's maybe some swapped bit things going on?
I guess you could check this by running the following series (binary numbers):
...0001
...0010
...0100
...1000
If bits are swapped the peaks won't be entirely sorted by size.
@Segebodo
I'll check. Thanks!
@cweickhmann I just saw this and honestly I don't know if this will really help you with debugging:
https://chaos.social/@blinry/108296285154361215
@cweickhmann You could also export the image from the oscilloscope and overlay a straight line onto the ramp. This could make it easier to detect more caracteristics of the problem.