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
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.

@cweickhmann A little disclaimer: I have almost no experience with digital electronics.

Follow

@Segebodo
No worries. I was bug tracking for hours and ran out of ideas. So mainly trying to get some independent thoughts here.
To me it looks very much like a purely digital problem.

@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.

@cweickhmann I just saw this and honestly I don't know if this will really help you with debugging:
chaos.social/@blinry/108296285

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.