01 - Preheat your oven to 350°F. Grease and line an 8-inch round cake tin with parchment paper.
02 - In a large mixing bowl, beat together the softened butter and granulated sugar until light and fluffy, approximately 3-4 minutes.
03 - Add eggs one at a time, mixing thoroughly after each addition. Stir in the vanilla extract until fully incorporated.
04 - In a separate bowl, whisk together the finely ground pistachios, all-purpose flour, baking powder, and salt until evenly distributed.
05 - Add the dry ingredients to the butter mixture in three parts, alternating with the milk in two additions. Begin and end with the flour mixture. Mix until just combined, being careful not to overmix.
06 - Gently fold in the fresh raspberries using a rubber spatula, taking care not to break them up too much. The batter should maintain some visible raspberry pieces.
07 - Transfer the batter to the prepared cake tin. Use an offset spatula to smooth the top evenly.
08 - Bake for 35-40 minutes, or until a wooden skewer inserted into the center comes out clean. Allow the cake to cool in the tin for 10 minutes before turning out onto a wire rack to cool completely.
09 - In a mixing bowl, beat together the softened cream cheese and butter until smooth and creamy. Add the powdered sugar, ground pistachios, and vanilla extract. Mix until fully combined and fluffy.
10 - Once the cake is completely cool, spread the pistachio cream cheese frosting evenly over the top. Decorate with additional fresh raspberries and chopped pistachios if desired.