Preheat the oven to 350F. Grease three 8-inch round cake pans, line the bottoms with parchment paper, and dust the sides with flour.
Whisk the flour, baking powder, and salt together in a medium bowl and set aside.
In a large bowl, beat the butter and sugar together for 3 to 4 minutes, until pale and fluffy.
Add the eggs one at a time, beating well after each, then mix in the vanilla extract.
Add the flour mixture and milk alternately in three additions, starting and ending with flour, mixing just until no streaks remain.
Divide the batter evenly between the three pans and smooth the tops. Bake for 22 to 25 minutes, until a toothpick inserted in the center comes out clean and the edges pull slightly from the pan.
Cool the cakes in their pans for 10 minutes, then turn out onto wire racks and cool completely, about 1 hour, before frosting.
For the frosting, beat the butter until smooth and creamy, about 2 minutes, then add the pistachio cream and beat until fully combined.
Add the powdered sugar in two additions, then pour in the heavy cream and salt. Beat for 3 minutes, until the frosting is light and holds a soft peak on the beater.
Level the tops of the cake layers with a serrated knife if they have domed.
Set the first layer on a cake stand, spread with 2/3 cup of frosting, and scatter a third of the raspberries over it.
Repeat with the second layer, then top with the third layer, flat side up.
Spread a thin crumb coat over the top and sides, chill for 20 minutes, then cover with the remaining frosting in a smooth, even layer.
Press the chopped pistachios into the bottom third of the cake, finish the top with the remaining raspberries, and slice with a warm knife to serve.
Good to Know
Bake the three layers a day ahead, wrap them once cool, and frost the morning of the party so the raspberries stay bright.