cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of ULPI & CANFD interfaces

Meghna
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

8 REPLIES 8
FBL
ST Employee

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.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.



@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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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?

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

yes this was the confirmation required, No alternatives ?


@Meghna wrote:

yes this was the confirmation required, No alternatives ?


Already answered that question in my previous comment: "Unfortunately, no alternative for FDCAN2"

 

 

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

ok, Thanks, 

Source impedance of the pins of STM32H743BIT6 pins is mentioned in which section of the datasheet?

Hello,

This is another question that you need to open a separated thread for it.

Thank you for your understanding.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.