Hi,
Perhaps you would find it easier to use an arrangement like that shown below, which takes advantage of the 145x's log2 function to calculate dB (relative to full-scale) from an envelope detector. Pressing the Read button displays the parameter address in the capture window, making it simple to find the address for your uC to read.
Best regards,
Bob