Specifications
LIN Bus 2.0 Reference Design 3
Contents
4.6.5.1 RAM Allocation ....................................................................................36
4.6.6 Frame Definition.....................................................................................................37
4.6.7 Response_Error Bit Definition................................................................................37
4.6.8 Node Information ...................................................................................................37
4.6.9 Adding the Main Application ..................................................................................37
4.6.10 Special Features ....................................................................................................38
4.6.10.1 Power Management.............................................................................38
4.6.10.2 Node Configuration..............................................................................38
4.6.10.3 Implementing Event-Triggered Frames ...............................................38
4.7 LIN 2.0 Slave Design API ........................................................................................................39
4.8 Time Study...............................................................................................................................40
4.8.1 ISR and Function Timing .......................................................................................40
4.8.2 Calculation of CPU Overhead Over a Frame.........................................................41
4.8.3 Maximum Interrupt Latency ...................................................................................41
5.1 Demonstration Projects Introduction ...............................................................................................43
5.2 LIN Description File (LDF)........................................................................................................43
5.2.1 Description.............................................................................................................43
5.2.2 Example LDF .........................................................................................................44
5.3 Example Project for Master (CEM) ..........................................................................................47
5.3.1 Description.............................................................................................................47
5.3.2 Example Master Program ......................................................................................47
5.4 Example Project for Slave 1 (CPM) .........................................................................................52
5.4.1 Description.............................................................................................................52
5.4.2 Example Slave 1 Program .....................................................................................52
5.5 Example Project for Slave 2 (DIA) ...........................................................................................54
5.5.1 Description.............................................................................................................54
5.5.2 Example Slave 2 Program .....................................................................................54
6.1 Board Schematics ..............................................................................................................................57
6.1.1 Power Supply.........................................................................................................57
6.1.2 Master....................................................................................................................58
6.1.3 Slave 1...................................................................................................................59
6.1.4 Slave 2...................................................................................................................60
7.1 Board Bill of Materials .......................................................................................................................61