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