Skip to main content
RZ_it
Associate II
August 4, 2020
Question

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

  • August 4, 2020
  • 3 replies
  • 1482 views

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

This topic has been closed for replies.

3 replies

Khouloud OTHMAN
Technical Moderator
August 4, 2020

Hello RZ,

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

BR,

Khouloud.

ArmandG
ST Employee
August 5, 2020

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_it
RZ_itAuthor
Associate II
August 5, 2020

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