This function is used to : -1- Enable DMA2 clock -2- Select the DMA functional Parameters -3- Select the DMA instance to be used for the transfer -4- Initialize the DMA stream -5- Configure NVIC for DMA transfer complete/error interrupts -6- Configure and start the DMA transfer using the interrupt mode