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 the dry ingredients to the wet mixture, mixing 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 the top evenly.
08 - Bake for 38 to 42 minutes or until a toothpick inserted into the center emerges clean.
09 - Allow cake to cool in the pan for 15 minutes, then transfer to a wire rack to cool completely.
10 - Dust cooled cake with powdered sugar and sprinkle with chopped pistachios if desired.