STM32CubeMX incorrctly sets "Slot Active Final Value" when using SAI as MONO mode
Hello.
I found a bug in STM32CubeMX software which is briefly described above in the title.
- In the "Pinout & Configuration" tab, select SAI and enable it
- Set "Number of Slots" to 2
- Set basic parameters (other than "Output Mode") correctly
- Set "Output Mode" to "Mono"
After setting "Output Mode", auto-calculated "Slot Active Final Value" is set to "0x00030000".
This value is not valid and cannot be changed using the CubeMX software.
So, you should modify the "Slot Active Final Value" by opening .ioc file in text editor or modify SlotInit.SlotActive value in the generated C source code.
I found this bug affects many (presumably all) devices such as F446 and F767, and can be reproduced in many CubeMX versions including 6.0.0.
