Preheat oven to 160C (320F).
Grease 22cm round cake pan/ springform.
Mix butter, sugar, and vanilla until well, about 3-4 minutes. Add eggs, one at a time, mixing until just combined. Add ricotta. Whisk to combine.
Stir in the flour, salt, baking powder, ground almond, and milk. Fold in 1 cup of raspberries. Spoon mixture into prepared pan. Level top with a spatula.
Sprinkle remaining raspberries, pushing slightly into the batter.
Bake for 1 hour and 25 minutes or until a toothpick inserted in the center of the cake comes out clean.
Cool in the pan for 1 hour. Remove from the pan and sprinkle with flaked almonds and powdered sugar.