This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Enabling Drivers: Difference between SCI and LIN/SCI2 driver with RM48

Other Parts Discussed in Thread: RM48L952, HALCOGEN

Hi,

I am using a RM48L952 and I am using HALCoGen to set it up. In my DataBus I have a SCITX and a SCIRX. How can I know if I should enable the SCI driver or the LIN/SCI driver. What is the difference between these two drivers. It seems that LIN is used for a specific purpose but I can't tell.

Regards,

Angel

  • Angel,
    On that device you have a LIN/SCI module. HalCoGen calls this "SCI2" if you use it as a SCI.
    SCI is probably what you want if you aren't sure about LIN. SCI is the basic 'UART'.
    LIN is mainly used in automobiles and is a lower class (data rate) than CAN and can use cheaper wiring.
    The way it's implemented it's a UART plus some special logic in front - this is why the one module is "SCI/LIN".
    In SCI mode it's a basic UART. In LIN mode it's a UART + Extra LIN logic to make it talk on a LIN network.
    -Anthony