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.
Hi,
If you want to test LINFLEX1 please follow these steps:
Other connectors (CAN, FlexRay and others) cannot be used for LIN/Uart testing. I am sending photo in attachment. Please ignore cables which connect LED. I am also sending you simple source code, which shows, how to configure LIN and SIU and also how to send message.
Regards,
Martin