wuchy143
Member
Hi,
I'm trying to make a digital amplifier. I'm able to get it to work(sort of) but here is my issue:
The ADC samples the input port and converts it to a digital value from 0x8020 to 0xFFFF(decimal equiv --> 32800 to 65535). I then pass off the data to the DAC which has a lower limit of 0x0000 and an upper limit of 0x0D54(0 to 3412 in decimal).
I feel like I should be able to figure this out but I've been stuck thinking of ways to manipulate the ADC values so they match up with the DAC input values so my output gives me a full swing in desired voltage.
Are there any tricks out there to do something like this? Thanks!
I'm trying to make a digital amplifier. I'm able to get it to work(sort of) but here is my issue:
The ADC samples the input port and converts it to a digital value from 0x8020 to 0xFFFF(decimal equiv --> 32800 to 65535). I then pass off the data to the DAC which has a lower limit of 0x0000 and an upper limit of 0x0D54(0 to 3412 in decimal).
I feel like I should be able to figure this out but I've been stuck thinking of ways to manipulate the ADC values so they match up with the DAC input values so my output gives me a full swing in desired voltage.
Are there any tricks out there to do something like this? Thanks!