Preheat the oven to 350F.
In a small bowl, toss the corn and raspberries with a spoonful of the flour; set aside. In a medium bowl stir together the remaining flour, sugar, cornmeal, baking powder, baking soda, and salt. In a small bowl or measuring cup, whisk together the eggs, buttermilk, and oil. Stir the egg mixture into the flour mixture with a spatula until almost blended; gently stir in the corn and berries, stirring just until combined.
Spread the batter evenly into a 9-inch cake pan that has been buttered or sprayed with nonstick spray. Bake for 40 to 45 minutes, until golden and springy to the touch.
Serve warm, topped perhaps with sweetened sour cream or raspberry ice cream.