Heat oven to 350 degrees F.
Butter and flour two 9" cake pans. Line with parchment paper. Tip: butter both sides of parchment paper and flour the top. Set aside.
In medium mixing bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger and salt. Set aside.
Into another mixing bowl, beat sweet potato until smooth. Note: Mashing the potato will leave it too chunky. I used an immersion blender, but you can use a food processor, blender or hand mixer.
Stir buttermilk and vanilla extract into the sweet potato; set aside.
In the bowl of a stand mixer, or with a hand mixer, beat together the butter and sugar until pale yellow and fluffy, about 3-4 minutes.
Add eggs, one at a time. Scrape down sides and beat another 10 seconds. Slowly beat in sweet potato mixture until smooth, about a minute.
To butter mixture, add the flour mixture and beat until well-blended.
Pour evenly into cake pans and bake for about 25 minutes, until toothpick comes out dry when inserted in the center, Remove cake from oven.
After 5 minutes, remove cakes from pan and let cool completely before frosting.