using DMAIFG flag to wait for end of conversion