Take black eyed peas in a bowl. Wash it well. Now cover it with water and soak it overnight. Next day drain the water, add it to pressure cooker, cover with fresh water and pressure cook for 3 whistle, simmer the flame and cook for 10 mins. Turn off the heat and let the steam go all by itself. Open the cooker and drain the liquid from the peas. You need the liquid only, you can use the peas for a curry.
Now heat oil in a sauce pan. Add in mustard, urad dal, cumin, asafoetida and curry leaves. Saute for 30 sec.
Now add in onions, tomatoes and crushed garlic. Saute for 2 mins.
Add in all spice powders along with salt and sugar. Saute for a min.
Add in the peas cooked liquid and tamarind pulp. Mix well.
Bring this to boil. Once it reaches boil, add in coriander leaves and mix well.