Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN4178 Arkusz danych(PDF) 7 Page - STMicroelectronics

Numer części AN4178
Szczegółowy opis  LIN communication with two STM8AF boards of STM8A-DISCOVERY
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4178 Arkusz danych(HTML) 7 Page - STMicroelectronics

Back Button AN4178 Datasheet HTML 3Page - STMicroelectronics AN4178 Datasheet HTML 4Page - STMicroelectronics AN4178 Datasheet HTML 5Page - STMicroelectronics AN4178 Datasheet HTML 6Page - STMicroelectronics AN4178 Datasheet HTML 7Page - STMicroelectronics AN4178 Datasheet HTML 8Page - STMicroelectronics AN4178 Datasheet HTML 9Page - STMicroelectronics AN4178 Datasheet HTML 10Page - STMicroelectronics AN4178 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 13 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Arkusz danych Pobierz

Go To PDF Page


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


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