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.

Data from EVM ICE V2 BIOS Examples using UART3

Hi, I'm using the ICE V2 EVM and in the example code for I2C_LED for instance, UART3 is used for output. I have a couple of questions:

1) Where is UART3 mode config set for pins MII1_RXD2 and 3? I don't see it in the MUX_CONFIG icev2Mux[] structure. Shouldn't there be a "001" written to bits 2-0 of register 0x934 and 0x938?

2) How do I see the data from UART3, as it appears to be shared with the JTAG on the USB connection through the FT2232 chip ? I've loaded the FTDI D2xx driver and have a terminal open at 115k baud on the USB com port.

There's nothing that I could find in the Wiki's about this UART3 port.

Thanks.

  • Bob D. said:
    How do I see the data from UART3, as it appears to be shared with the JTAG on the USB connection through the FT2232 chip ? I've loaded the FTDI D2xx driver and have a terminal open at 115k baud on the USB com port.

    The FT2232 chip has two ports. JTAG uses port A, the uart is connected to port B.  See also this wiki entry.

  • Bob D. said:
    Shouldn't there be a "001" written to bits 2-0 of register 0x934 and 0x938?

    Correct. Since I couldn't easily locate the relevant the source code (just a Windows-based SDK installer, I use Linux) I can't comment on where this config might be done, but using JTAG you can inspect those registers to confirm whether or not it has been done, and if you have trouble locating where exactly the setup is being done you can put a watchpoint on one of them.

  • Once I enabled the MUX pins for UART3 I was able to get serial data from the USB port while sharing the connection with the JTAG. Was not setting up UART3 just a bug in the SDK files? There seems to be a lot of info going out to UART3. Surprised it wasn't working out of the box.
  • Hello,

    I'm surprised it didn't work out of the box for you. Can you check out with the pre-built binaries? Proper testing is done before releasing the SDK.

    On the PinMux, I'm afraid it's done in another way. UartOpen(osdrv_uart.c)-> UARTInit(plat_uart.c)->UARTPinmux

    Regards,
    Vinesh