AnsweredAssumed Answered

About the modification of UART1 pins used in DDR-Stress-tester for i.MX6DL

Question asked by yuuki on Mar 17, 2015
Latest reply on Mar 18, 2015 by yuuki

Dear all,

 

We want to run DDR Stress Tester on the our original iMX6DL board.
However, in our board, USB_OTG is not implemented.
And, SD3_DAT6/ALT1(RX) and SD3_DAT7/ALT1(TX) are used as UART1.

 

DDR_Stress_Tester_V1.0.2_UART1_for_SDboot&JTAG.zip uses CSI0_DAT10/ALT3 and CSI0_DAT11/ALT3 as UART1.
It is necessary for us to modify it to use following pins of UART1.
- RX:SD3_DAT6/ALT1
- TX:SD3_DAT7/ALT1

 

Therefore, I got a source code of the DDR_Stress_Tester_V1.0.2.zip from FSL local FAE.

 

For UART1 pins, we made the following modifications.

 

iMX6_DDR_Stress_Tester_source\src\mx6dlのhardware.c

[Before]
#elif UART1_1
    /* UART1 TXD */
    writel(ALT3, IOMUXC_SW_MUX_CTL_PAD_CSI0_DAT10);
    /* UART1 RXD */
    writel(ALT3, IOMUXC_SW_MUX_CTL_PAD_CSI0_DAT11);
    // daisy chain setup
    writel(0x1, IOMUXC_UART1_IPP_UART_RXD_MUX_SELECT_INPUT);

 

[After]
#elif UART1_1
    /* UART1 TXD */
    writel(ALT1, IOMUXC_SW_MUX_CTL_PAD_SD3_DAT7);
    /* UART1 RXD */
    writel(ALT1, IOMUXC_SW_MUX_CTL_PAD_SD3_DAT6);
    // daisy chain setup
    writel(0x11, IOMUXC_UART1_IPP_UART_RXD_MUX_SELECT_INPUT);

 

DDR_Stress_Tester_V1.0.2.zip uses USB_OTG port.
It is necessary for us to switch from USBOTG to UART1.

 

Would you teach a modification file and the contents to change from USB_OTG to UART1?

 

Best Regards,
Yuuki

Outcomes