Automatic update via a PDC DMA

I did, i edited the post and added in the code