AnsweredAssumed Answered

HOW TO TEST LINFLEXD_1, UART CONNECTION PINS FOR TX AND RX

Question asked by RAMANJINEYULU THOTA on Jan 1, 2016
Latest reply on Jan 4, 2016 by Martin Kovar

Hi all,

Am currently working on MPC5744P evaluation board. I have tested LinflexD_0 for UART it's working fine.

I have seen the output SCI DB9 connector for LinflexD_0 UART.

Now my question is how to test second UART means LinflexD_1 UART testing?

Please can any one share the screen shots of LinflexD_1 UART connections in motherboard.

I have written the code for LinflexD_1 PD9 and PD12 pins I have used.

 

void SIUL2Init(void)
{
    SIUL2.MSCR[22].R = 0x22800001;    // PB6 as CLK_OUT (on EVB it is B9)


    /* Configure pad PD9 for LIN1TX */
    SIUL2.MSCR[57].B.SSS = 2;    /* Pad PD9: Source signal is LIN1_TXD  */
    SIUL2.MSCR[57].B.OBE = 1;    /* Pad PD9: Output Buffer Enable */
    SIUL2.MSCR[57].B.SRC = 3;    /* Pad PD9: Maximum slew rate */
    /* Configure pad PD12 for LIN1RX */
    SIUL2.MSCR[60].B.IBE = 1;    /* Pad PD12: Enable pad for input - LIN1_RXD */
    SIUL2.IMCR[166].B.SSS = 2;   /* LIN1_RXD: connected to pad PD12 */

 

}//SIUL2Init

Thanks,

Ramanjineyulu Thota.

Outcomes