AnsweredAssumed Answered

Why can't I enable USB and CAN simultaneously using STM32CubeMX?

Question asked by maggie.roxas on Jul 31, 2014
Latest reply on Aug 12, 2014 by maggie.roxas
I'm using STM32CubeMX v4.3 to generate my STM32F303x custom board pins.
I need both USB and CAN enabled.

I can set USB (as FS Device) pins as:
       
  • PA11: USB_DM
  •    
  • PA12: USB_DP
And CAN pins as:
       
  • PD0: CAN_RX
  •    
  • PD1: CAN_TX

But for some reason, I can't enable USB and CAN at the same time.

When I try to enable USB, CAN can't be enabled anymore (grayed-out) and on mouse hover, says:
       
  • "CAN Not Available: CAN IP can be selected if USB IP is not selected"

When I try to enable CAN, USB can't be enabled anymore (grayed-out) and on mouse hover, says:
       
  • "USB Not Available: USB IP can be selected if CAN IP is not selected"

Why?
Anything I'm missing here?

Outcomes