Hello Anıl Onur Canbaz,
Please notice in the user manual, table 430 that you can configure the UART in order to work as an LINBUS. The thing of LIN protocol is that at the beginning you have to send a 13 bit synch break, apart from that all the packages are the same as the UART. By activating the bit LINMODE in the CFG register you configure the UART to generate the synch break.

Unfortunately, we don't have a example of this but definitely you can use one of the examples of the UART as a guide for your project with LIN.
Link to the user manual
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------