| 数据搜索系统,热门电子元器件搜索 |
|
AN4178 数据表(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4178 数据表(HTML) 2 Page - STMicroelectronics |
|
2 / 13 page ![]() Contents AN4178 2/13 Doc ID 23745 Rev 1 Contents 1 Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Implementing a LIN master node with STM8AF board . . . . . . . . . . . . . 4 2.1 STM8AF microcontroller LINUART and USART features for LIN master . . 4 2.2 Software algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2.1 LIN state machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2.2 LINUART interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Implementing a LIN slave node with STM8AF board . . . . . . . . . . . . . . . 5 3.1 STM8AF microcontroller LINUART features for LIN slave . . . . . . . . . . . . . 5 3.2 Software algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2.1 LIN state machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2.2 LINUART interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4 LIN demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.2 STM8AF LIN master software description . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2.1 STM8AF peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2.2 Software modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2.3 STM8S/A standard peripheral library modules . . . . . . . . . . . . . . . . . . . . 9 4.3 STM8AF LIN slave software description . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.3.1 STM8AF peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.3.2 Software modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.3.3 STM8S/A standard peripheral library modules . . . . . . . . . . . . . . . . . . . 10 4.4 Debugging with ST visual develop (STVD) . . . . . . . . . . . . . . . . . . . . . . . 11 4.4.1 Downloading the software tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.4.2 Opening the workspace and selecting the correct project . . . . . . . . . . . 11 4.4.3 Rebuilding and debugging the project . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |