Skip to main content
Explorer
November 21, 2023
Question

How to configure the SAI with a CODEC

  • November 21, 2023
  • 3 replies
  • 6804 views

Hello,

I would like to know if there are people who have already configured the SAI with a CODEC to recover the data ? With this link below:

https://wiki.st.com/stm32mpu/wiki/SAI_device_tree_configuration

I can see this figure but I don't quite understand this configuration. I know a little about SAI but not in depth.

DYann1_0-1700559816623.png

I don't understand the line SDA from the SAI to the CODEC, what is this line for ?

Thank you for your helps.

Regards

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    November 21, 2023
    DYann.1Author
    Explorer
    November 23, 2023

    Hi,

    I looked at your link there is this part that interests me but it is not the same microprocessor.

    DYann1_0-1700735666162.png

    I don't have a STM32MP15 disco board, I have STM32L552ZET6QU microcontroller. Your link is too general and does not explain how to configure the SAI simply without having to read tons of pages to know how to do anything afterwards. Simpler and more practical please.

    Thank you

    Technical Moderator
    November 23, 2023

    Hi @DYann.1 ,
    you originally posted this ticket in MPU forum.
    STM32MP1 products are running Linux. For sure very different than STM32L5 way of working.

    moved in right location,

    regards.

    DYann.1Author
    Explorer
    November 23, 2023

    Hi,

    You can see :

    DYann1_0-1700747699277.png

    The SAI is inside the MCU inside the microprocessor to my knowledge right ? Where did you see it in linux for my Topic ?

    Where should I put this topic? Can you move it to the correct section ?

    Thank you

    Technical Moderator
    November 23, 2023

    Hi,

    I already moved on 'MCU topic' on purpose, which was created on

    PatrickF_0-1700749196351.png

    and you mention a wiki MPU link related to device tree (which is a Linux concept) in your initial post.

    Don't worry, it is easy to mix-up, and we are here to help you.

    For MCU, maybe have a look to https://www.st.com/content/st_com/en/stm32-mcu-developer-zone.html

    Regards.