Discovery kit with 1 ghz stm32mp135fa mpu (42 pages)
Summary of Contents for ST STM8A-DISCOVERY
Page 1
STM8A-DISCOVERY Discovery kit for STM8A microcontrollers Introduction The STM8A-DISCOVERY helps you discover the STM8AF and STM8AL automotive microcontroller family features and develop your applications through two dedicated application boards that can be connected together via a LIN network. The STM8AF board can perform both CAN and LIN communications with the MCU powered at 5 V and is ready to be connected into a network with its integrated transceiver.
Conventions UM1574 Conventions Table 1 provides the definitions of some conventions used in the present document. Table 1. ON/OFF conventions Convention Definition Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not fitted Jumper JPx 1-2 Jumper is fitted between pins 1 and 2 Jumper JPx 2-3 Jumper is fitted between pins 2 and 3 Solder bridge SBx ON...
UM1574 Quick start 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.
Features UM1574 Features The STM8A-DISCOVERY offers different features combined with STM8AF and STM8AL boards: STM8AF and STM8AL common board features: ● On-board ST-LINK/V2 included for debugging and programming ● Board power supply: through 5 V USB bus ● Internal dual ST662A step-up converter building the 12 Vdc when powered by USB port ●...
STM8AL boards. The embedded ST-LINK/V2 can be used to program/debug the MCU on the board and supports SWIM for STM8 devices. The ST-LINK/V2 must be connected with the dual type A to mini-B USB cable provided in the blister. Caution: First connect the dual type A on the PC side (both type A connectors must be plugged in) then connect the mini-B USB to the board (STM8AF or STM8AL boards).
Hardware and layout UM1574 4.1.2 Debugging STM8A-DISCOVERY The STM8A-DISCOVERY is composed by a STM8AF board connected to a STM8AL board. A PC can be connected to the STM8AF or STM8AL board side while programming/debugging the STM8AF5288T or the STM8AL3L68T. ●...
When the STM8AF board is connected to the STM8AL board, different schemes are possible: ● The USB cable is used to simply provide the power supply to the STM8A-DISCOVERY. In that case, it can be connected either to the STM8AF or STM8AL board side. ●...
Page 12
STM8AF and STM8AL boards. This device is a power SS0-36-pin package. Figure 5 illustrates the L99PM62GXP block diagram. For further information on the L99PM62GXP device and to explore its numerous capabilities, please refer to datasheet available at www.st.com. 12/48 Doc ID 023645 Rev 1...
The STM8AF board is designed around the STM8AF5288T microcontroller in a 48-pin LQFP package. Figure 6 illustrates the connections between the STM8AF5288T and the different peripherals (ST-LINK/V2, L99PM62GXP IC, push buttons, LED and connectors). Figure 6 Figure 7 help you locate these features on the STM8AF board.
UM1574 Hardware and layout 4.2.1 STM8AF5288T microcontroller This automotive 8-bit MCU has 64 Kbytes Flash, 2 Kbytes data EEPROM, 10-bit ADC, timers, LIN, CAN, USART, SPI, I2C and operates from 3 to 5.5 V. Figure 9. STM8AF5288T package STM8AF5288T 64 Kbytes of Flash memory 2 Kbytes of EEPROM 4 Kbytes of RAM LQFP48 7x7...
● LD1 COM: LD1 default status is red. LD1 turns to green to indicate that communications are in progress between the PC and the ST-LINK/V2. ● LD2 PWR: red LED indicates that the board is powered and that 5 V is output from L99PM62GXP power management IC.
State Description SB1 (Reserved) Reserved, do not modify. NRST signal of STM32F103C8T6 (ST-LINK/V2) is not connected to GND. (STM_RST) NRST signal of STM32F103C8T6 (ST-LINK/V2) is connected to GND. MCO clock from STM32F103C8T6 is not connected to PA1 (OSC_IN) of STM8AF5288T.
UM1574 Hardware and layout 4.2.5 STM8AF board jumpers selection Table 3. STM8AF board jumper selection Jumper State Description Flash mode selected (LIN/FLASH) LIN communication enabled. Flash mode selected (CAN/FLASH) CAN communication enabled. Standard operation, 5 V connected to the V of the microcontroller.
Low-side driver output (2 typ.) REL1 Low-side driver output (2 typ.) REL2 Digital ground External power supply (12 Vdc typ.) 1. For additional information on L99PM62GXP device connectivity, please refer to product datasheet available at www.st.com. 22/48 Doc ID 023645 Rev 1...
The STM8AL board is designed around the STM8AL3L68T microcontroller in a 48-pin LQFP package. Figure 11 illustrates the connections between the STM8AL3L68T and the different peripherals (ST-LINK/V2, L99PM62GXP IC, push buttons, LED, I measurement circuitry, LCD and connectors). Figure 11 Figure 12 help you to locate these features on the STM8AL board.
LD1 COM: LD1 default status is red. LD1 turns to green to indicate that communications are in progress between the PC and the ST-LINK/V2. LD2 PWR: red LED indicates that the board is powered and that 3.3 V is generated by the regulator supplied by the L99PM62GXP power management IC.
UM1574 Hardware and layout Figure 16. STM8AL board I measurement circuit IDD Measure V DD MAX9938FEUK+ IDD_Measurement 2(1%) 74H1G66STR 2K(1%) 74LX1G04CTR 100nF I DD_CNT_EN IDD_WAKEUP STS4 DPF20L M74HC4060TTR Oscillator frequency 30 KHz MS31059V1 ● Run mode In Run mode, I current is measured using the operational amplifier MAX9938FEUK+ (U8) ...
Hardware and layout UM1574 The measurement timing is given in Figure 17. In Low power modes, the 2 K resistor is connected when the U5 switch goes off after entering Low power mode. The Q13 output of the counter allows connection of the 2 K resistor when the current I becomes very low.
UM1574 Hardware and layout 4.3.5 STM8AL board LCD (16 segments, 4 commons) This LCD allows the STM8AL3L68T to display any information on four 14-segment digits and 4 BARs, using all COMs. (See the LCD segment mapping in Figure 18 and pin connections in Table 7).
State Description SB1 (Reserved) Reserved, do not modify. OFF NRST signal of STM32F103C8T6 (ST-LINK/V2) is not connected to GND. (STM_RST) NRST signal of STM32F103C8T6 (ST-LINK/V2) is connected to GND. MCO clock from STM32F103C8T6 is not connected to PA2 (OSC_IN) of STM8AL3L68T.
Low-side driver output (2 typ.) REL1 Low-side driver output (2 typ.) REL2 Digital ground VBAT External power supply (12Vdc typ.) 1. For additional information on L99PM62GXP device connectivity, please refer to product datasheet available at www.st.com. 34/48 Doc ID 023645 Rev 1...
Figure 27. STM8AL board MCU ST_LINK_SWIM Not Fitted green NRST NRST Close to XTAL & MCU 10nF 6.8pF 6.8pF MC306-G-06Q-32.768 (manufacturer JFVNY) 20pF Must be close to the Crystal and ON 16MHz NRST/PA1 IDD_WAKEUP PA4_LCDCOM0 20pF SB10 PA5_LCDCOM1 IDD_CNT_EN PA6_LCDCOM2 USART1_TX PA7_LCDSEG0 USART1_RX...
UM1574 Revision history Revision history Table 12. Document revision history Date Revision Changes 15-Nov-2012 Initial release. Doc ID 023645 Rev 1 47/48...
Page 48
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
Need help?
Do you have a question about the STM8A-DISCOVERY and is the answer not in the manual?
Questions and answers