Hi Charudatta,
If you will use SCI0 and LIN PHY, please use S0L0RR[2:0] = 0b000 or 0b100.
In that case, the command will be MODRR0=0x00; . Since this is default value after reset, this command is not necessary, but we should use it to be sure.
You need also configure LIN PHY and SCI module.
Very simple example for LIN could be found here:
https://community.freescale.com/docs/DOC-93792
Note: This example code is for S12G family and CW5.1. Therefore, the project cannot be used directly. It is just rather for inspiration. The C code should be compatible with exceptions in SCI baud rate, SCI interrupt vector and external LIN PHY.
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!
-----------------------------------------------------------------------------------------------------------------------