firt we use DMA to transfer data from SRAM to GPOIA especially pin5 to toggle the (LED) which on nucleo board, But we use diffrent methods to transfer the data: 1- Polling /* check on flag when DMA transfer the data */ 2- Interrupt