
UM1574
Quick start
Doc ID 023645 Rev 1
7/48
2 Quick
start
The STM8A-DISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate
and start a development with STM8AF and STM8AL microcontrollers family devices.
STM8AF devices offer high performance and full automotive network connectivity with high
speed CAN and LIN master/slave modes communications. STM8AL devices offer high
performance with ultra-low power management. Both comply with automotive qualification
and conform to AEC-Q100 rev G.
For more information on the STM8A-DISCOVERY and for demonstration software, visit
www.st.com/stm8a-discovery.
2.1 Getting
started
1.
Connect CN3 and CN4 on the STM8AF board to CN3 and CN4 on the STM8AL board.
2.
Connect both type A connectors of the USB cable to a PC.
3.
Then connect the mini-B connector of the USB cable to the STM8AF board.
4.
All LEDs blink once on the STM8AF board and twice on the STM8AL board, then the
LIN communication between both boards starts.
5.
Turn the RV1 trimmer on the STM8AF board to adjust the value from 0 to 100 on the
STM8AL board LCD through the LIN bus.
6.
Push button USER1 on the STM8AF board to sequentially display the LCD bars on the
STM8AL board through the LIN bus. Push button USER2 on the STM8AF board to
sequentially switch them off one by one.
7.
Push button USER1 on the STM8AL board to sequentially switch on green LEDs LD4,
LD5, LD6 and LD7 on the STM8AF board through the LIN bus. Push button USER2 on
the STM8AL board to sequentially switch them off one by one.
8.
To perform or modify the Discover project related to this demo, visit www.st.com/stm8a-
discovery.
9.
You can discover the STM8AF and STM8AL features, download and execute programs
proposed in the list of projects.
10. You can then develop your own application using the available examples.
2.2 System
requirements
●
Windows PC (XP, Vista, 7)
●
USB cable (dual type A to mini-B) - included
2.3
Development toolchains supporting the STM8A-DISCOVERY
●
IAR: EWSTM8
●
STMicroelectronics: STVD