Peel onion and garlic. Dice onion, chop garlic finely. Clean broccoli, cut into small florets and wash. Peel the stems and cut them into thin slices.
Cook the pasta in 3-4 l boiling salted water (approx. 1 teaspoon salt per litre) according to the instructions on the packet. Add broccoli for the last 5 minutes.
In the meantime heat oil in a pan. Fry the diced ham until crispy. Fry the onion and garlic briefly. Stir in tomato paste and sweat it on. Dust with flour and sweat it on. Deglaze with wine and cream, bring to the boil.
Simmer for about 5 minutes.
Grate parmesan. Stir the crème fraiche into the sauce. Season to taste with salt, pepper, chilli and 1 pinch of sugar. Drain the pasta and broccoli. Mix with the sauce and sprinkle with parmesan.