Just wanted to mention a small bug in CubeMX 4.18.0. I am using STM32F446ZET. It has two I2S peripherals. When I configure I2S1 in the Pinout tab, the Clock tab shows the clocks wired for I2S2. And vice versa. The chosen pins, Configuration and generated code are all correct, it just seems the Clock view gets them swapped.