You are my man! It works now. I wish the HAL LIbrary would be open sourced on a public Git so we could fix these kind of flaws and submit pull-requests.
I got it working using HAL 1.3, the problem seems t oreside in the latest HAL 1.5 library, I will investigate more if it works under 1.4 and see what I can do with my ST FEA.
hello Pavel, thanks for the answer, yes I have tried that but the import doesn't work very well. anyway I need to create the cube project from scratch to adapt for a h743 with less pins right after. so I created a new cube project