Prepare the caramel: Melt the diced butter in a saucepan, then pour the sugar. Cook over low heat for 5 min without mixing. When the mixture starts to brown, add the cinnamon and mix.
Add the apples to the caramel and mix everything.
Butter the bottom of the cake pan and add the caramelized apples.