Saw your post sine last Friday, but can't log in to answer :
Guess that you want PWM output on TA1 and TA2 in push-pull mode with dead-time inserted, but your configuration in STM32CubeMX is correct but still don't have output PWM on TA2.
1). You need to disable dead-time insertion.
2). Configure Output 1(TA2) the same as TA1, by setting the 'Set Source', and 'Reset Source' the same.
3). Re-enable dead-time again
4). The CubeMx will have a red cross say that you're configure wrongly, ignore it.
5). Generate the code. If it ask to continue, click yes.
6). Now you will get the working code with 2 PWM in push-pull mode with dead-time insertion.