Heat the oven to 350°F (175°C). Coat a 9x13-inch baking pan with baking spray containing flour. Measure the frosting ingredients and toppings before starting so they are ready when the cake is baked.
Stir the self-rising flour and granulated sugar together in a large bowl. In a medium saucepan, combine the 1 cup butter, coffee or water, and 1/3 cup cocoa. Heat over medium heat, stirring, just until the butter melts and the mixture comes to a boil. Remove from the heat.
Stir the hot cocoa mixture into the flour and sugar until combined. Let it cool briefly until warm rather than piping hot. Whisk the eggs and 1/2 cup buttermilk together, then mix them into the chocolate batter just until smooth. Scrape into the prepared pan and spread evenly.
Bake for 25 to 35 minutes, starting the doneness check at 25 minutes. The center should spring back lightly, and a toothpick should come out with a few moist crumbs but no wet batter. Leave the cake in its pan.
Near the end of baking, put the 1/4 cup butter, 1/4 cup buttermilk, and 3 tablespoons cocoa in a saucepan. Stir over medium heat until the butter melts and the mixture begins to bubble, then remove from the heat. Gradually whisk in the sifted powdered sugar until smooth. The frosting should be thick but pourable; if needed, whisk in extra buttermilk 1 teaspoon at a time.
Pour the warm frosting over the warm cake and spread gently to the edges. Scatter the chopped pecans and chocolate chips over the frosting right away so they settle into the surface. Let the cake cool in the pan for about 1 hour, or longer if needed for the frosting to set enough for slicing.
If the caramel is too thick to drizzle, warm it gently just until it flows. Drizzle it in thin ribbons over the cake. Cut into 16 small squares, or 12 larger portions. Serve from the pan.