Wash and soak the black eyed peas in plenty of water overnight or at least for 6 and then drain the water before cooking
To cook the peas, transfer them to a pressure cooker. Add sufficient water to cover them and add salt. You can place the cubed potatoes in a small steel bowl inside the cooker and pressure cook the contents on a full heat for 5-6 whistles or till the black eyed peas and potatoes turn tender but not too mushy. Keep aside, don’t throw away the stock
Heat the oil in a pan or kadai and add the mustard seeds. When they stop spluttering add the curry leaves and stir for a few seconds
Add the finely chopped onions and fry until they turn translucent
Add the garlic and ginger and fry till the raw smell vanishes. Toss in the green chillies and stir for a bit
Now add the chopped tomatoes and the salt (don’t add too much as the black eyed peas were salted while cooking)
Fry until the tomatoes turn mushy and the oil begins to separate.
Reduce the heat completely and add the spice powders - bafat, vegetable masala and sambar powder and stir
Optional step: if you intend to add any other veggies such as the palak or mushrooms you may do so now - add some stock from the pressure cooker and let these veggies cook completely before proceeding to step#10
Add the cooked black eyed peas, potatoes and a little stock to adjust the consistency of the gravy.
Check the taste and add the salt or the tamarind juice as required. If you need more spice, adjust that too.
Bring the curry to a boil and then reduce and simmer for 2-3 minutes or until you achieve the desired consistency of the gravy
Garnish with the chopped coriander leaves, turn off the heat and serve hot with rice or neer dosa