Preheat the oven to 350°F. If using cardamom pods, remove and grind the seeds, then measure ½ teaspoon.
Combine the flour, sugar, cold butter, baking soda, baking powder, salt, and cardamom in a mixing bowl. Mix on low until the butter is worked into the dry ingredients and the mixture resembles loose sand.
Whisk the mashed pears, milk, eggs, and vanilla in a separate bowl. With the mixer on low, gradually pour the pear mixture into the dry ingredients. Increase the speed to medium and mix for 10–15 seconds, until combined.
Melt the salted butter in a 12-inch cast-iron skillet over medium heat. Stir in the brown sugar and heat until the mixture just begins to simmer. Turn off the heat and arrange the pear slices in a circle over the topping.
Spoon the batter over the pear slices and spread it to the edges of the skillet. Bake for 20–25 minutes, until a toothpick inserted in the center comes out clean.
Rest the cake in the skillet for 5 minutes. Run a knife around the edge and set a serving plate wider than the skillet face down on top. With oven mitts, hold the plate and skillet firmly together, flip them in one motion, and carefully lift off the skillet.