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.

It use PTOR, not PDOR.
So you should change it to PTOR.
BR
Harry