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.

All peripherals can not work simultaneously in RM46 Hercules development kit

Other Parts Discussed in Thread: HALCOGEN

Hi,

I am using RM46 Hercules development kit. I see from its board manual that switch S2 controls the ennoblement of peripherals. peripherals corresponds to certain groups as Switched central Resource, Peripherals central Resource group. Some peripherals like UART, SPI corresponds to one group and require S2 be in one state. Ethernet requires S2 in  an other state and USB requires S2 in a  3rd configuration. It means all these three groups can not work simultaneously. I have also practically observed the Uart and Ethernet do not work simultaneously if Switch corresponds to Ethernet requirement. Can you please confirm this behavior? If I want to use all devices at ones, is there any workaround available for this platform.

Thanks in advance,

JA

  • Hi Jam,
    The reason is that some of the peripheral pins are multiplexed. If you use one peripheral functionality then you cannot use another peripheral functionality. Please refer to the RM46 TRM section 4.8 Output Multiplexing and Control on how/what pins are multiplexed. If you use HalCoGen, it will configure the multiplexing for you per your desired functionality to be brought out to the device pins. Please go to the PINMUX tab in HalCogen. UART and Ethernet should work simultaneously without problem. On the RM46 device there is a LIN module that can also operate as a SCI. There is another SCI module too.

    As stated due to pin multiplexing you cannot operate all the peripherals at the same time. You will need to choose a subset of the functionality per your application requirement.
  • Hi Charles,
    Thanks for your prompt response. you are right that pin muxing requires such things but this case is different, here S2 switch on the board is controlling ennoblement of some groups. so this issue does not relate to pin muxing.
    Please see RM46 Hercules Development Kit (HDK) User's Guide www.ti.com/cn/lit/pdf/spnu566 there is explictly mentioned at page 10 that" To use Ethernet, S2:4 should be enabled and all other have to be disabled"
    Thanks,
    JA
  • Hi JA,

     That is correct. If you want to use Ethernet then you will need to set the S2 switch to OFF, OFF, OFF, ON.  You were asking earlier if you could use all the functions at the same time and that is why I answered due to multiplexing it is not possible to operate all of them simultaneously.

     But again if you switch S2.4 to ON to use the Ethernet it means that you will lose some functionality on other modules. See below example if you use the Ethernet in MII mode then some of the HET pins, MibSPI and USB host pins can not be used.

  • Hi Charles,
    Thanks for being in touch. All you mean is, multiplexing will play its role mainly. If I select USBH and Ethernet RMII and SCI, then all would work simultaneously, as there is no pin muxing between them. Requirement of S2 switch to OFF, OFF, OFF, ON will be void as USB requires S2:1=ON ?

    Thanks & BR,
    Jam
  • HI Jam,

      In the HDK userguide it says if you are using Ethernet then only S2:4 should be enabled and all others have to be disabled. Even though Ethernet in RMII mode does not seem to have any pinmuxing with the USB host signals I will still follow the userguide. Using Ethernet and SCI will have no problem. 

  • Hi Charles,
    It means we are agreed on one point that USB and Ethernet can not work together. Actually I want to use these devices simultaneously, it would be appreciated if TI explains its reasons?so is there any workaround for it?

    Thanks in advance,
    JA
  • Hi Jam,
    Looking at the HDK schematic and RM46 pinmux I don't think there will be issue to have both USB host and RMII together.
  • Hi Charles,

    Actually if switch is set to enable USB host then USBH works and Ethernet does not work. If switch is configured to enable Ethernet as documented then Ethernet works but USB host does not work. Please pass this query to corresponding team. I shall be thankful to you. There is no pin muxing between USBH and Ethernet RMII.

    BR,

    Jam

  • Hi Jam,
    I will try to pass your query to the HDK owner.
  • Hi Jam,
    Sorry for the late response. The HDK owner confirms that you cannot have both USBH and EMAC at the same time on the HDK.
  • Hi Charles,

    Thanks a lot.

    Br,

    Jam