Hi Chrudatta,
Thank you for more information.
If you use LIN PHY in MCU, you need any LIN PHY also on opposite side.
However as you already mentioned, the misunderstanding probably comes from your limited knowledge of hardware.
LIN bus and RS232 buses are not compatible technologies.
https://en.wikipedia.org/wiki/RS-232
https://en.wikipedia.org/wiki/Local_Interconnect_Network
You will probably need some RS-232 line driver like MAX232 or something faster (like ICL3225E, MAX3387E, …) instead of LIN PHY:
http://datasheets.maximintegrated.com/en/ds/MAX220-MAX249.pdf
If your second node is for example PC, you could use directly converter from SCI(UART) to USB like FTDI FT232R, Profilic PL2303 or SiLabs CP2102,…
In both cases, you could use SCI1 (PT0,1 or PT4,5). If you want use SCI0, you have to route SCI0 signals to external pins. For example:
MODRR0 = 0x0E; //route IIC0 to PJ0,1; SCI1 to PT4,5; SCI0 to PS0,1; LIN PHY to PT0,1
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------