Skip to main content
Visitor II
May 21, 2025
Solved

Usage of ULPI & CANFD interfaces

  • May 21, 2025
  • 1 reply
  • 728 views

I want to use the ULPI interface & both the CAN interface for my project

But I see 

For USB:

 

Pin No: 194     pin name: PB5     Module function :  USB_OTG_HS_ULPI_D7,   ONLY ONE PIN no other pins are there

 

For CAN

 

Pin No: 194,195    pin name: PB5,PB6     Module function :  CAN2_RX,CAN2_TX  

 

Pin No: 104,105    pin name: PB12,PB13     Module function :  CAN2_RX,CAN2_TX   

 

How to proceed with it, since we have clash with Pin No 194?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Doing the exercise on STM32CubeMX, it seems you cannot use FDCAN2 with USB_HS with external PHY as they share some IOs:

    mALLEm_0-1747839091178.png

    So you can't use both USB_HS and FDCAN2 at the same time. Unfortunately, no alternative for FDCAN2

    1 reply

    Technical Moderator
    May 21, 2025

    Hi @Meghna 

    Which product are you using? You can refer to reference board nucleo, disco or eval board's schematics and check whether UPLI pins are correctly set.

    Technical Moderator
    May 21, 2025

    @FBL wrote:

    Hi @Meghna 

    Which product are you using? 


    To be exact which part number? (STM32H743BIT6 ? as per your previous thread). That indicates also the package.

    MeghnaAuthor
    Visitor II
    May 21, 2025

    As suggested in the datasheet STM32H743BIT6 we are interfacing it with USB3320 using ULPI interface, apart from this we have using CANFD 2 interfaces , there we are seeing that pins are overlapping, where in we cannot support these 3 (CANFD1, CANFD2, ULPI), Am I wrong somewhere?