01 - Preheat oven to 350°F. Grease and line a 9-inch round cake pan with parchment paper.
02 - Whisk together flour, ground pistachios, baking powder, and salt in a bowl. Set aside.
03 - Beat butter and sugar in a large mixing bowl until pale and fluffy, approximately 3 minutes.
04 - Add eggs one at a time, beating well after each addition. Mix in vanilla extract.
05 - Gently mix in half the dry ingredients. Add milk, then remaining dry ingredients, mixing until just combined.
06 - Gently fold in fresh raspberries, taking care not to crush them.
07 - Transfer batter to prepared pan and smooth the top evenly.
08 - Bake for 38 to 42 minutes, or until a toothpick inserted into the center comes out clean.
09 - Let cool in pan for 15 minutes, then transfer to a wire rack to cool completely.
10 - Dust with powdered sugar and sprinkle with chopped pistachios if desired.