1Preheat oven to 400°F. Butter an 8" or 9" round cake pan.
2In a largish bowl, beat the butter and sugar for a few minutes, until pale and fluffy. Beat in egg and vanilla. In a small bowl, stir together the flour, baking powder, baking soda and salt.
3By hand or with the mixer on low speed, add the flour mixture in 3 batches, alternating with buttermilk, beginning and ending with flour, and mixing each time until just combined.
4Spread the batter into the pan, smoothing the top. Scatter raspberries overtop.
5Bake for 25-30 minutes, until golden and springy to the touch.
6 Let cool for 10 minutes, then invert onto a cooling rack or plate, or eat warm, straight from the pan.