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.

Hercules RM46 HDK + 2 or more UART + I2C + EMAC

Other Parts Discussed in Thread: HALCOGEN, RM46L852

iHi,

I'm working on a robotic project that uses two or possibly more motor controller MCUs which need to be connected through a serial interface. The system must also be connected through Ethernet. Some peripherals are connected through a 400khz I2C bus. My request is the list of pins to enable in Halcogen or better yet a Halcogen file :)

I saw that SCI and SCILIN pins are present but the debugger uses SCILIN. Are there any more serial interfaces available? If not what are the other options to debug?

  • Andreas,

    On RM46L852 you have one LIN module with standard SCI support and one standard SCI.
    So 2 SCIs are available for your application.

    What do you mean by "debugger uses SCILIN"? 

  • Jean-Marc,

    I was referring to the Serial interface over the XDS100 v2 USB emulator.

    Is there a way to extend the available SCIs?

    Regarding my original question, which pins need to be enabled in Halcogen to have SCI, I2C and EMAC functional at the same time?

  • Andras,

    The LIN/SCI is connected to the FTDI chip on the HDK but is not used for emulation. It is just for convenience to be able to access the device via a USB to SCI interface.
    The LIN_TX and LIN_RX are available on the J11 connector. It is possible to  disconnect the LIN from the FTDI by removing the two 0 Ohm resistor R122 and R123.

    On RM42L852ZWT package some signals are multiplexed. Halcogen provides an easy way to configure the Pin Multiplexing module.
    Once in Halcogen, select the PINMUX TAB. 
    On the top, there is a section named Enable/Disable Peripherals.
    Select SCI. RMII or MII, I2C and click on "List Conflicts"
    If there is any incompatibility, Halcogen will flag each on them. I've tried this configuration and no conflict was flagged.

    The detail of the multiplexing on this device is available in the device datasheet (SPNS185A) in paragraph 2.2