Hi,
I am newer and want to learn how to use mpc5748g-gw board
I read user guid about uart_pal_mpc5748g example and s32dk_mpc5748g_usermanual.pdf
that says, "uart functionality implemented over linflexd peripheral"
but i dosen't have linflexd peripheral, just have rs232 serial cable and dupont wire
i wiring them by looking reference pin picture, like below..
wire p8 and gnd to rs232 serail cable
which demo i can learn from ??
Solved! Go to Solution.
Hi,
LINFlex module implemented on MPC5748G supports LIN and UART mode. These communication interfaces use different physical layer.
UART:
LIN:
You can find a lot of resources about LIN and UART on the web.
SDK in S32DS supports UART mode only. There's no LIN driver in the SDK. So, you should use uart_pal_mpc5748g example and your RS232 cable should be connected to signals RS232-RX and RS232-TX.
Regards,
Lukas
Hi,
LINFlex module implemented on MPC5748G supports LIN and UART mode. These communication interfaces use different physical layer.
UART:
LIN:
You can find a lot of resources about LIN and UART on the web.
SDK in S32DS supports UART mode only. There's no LIN driver in the SDK. So, you should use uart_pal_mpc5748g example and your RS232 cable should be connected to signals RS232-RX and RS232-TX.
Regards,
Lukas
Hi, lukaszadrapa
Thanks for reply me very much !
Yeah, i loaded and builded uart_pal_mpc5748g example in s32sdk r2.1,
configured LINFlexd10 receive data and transmit data p5/p4 as input/output,
configured uart properties:
baud rate: 115200
and 8-n-1
but uartAssist received data displayed problem... like below
Hi,
it looks like you are receiving something, so it will be related to clock configuration or to BAUD rate settings. I would try to decrease the speed (like to 9600 or so) to see if it helps and I would use an oscilloscope to see what is the real baud rate. This could help to find the root cause.
Regards,
Lukas
Thanks
you are right, it works.