In a pressure cooker, on medium, cook the shallots and ginger in oil for 5 minutes or until shallots are golden. Stir often.
Add the coriander and cardamom. Cook for 1 minute. Stir the entire time. Add the squash, lentils, broth, and 1/4 teaspoon salt.
Cover, lock and bring up the pressure to high. Then, reduce the heat to medium-low.
Cook for 12 minutes. Release pressure by using the quick-release function.
Stir in spinach, vinegar, and 1/2 teaspoon each of salt and pepper.