To contribute to this decentralized project, I update the post with the solution to my problem I reached thanks to some feedback I got on Reddit.
The problem was caused by my re-definition of the pinctrl pin names. Those pins were already defined in the dtsi files of my development kit. Sticking to the original names solved the problem.
For example, the “spi1_mosi_a7” should have been “spi1_mosi_pa7”. I guess my re-definition determined some conflict.
To contribute to this decentralized project, I update the post with the solution to my problem I reached thanks to some feedback I got on Reddit. The problem was caused by my re-definition of the pinctrl pin names. Those pins were already defined in the dtsi files of my development kit. Sticking to the original names solved the problem. For example, the “spi1_mosi_a7” should have been “spi1_mosi_pa7”. I guess my re-definition determined some conflict.