Closed dasigr closed 6 years ago
I have tested the scope using a simple bridge rectifier circuit and confirmed that the scope is working fine and that the waveform is as expected.
Will now check whether the code for driving the R2R DAC is correct.
So today, I have rechecked the generated waveform and was able to get a better display by lowering the frequency to 1KHz. Looks like the issue was caused the limited capability of the microcontroller to generate data at higher frequencies. The schematic and code works as designed but, I think I'll gonna need a better waveform generator since I was planning on using it to test some audio amplifier projects in the future.
Here's a picture on 1KHz waveform.
The output waveform appears to have a "low resolution". Some steps looks missing from an 8-bit R2R DAC.