| Zakładka z wyszukiwarką danych komponentów |
|
AN4178 Arkusz danych(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4178 Arkusz danych(HTML) 7 Page - STMicroelectronics |
|
7 / 13 page ![]() AN4178 LIN demonstration software Doc ID 23745 Rev 1 7/13 4 LIN demonstration software In order to run this demonstration, you must have two STM8AF boards from two STM8A- DISCOVERY bundles. This demonstration does not require any additional hardware, but you will need to change a solder bridge configuration on one board. Before running this demonstration, make sure to load the LIN slave software and the LIN master software in each of the two STM8AF boards. 4.1 Getting started 1. Set the SB8 solder bridge to ON by soldering it on the first STM8AF board. This board will be the STM8AF master board. 2. Connect CN3 and CN4 on the first STM8AF board to CN3 and CN4 on the second STM8AF board. 3. Connect both type A connectors of the USB cable to a PC. 4. Connect the mini-B connector of the USB cable to the second STM8AF board. This board will be the STM8AF slave board. 5. Load the STM8AF_LIN_Slave.s19 file into the STM8AF slave board using the STVP tool. 6. Disconnect the STM8AF slave board from the mini-B connector of the USB cable. 7. Connect the mini-B connector of the USB cable to the STM8AF master board. 8. Load the STM8AF_LIN_Master.s19 file into the STM8AF master board using the STVP tool. 9. All LEDs should blink once on STM8AF LIN master board, and all LEDs should be switched on for one second on the STM8AF LIN slave board. The LIN communication then starts between both boards. 10. Push button USER1 on the first STM8AF board in order to sequentially switch on green LEDs LD4, LD5, LD6 and LD7 on the second STM8AF board through the LIN bus. Push button USER2 on the first STM8AF board to sequentially switch them off one by one. 11. Push button USER1 on the second STM8AF board in order to sequentially switch on green LEDs LD4, LD5, LD6 and LD7 on the first STM8AF board through the LIN bus. Push button USER2 on the second STM8AF board to sequentially switch them off one by one. Note: If you want to reuse the STM8AF Master board to run the initial demonstration delivered with the STM8A-DISCOVERY and described in AN4101, you will need to set the SB8 solder bridge to OFF by unsoldering it. |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |