Hi @Vipul_Shukla
I checked your code.
EDMA_PrepareTransferConfig(&transferConfig1, &data, 4, 0, (void*)&GPIO2->PDOR, 4, 0, 4, 4);
You used the PDOR register.
You can check the GPIO_PortToggle.
Harry_Zhang_0-1745381102771.png
It use PTOR, not PDOR.
So you should change it to PTOR.
BR
Harry