cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 how to configure SAI2 B as slave (greyed out option in cubeMX)

RZ
Associate II

If I configure SAI 2 in cubeMX I get a greyed out option that the synchronous slave is not available unless I have one SAI as master, but I have set SAI A as master (or master with master clock out). So what am I doing wrong?

It doesn't matter if I configure it for the A7NS or the cortex-m4, the option is greyed out.

The pins are available for both the SAI2 A/B0693W000003C59TQAS.jpg

Is this a limitation of cubeMX? Or am I missing something?

Thanks, Robert

3 REPLIES 3

Hello RZ,

Thanks for your feedback, the issue is reproduced. It will be reported internally for review and correction.

BR,

Khouloud.

ArmandG
ST Employee

Hi @RZ​ ,

As the problem seems to come from STM32CubeMX, I suggest you to mux your pins manually in the Device Tree.

This link might be useful : https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/SAI_device_tree_configuration

Regards,

Armand

RZ
Associate II

Thanks Armand, that was what I was looking for. RZ