This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129X USB-CAN pin collision problem

Other Parts Discussed in Thread: TM4C1294NCPDT

Hi All

i want to use the dual CAN (can0 and can1)  and USB in same project. But  i realize that there is a pin collision if i use CAN1 and USB at same time. I also tried to fix problem with the collision solver in the PIN mux utility but it didnt work, solver cant fix it. Is there any way out to use USB OTG feature and the dual can at same time?

Thank you

  •  Hi, I am using this processor with both CAN and USB too, USB0VBUS can be done from another GPIO and same for USB0ID as I read from documentation. USBID is just a static pin so you can read on plugin and configure register in accordance with USB mode. In my application I am using "A" socket not mini/microUSB so this signal is not present.

  • Hi ,

    did you use BOTH CANs ( can0 and can1) as i understand from the documentations the PB1 is used from USB because its 5V tolerance pin while the other pins are 3.3V. Do you remember which document states it?

    regards

    oğuzhan Demirci

  • oguzhan demirci said:
    Do you remember which document states it?

     Hi, I read this on datasheet or maybe on forum too, data sheet tm4c1294ncpdt revision of June 18, 2014 on page 1645 talk about these pin and how to use alternative to this. Say you can use an alternate but action has to be taken and level of vbus monitor to disable pullup drive.

     I am using USB as HOST and a power controller is between 5V and VBUS so I simply read fault status and I drive power out. If you need ID you can set by interrupt and monitor 5VVBUS thru a voltage divider and a GPIO pin.

     On my design a lot of pin are free but alternate got in a multiple conflict and it was difficult to fit them all to work together.

     On TIVA pin mux simply disable conflicting USB signal to enable can1, on 123 series processor both CAN0 and CAN1 have multiple alternate, here fitting is less and less flexible.