Skip to main content
Graduate II
June 23, 2025
Solved

no MPU with RGMII, FDCAN, 2x SAI ?

  • June 23, 2025
  • 2 replies
  • 375 views

Heyho,

I just checked the MCU selector in CubeMX (6.13), and to my surprise I didn't find any MPU supporting the following:

  • gigabit ethernet (RGMII)
  • FDCAN
  • 2 SAIs (I need at least 4 standard I2S/PCM "stereo" channels)

The MP series don't have FDCAN.

Then I checked the N6, but at least in CubeMX I was not able to configure RGMII with all 4 SAI blocks (1 SAI block as master, the 3 other blocks as sync slaves).

That correct ?

Thanks in advance!

 

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    No, that is not correct: the STM32MP2 contain Fast Datarate CAN. It is just not called FDCAN in their data sheet, but CAN FD.

    Hope that helps?

    Regards
    /Peter

    2 replies

    Technical Moderator
    June 23, 2025

    No, that is not correct: the STM32MP2 contain Fast Datarate CAN. It is just not called FDCAN in their data sheet, but CAN FD.

    Hope that helps?

    Regards
    /Peter

    LCEAuthor
    Graduate II
    June 23, 2025

    Thanks for the quick reply @Peter BENSCH !

    Is CubeMX a little limited for the MP series? Maybe people are using it with Linux anyway?

    Even when activating the SAIs for the M33 core, I can't set them to synchronous slave to another SAI.

    And I don't find any option to activate any CAN.

    Technical Moderator
    June 23, 2025

    Hi @LCE ,

    MCU selector has some naming issue. Agreed it is not really consistent around FDCAN naming.

     

    CubeMx is not covering all the modes supported by the HW as it is also linked to SW/FW capabilities (especially on Linux).

    On such complex product like STM32MP2, CubeMx is helping to have a good start point, but unfortunately it is not supporting everything. In all cases, you should have to tailor generated device-tree and configuration to your precise needs and HW (IP configurations, boards components, etc..).

    Reference on what is supported for HW is Reference Manual (RM0457 for STM32MP23/STM32MP25).

    Here is for instance the SAI instance synchronization signals:

    PatrickF_1-1750681021581.png

    For Linux, a lot of information could be found in https://wiki.st.com/stm32mpu
    I'm not sure Linux support natively in-between SAI instance synchronization: https://wiki.st.com/stm32mpu/wiki/SAI_device_tree_configuration (only inter block seems supported).

    For Cortex-M33, you should have a look to STM32CubeMP2 package https://wiki.st.com/stm32mpu/wiki/STM32CubeMP2_Package

     

    Regards.