AN891 - Interrupt-based PIC18 Master LIN Driver in C for Enhanced USART - Application Notes - Details
  Application Notes/
Technical Brief
Application Notes
Application Notes by Release Date
Application Notes (alphabetical)
Application Notes - Source Code
SPICE Models
AN891
Title: Interrupt-based PIC18 Master LIN Driver in C for Enhanced USART
Name: AN891
Date: 12/23/03
Author: Caio G?bel
Description: The LIN protocol was originally designed by a group of European carmakers to be used as a low-cost, short distance, low-speed network for automotive applications (see Appendix C: “References”).

The main characteristics of the LIN protocol are:
• Serial communication
• Single master, multiple slave concept
• Low-cost, one-wire implementation
• Speed up to 20 Kbit/s
• Self-synchronization (on the slave side)
• Ensured latency time in transmission

This application note presents a Microchip Application Maestro™ compatible interrupt driven implementation of the Master Side Driver of the LIN protocol in a PIC18F device in C language (Microchip and HI-TECH ‘C’ compatible), which takes advantage of the new features provided by the PIC18 Enhanced USART module.
Keywords: Master LIN Driver, PIC18, Enhanced USART, Interrupt
 Related Information
 
 App Notes and Source Code
  AN891
  AN891 Source Code