| Electronic Components Datasheet Search |
|
AN1278 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1278 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 44 page ![]() 19/44 LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS #define BAUDRATE #define BRR #define ExPR Note: Here is a list of baudrates and corresponding settings of (BRR,ExPR) depending on the CPU frequency. Note that there are some small differences in the SCI prescaler between for example the ST72324/321/521 and ST72314/334 derivatives. As a result the value of BRR and ExPR may also depend on the MCU derivative. Table 8. Example of (BRR,ExPR) values versus baudrate and fCPU (*): fCPU=fOSC/2 if PLL is not used #define ID_TABLE_SIZE #define BAUDRATE Description LIN communication speed in bit/s #define BRR, ExPR Description Needs to be defined only if SCI is defined. Set both registers to obtain the baudrate previously defined. BRR is the “baudrate register” and ExPR will set the same value for both the “extended re- ceive prescaler division register” and the “extended transmit prescaler division register”. Refer to the datasheet of the MCU you are using (“Serial Com- munication Interface” chapter). ST72x314/334/124 ST72x324/321/521 fCPU(*) 8MHz 4MHz2MHz8MHz4MHz2MHz bit rate(bit/s) (0xD2,0x00) (0xC9,0x00) (0xC0,0x00) (0xDB,0x00) (0xD2,0x00) (0xC9,0x00) 4,8k 9,6k (0xC9,0x00) (0xC0,0x00) (0x00,0x0D) (0xD2,0x00) (0xC9,0x00) (0xC0,0x00) 19,2k (0xC0,0x00) (0x00,0x0D) high quantifi- cation error (0xC9,0x00) (0xC0,0x00) high quantifi- cation error 20k (0x00,0x19) high quantifi- cation error high quantifi- cation error (0x00,0x19) high quantifi- cation error high quantifi- cation error #define ID_TABLE_SIZE description number of LIN frames to be handled by the applica- tion. See Section 3.4 |
|
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 |
| 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 |