Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1278 Datasheet(PDF) 28 Page - STMicroelectronics

Part # AN1278
Description  Many mechanical components in the automotive sector have been replaced
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1278 Datasheet(HTML) 28 Page - STMicroelectronics

Back Button AN1278 Datasheet HTML 24Page - STMicroelectronics AN1278 Datasheet HTML 25Page - STMicroelectronics AN1278 Datasheet HTML 26Page - STMicroelectronics AN1278 Datasheet HTML 27Page - STMicroelectronics AN1278 Datasheet HTML 28Page - STMicroelectronics AN1278 Datasheet HTML 29Page - STMicroelectronics AN1278 Datasheet HTML 30Page - STMicroelectronics AN1278 Datasheet HTML 31Page - STMicroelectronics AN1278 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 44 page
background image
28/44
LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS
The application can also be woken up by a sensor connected to one pin of the ST7 and then
should also wake up the whole LIN network. For this a wake-up frame has to be sent, which is
done by the “
LIN_SendWakeUpSignal()” function. This function is therefore inserted in the ap-
plication wake-up interrupt:
The software is ready!
4.2 IMPLEMENTATION ON THE ST72334N4 - HARDWARE SCI
4.2.1 Step by Step Configuration
4.2.1.1 lin_config.h
@interrupt void PORTS_0_Interrupt(void)
{
unsigned char i;
i=250;
while(i--);
if(!(PADR&0xFE))
{
PAOR&=0xFE;
LIN_SendWakeUpSignal();
}
}
Setting group
Comments
Text line in lin_config.h
CPU operating frequency
An external 16 MHz resonator is
used. As a result the internal
CPU frequency is 8 MHz. So
“FCPU” is set to 8000000.
#define FCPU
8000000
Communication peripheral
The ST72334N4 has an on chip
SCI peripheral. As a result “SCI”
is defined, “UART_TIMERA” and
“UART_TIMERB” are comment-
ed out.
//#define UART_TIMERA
//#define UART_TIMERB
#define SCI
LIN RX and LIN TX pin definitions
These are not needed when us-
ing an on-chip SCI peripheral. All
symbols are commented out.
//#define UART_IC1
//#define UART_IC2
//#define UART_OC1
//#define UART_OC2
//#define LIN_PORT_ADD
0x04
//#define LIN_RX_PINNB
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com