Home
STM8L1526-EVAL evaluation board
Contents
1. lt MC EmergencySTOP EMERGENCY STOP GND 2 MCUH GND 6 MC_UL GND VH GND 10 1 MC VL GND m WH GND R60 R77 MC_WL BUS VOLTAGE AM ANY MC BusVoltage lt MC_CurrentA CURRENT A GND 0 INA CURRENT GND 100K CURRENT C GND NTC BYPASS RELAY GND DISSIPATIVE BRAKE GND R59 ppg 5V POWER Heatsink Temperature ANY ANY MC HeatsinkTemperature gt lt MC CurrentB PFC SYNC Vdd Micro Ay INA PFCPWM GND 100nF Encoder A GND Encoder B Encoder Index MC connector d PAG R51 R63 PAZ gt lt MC CurrentC Y 1 Ry 0 Default setting Open EnIndex C54 N A R76 MC_PRCsync2 p EDI we 4 E JP4 PDO R56 0 p Default setting Open MC PFCsyncl AN 1 O C46 36 C35 C39 NA 10nF NA N A N A Title STM8L1526 EVAL Motor Control Number MB818 Rev 1 5 Date 7 31 2009 Sheet 70 of 1 4 TWAA 92S 1 18INLS 97 07 15741 CI 90d Figure 29 EEPROM and temperature sensor CECSMB 27 0 029 SDA VSS WC El VCC C84 M24C64 FDWSTP e ep SDA VDD SCL 0 OSANT Al GND A 5 75 2 Temperature sensor STMicroelectronics Title STM8L1526 EVAL EEPROM amp Tem
2. 4 TWAA 92S 18115 97 06 15741 CI 90d 21 LCD glass connector CNS 58 2 59 4 al 524 6 5 PC7 LCDSEG25 9 25 8 Potentiometer PD6_LCDSEG20 0 10 SDeard_detect PD7_LCDSEG21 3 1951 12 JOY UP PB6_LCDSEGI6 56 SPLMOSI gt PB7_LCDSEGI7 S17 16 PB2_LCDSEG12 17 PB3 LCDSEGI3 51 PD2_LCDSEG8 23 PD3 LCDSEG9 SPI MISO MC EnB 513 9 Audio S8 22 LED 55 59 24 lt Measurement 5 4 27 54 26 MicroSD CS 4 LCDSEG5 59 5 28 Flash_CS PAT LCDSEGO 0 7 50 30 5 51 32 Rref PDI LCDCOM3 35 COMA 34 CMP Cref PA6 LCDCOM2 COM3 36 IED gt Header 18 2 CN6 531 2 z 530 4 PE7_LCDSEG27 2 3 527 6 IDD_CNT_EN PE6_LCDSEG26 9 526 8 WAKEUP _PC3_LCDSEG23 gt 523 10 gt LCDSEG22 5 3j3 52 12 83232 PD5 5 19 15 519 14 JOY_RIGHT PD4_LCDSEG18 7 518 16 lt JOY DOWN __PB5_LCDSEGI5 gt 55 5 LCDSEGIA gt 51 14 20 LCDSEGI 1 23 511 22 MC _ gt LCDSEGIO 25 510 24 MC EnA PDO_LCDSEG7 27 57 26 _ _ 1 gt L PESCDSEGS 1 28 PE2
3. 27 3 10 SWIM connector CN12 and CN16 27 A di j ck 27 3 12 MicroSD connector DE eR ET RR RE RR 28 3 13 BNC connector 28 4 Schemall6S 3 2 4883 3 CR teh do a o RR e e 29 Appendix STM8L1526 EVAL I O assignment 43 Revision history 45 ky Doc ID 15437 Rev 1 3 46 Features STM8L1526 EVAL 1 Features 1 1 Hardware e Three 5 V power supply options power jack ST LINK USB connector or daughterboard e Audio speaker and microphone connected to the DAC and ADC of the STM8L152C6 1 GByte SPI interface MicroSD Card e 128Mbit SPI serial Flash e 12 compatible serial interface 64 KBit EEPROM and SMBusTemperature sensor e RS 232 communication transceiver e Inductor motor control connector e SWIM debug support ST LINK embedded e 122x32 dot matrix LCD connected to the SPI interface of the STM8L152C6 e Joystick with 4 direction control and selector e Reset and User button 4color LEDs and one bicolor LED consumption measurement circuit e LCD glass 28 x 4 segments 7 digits alpha numeric connected to the LCD driver inside the STM8L152C6 e Extension connector for daughterboard or wrapping board MCU voltage choice 3 3 V or adjustable from 1 65 V to 3
4. 709 the right Default setting eee PA1 is connected to ground when JP13 is set as shown to the right So the MCU 1 2 3 is kept on Reset when you connect STice to CN8 for debugging eee LCD glass module An LCD glass module MB821 with 8 digit liquid crystal display is mounted on the STM8L1526 EVAL evaluation board It can be connected to the LCD driver of the STM8L152C6 MCU or can work as a set of jumpers by mounting it in two possible positions position IO or position LCD Position IO peripherals USART IrDA MicroSD Card dot matrix LCD serial Flash LEDs joystick bicolor LED potentiometer MCU consumption measurement motor control and microphone shared with LCD glass are connected to the STM8L152C6 and the LCD glass is disconnected when LCD glass module is mounted on position IO as shown below default setting See Figure 5 Position LCD LCD glass is connected to the LCD driver of the STM8L152C6 and all peripherals shared with the LCD glass are disconnected when the LCD glass module is mounted on position LCD as shown below In this position as well as the LCD there are other resources available on the board 2C EEPROM or Key button depending on JP7 jumper position A Audio speaker amplifier or BNC depending on JP10 jumper position IR LED depending on JP6 jumper position See Figure 6 Doc ID 15437 Rev 1 ky STM8L1526 EVAL Hardware layout and configuration 2
5. 10 22 11 2 6 EEPROM 12 2 7 RS 232 and OA veest wha wa wad oe Verde deae 12 2 8 Motor control va dads be ei eh aux qr PRX Edad Rx ex rs 13 2 9 MicroSD Card 15 2 10 15 Serial Flash A 15 2 12 Temperature sensor 15 2 13 Development and debug support 16 2 14 Display and input devices 17 215 100 measurement and comparator 18 216 OOmpalBlol 5 2 3 Eet 19 217 IBLEL 20 3 Connectors aka 21 3 1 232 c nnector ONT 21 3 2 Power connector ON2 sa esa oud 21 3 3 TFT LCD connector 21 3 4 Daughterboard extension connector CN4 and CN10 22 3 5 LCD glass connector CN5 6 24 3 6 Motor control connector 25 2 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Contents 3 7 STieB connector CNE ese cds 25 3 8 ST LINK programming connector 27 3 9 USB type B connector
6. 3 4 100 VDD Ul 5 IH HHH VCCA VCCB HH 2 7 Al Bl c ey 2 B2 ata GND DIR 10K SN74LVC2T45DCUT VDD 1 1 3V3 Greeg 1 2 RO 0 PA TEDI VDD 330 LD2 R48 0 Orangfe T 2 R47 mr PAS 680 PD2 BiD_LED 1 2 0 680 LDS 1 4 L 317EGW SS Blue R54 msg 0 680 5V LEDs Bi color LED 017 R72 5 100 2 Selection 43V3 2 855 0 4 S jos PD4 R39 0 3 i ABE IBIQ REMO 1 JOY LEFT AN Red JOY RIGHT PD5 R34 0 4 PD7 831 0 6 E R2 asses 80 ss Joystick Title STM8L1526 EVAL Peripherals Number MB818 Date 7 28 2009 Rev C 1 PCB SCH Sheet5 of 12 4 2 TWAA 92S1 181115 15741 CI 900 97 46 Figure 24 Power S E U20 TP3 211 MAX9938FEUK 33 5 021 45V LD 1086D2M33 a UV 3 1 2 R70 R50 PD3 3 3 2 T gt yo AN IDD Measurement Vin Vout 4 10K 0 E C67 i C19 GND VCC jvpb luF 2 VDD 10uF SN74LVCIG66DCKT zi 025 SN74LVCIGO4DC
7. 04 2 3 r 2727 ot g Subs LILILILILIS 825 5 enn CH RIB C27 CICICiIS 1 B9 0090 Rn RD L2 u u gu RZ RO LJ an DC5V OLI OLI OLI OLI O 548 5 p Audio Jack 9 6 7 lt Li L4 Li LI c a 818 M Bl Ut7 B2 9 S ADJ ADC IN3 PC7 Reset Joystic Key 14 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Hardware layout and configuration 2 9 2 10 2 11 2 12 MicroSD Card 1 GByte MicroSD Card connected to the SPI port of the STM8L152C6 is available on the board MicroSD Card detection is managed by standard I O port PD6 The LCD glass module must be mounted in the IO position for MicroSD Card Refer to Chapter 2 4 LCD glass module for details Analog input The BNC connector CN15 is connected to PFO of the STM8L152C6 as an external analog input or DAC output The 50 ohm terminal resistor can be enabled by closing solder bridge 586 A low pass filter can be implemented for the BNC connector by replacing R126 and C86 for ADC input or replacing R127 and C86 for DAC output with suitable resistor and
8. 270 R50 55 203 10K _ c67 05 m GND vcc 3 2 SNHINCIGGDCKT mm 4 u25 2 8 SN74LVC1GOSDCKT VDD 67 2 1 1 5 5 5 123 lt 9 1 1005 L vee imi 3 92 Om 878 1193 Q 10K 5 9 14 pp 06 RS 49 ANDON Oscillator frequency 30KHz In Run mode IDD current is measured using MAX9938FEUK U20 connected to the 2ohm shunt resistor In this case IDD_CNT_EN remains at a high level during measurement and the jumper must be connected between pin 1 and pin 2 of JP11 In Halt mode the operational amplifier MAX9938FEUK 020 is connected on the 2 Kohm shunt resistor To measure a current corresponding to the Halt mode the procedure is 1 Configure ADC to measure voltage on IDD measurement pin Configure as interrupt input on falling edge Enter in Halt or active Halt mode with EN low LP WAKEUP falling edge wakeup the MCU after 150 ms Start ADC conversion as soon as possible after wakeup in order to measure the voltage corresponding to low power mode on 1 uF capacitor 6 Reset the counter by programming high to avoid 2 Kohm to be connected later on VDD MCU c RON In Halt mode the 2 K resistor is connected when T3 goes off after entering Halt mode Q12 output of the counter allows connection of the 2
9. 1 2 5 6 X EX PCS PCT 2 PDO 6 gt PD2 PD3 1 2 _ PAI B PA4 PAG 15 16 17 18 PDS D 29 21 22 PD7 PCI 23 24 25 2 Header 13 2 on the left 1 2 2 5 6 PB4 5 PB6 8 9 10 il 12 60 iB d PE2 PE3 15 16 5 1 PET D5V 19 20 VLCD 21 2 23 24 25 26 Header 13X2 on the right PA 0 71 0 71 7 gt oe TC PBp 7 gt 0 7 gt PDIO 71 TEM PD 0 7 gt Exension connector PET PFO gt Title STMSLI 526 EVAL Extension amp STice Number MB8 18 Rev C 1 PCB SCH Date 7 27 2009 Sheet7 2 TWAA 92S1 181115 15741 CI 900 97 26 Figure 26 LCD SD TWAA 92S 1 18INLS PB7 io SDcard detect gt lt SPLMISO 5 yS Z SPI SCK n c SER SPI MOSI 5 MicroSD 5 PJS008 2000 SMS064FF or SMS128FF MicroSD card 43V3 R68 43V3 07 INA 100nF CY 3 1 CLK 2 SID LCD CS 5 cs A R85
10. 55 We 5 dans us 2 4 BNC 8126 P RB gt TR2 gu 25 582 C ct eK PBO E co Bu RE EXT 5 exr ecd 3 L Ti g J 2 gt REA 5 amp PB4 Eu Eu is Audio OUTE 5 Pes MEL mi 28123 5 uM 5 1 gt RESET g kap PA PE4 14 CI oc En RU DE 3 GND 2 WP IDA 8 5 a DID 8 ADC_IN24 DAC OUT PFO L Jb Pro Suo Begun 5 a Cio R109 E 1 E 5 7 n nan c78 07 STLINK E 5 3l Bu 8 57 ni A Bod RS z ug 55 2 El 888 4 888 57 g get 8n gu 81 gu Bu Eu RIS CNS C70 C75 C77 R102 6106 eek LI OE EG Je2 5 5 R55 R62 _ 675 _ 4 Audio r3 avrS 5 gt LI Ej Q M R28 R3 R34 R39 R58 Re mz Dou Rei RIOOL 1 SWIM gt gus ed A 4 C56 R68 R74 RBS
11. UM0684 J User manual STM8L1526 EVAL evaluation board Introduction The STM8L1526 EVAL evaluation board is a complete demonstration and development platform for STMicroelectronic s STM8 core based STM8L152C6 microcontroller which supports 126 SPI USART 12 bit ADC 12 bit DAC LCD driver 2 KB internal SRAM 32 KB EEPROM and SWIM debugging The full range of hardware features on the board helps you evaluate all peripherals motor control USART audio DAC LCD IR LED IrDA SPI Flash MicroSD Card temperature sensor and EEPROM etc and develop your own applications Extension headers facilitate easy connection of a daughterboard or wrapping board for specific applications An ST LINK is integrated on the board as the embedded in circuit debugger and programmer for the STM8 MCU Figure 1 STM8L1526 EVAL evaluation board September 2009 Doc ID 15437 Rev 1 1 46 www st com Contents STM8L1526 EVAL Contents 1 cl gebe crete ee Ona ae eae ae 4 1 1 Hardware 1 4 1 2 Demonstration software 4 1 3 Order Code 4 2 Hardware layout and configuration 5 2 1 Power supply 8 2 2 Clock SOUICS PCT 9 2 3 Reset SOUlCe HERO Een P eb 10 2 4 LCD glass module
12. 19 7 1 4 ua u22 925 5V L 4 le nno E Bu E 3 M C3 w uo gab 1 Bu LT wow Li VOD AD 15 C20 R67 r Om EX 2 Em zi 78 GND L1 R22 57 pas E PEPE nux zip EI _ E LT a aa a L1 g L3 EN su gun 9 3 3 5 CH C27 Baba pg zn RW RS OL u u 4 CICI CI aos C46 2 820 Je Ga LATET er psv a 5 Audio Jack EPUM E E Lon uu i el MB818 B2 IN3 PC7 eset Joystick Key joys RV2 Potentiometer B1 reset key 017 joystick B2 user key connector LCD glass module CN15 BNC connector CN11 ST LINK USB connector CN12 amp CN13 SWIM connector CN14 MicroSD Card CN13 Audio Jack 6 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Hardware layout and configuration Figure 4 STM8L1526 EVAL jumpers and solder bridges R42 Motor control ia nen n STMBL1526 EVAL PUES aan ngn E B 4 582 BNC
13. ZY MG 12232B GB1 Dot Matrix LCD C56 U18 4 HOLD C R73 we 0 Flash_CS J 5 VSS AMA EET 0 Q W M25P128 VME6G 33 3 2 4 LCD connector 542 with AM240320L8TNQW 00H Ics E SCL 77 SDI RS WR RD SDO RESET R96 2 VDD RESET ANY VCI GND GND BL VDD STMicroelectronics BL Control BL GND ie BL GND Title STM8L1526 EVAL LCD amp SDcard TFT LCD Do not fit 878 Rev C 1 PCB SCH Date 7 27 2009 97 86 15741 CI 90d Figure 27 RS 232 and IrDA 3V3 100nF 5 08 CNI 2 DB9 male UART2 GND 2 10082 2 C2 4 3 TIIN RS232 IIDA TX 5 T2IN T20UT T3IN T3OUT 21 21 20 20 lt Bootloader_RESET RIOUT RIIN R20UT R2IN R30UT R3IN lt 8232 R4OUT R5OUT RSIN 23 nEN nSHDN 2 1 5732 U2 SD TxD 3V3 RBD Anode VCC2 Cathode Vlogic GND TFDU4300 IrDA toI AE STMicroelectronics Title STM8L1526 EVAL RS2328 IrDA C5 100nF AE Number MB818 Rev C 1 PCB SCH Date 7 28 2009 Sheet9 q 2 TWAA 92S1 181115 15741 19001 97 66 Figure 28 Motor control Motor control connector CN7
14. 5 5 uM T2 281235 U28 POS Key 7 GND 929 n B IR LED C25 c32 n cCICI 5 T3 v 5 14 pas 7 8 213 LB PB PEG SWM X 8 RIUF2P WP 3 GND 4 u 05 1 1 DA pps E 2am vco g __ 85 us von a u2 PC2 d bos kep IN24 LILI C9 C15 p RS232 jn E g DAC OUT PFO Card namam C51 253 _ u Duo Cat 5659 n R7 GEG 5 cco L J mi ug ica 5 ROS p r1 r1 s a mMm gt 5 ve TB lag HE A x Ae amp ERE n m 198 Sui gui Ei 8 8 E 32 1 R9 CNS 2885 E 5 IS 5 Audio ia i gt mM 28 R34 R39 lt I SWM 1 us E CN3 Q SL c19 1 45V 1d 4 u22 u26 77 n nm Of 71 85 E LI 2 21 5 33 L i1 8 5 VOD ADJ US E E S 1 R67 78 Og 1 B L L ue _ R22 OES 71 R24 5
15. 3 11 Audio jack CN13 A 3 5mm stereo audio jack CN13 connected to audio DAC is available ky Doc ID 15437 Rev 1 27 46 Connectors STM8L1526 EVAL 3 12 MicroSD connector CN14 Figure 17 MicroSD connector CN14 viewed from the front Table 20 MicroSD connector CN14 Pin number Description Pin number Description 1 5 MicroSDcard_CLK 5 2 MicroSDcard_CS 6 Vss GND MicroSDcard_DIN PB6 MicroSDcard_DOUT P 3 7 B7 4 43V3 8 9 MicroSDcard detect PD6 3 13 BNC connector CN15 Figure 18 Analog input connector CN15 viewed from bottom 11 2 BAN e j NIA Table 21 Analog input connector CN15 Pin number Description Pin number Description 1 GND 4 GND 2 GND 5 Analog input PFO 3 GND 28 46 Doc ID 15437 Rev 1 437 STM8L1526 EVAL Schematics 4 Schematics The schematics are shown on the following pages Table 19 STM8L1526 EVAL on page 30 Table 20 MCU on page 31 Table 21 LCD glass connector on page 32 Table 22 Audio on page 33 Table 23 Peripherals on page 34 Table 24 Power on page 35 Table 25 Extension and STice on page 36 Table 26 LCD and SD Card on page 37 Table 27 RS 232 and IrDA on page 38 Table 28 Motor control on page 39 Table 29 EEPROM and temperature sensor on page 40 Table 30 ST_LINK SWIM only on page 41 Table 31 MB821 on page 42 Doc ID 15437 Rev 1 29 46 97 06 15741 CI 900
16. capacitor as requested by end user s application There are also 3 analog signals available on the board 1 10 Kohm potentiometer RV2 connected to 2 IDD measurement output signal connected to PD3 for MCU power consumption test 3 External ADC input which can be connected to TP8 AIN and TP5 AIN Solder bridge SB5 should be kept on open for this analog input The LCD glass module has to be mounted in the IO position for IDD measurement and potentiometer RV2 Refer to Section 2 4 LCD glass module for details Serial Flash The 25 128 serial Flash is connected to the SPI bus of the STM8L152C6 The chip select is managed by standard I O port PE4 The LCD glass module has to be mounted in the IO position for serial Flash Refer to Section 2 4 LCD glass module for details Temperature Sensor A temperature sensor STLM75M2E is connected to the 2 bus of the STM8L152C6 through two transistors to support a wide voltage range from 1 8 V to 3 3 V on the 2 bus A voltage lower than 1 8 V is not supported due to the VGS threshold of transistor TR1 and 2 LCD glass module has to be mounted the IO position for the SMB signal Refer to Section 2 4 LCD glass module for details Doc ID 15437 Rev 1 15 46 Hardware layout and configuration STM8L1526 EVAL 2 13 16 46 Development and debug support An embedded ST LINK STM8 debugger developed by STMicroelectronics is available on the S
17. 1 ky STM8L1526 EVAL Hardware layout and configuration 2 8 Motor control The STM8L1526 EVAL supports three phase brushless motor control via a 34 pin connector CN7 which provides all required control and feedback signals to and from motor power driving board Available signals on this connector include emergency stop motor speed 3 phase motor current bus voltage heat sink temperature coming from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit The pins used on the motor control connector CN7 are multiplexed with some peripherals on the board The motor control application can be enabled by setting jumpers 4 and 8 Table 8 Motor control related jumpers Jumper Description redirects the PFC synchronization signal to the timer 3 input capture 2 pin additionally 4 to the timer3 external trigger input Default setting Not Fitted JP8 should be kept open when the encoder signal is input from pin31 of CN7 JP8 JP8 should be kept closed when analog signal is from pin31 of CN7 for special motor Default setting Not Fitted For motor control application JP3 must be kept open to avoid conflict between speaker RES and motor control connector CN7 Some rework that is required to be done to the board is listed below Remove 0 ohm resistors R69 R75 R80 R58 R35 R42 R31 R34 R62 R39 R55 and R48 all resistors are marked i
18. 5 Figure 5 LCD glass module in position I O Figure 6 LCD glass module in position LCD H ia PI 4j Me Audio The STM8L1526 EVAL supports aspeaker connected to the DAC output of the STM8L152C6 through an audio amplifier which can be enabled or disabled by setting JP9 The choice between BNC or DAC output on PFO is done by JP10 refer to Table 5 for details a microphone connected to the ADC input of the STM8L152C6 through a microphone amplifier The microphone output can be connected or disconnected to the STM8L152C6 by setting to closed or open refer to Table 2 for details Table 5 Audio related jumpers Jumper Description Setting JP9 The speaker amplifier is enabled when JP9 is closed Default setting Fitted is connected to BNC connector CN15 when JP10 is set as shown to the 123 right eje JP10 is connected to speaker when JP10 is set as show to the right default 123 setting e je e The LCD glass module must be mounted on IO position for Microphone Refer to Section 2 4 LCD glass module for details Doc ID 15437 Rev 1 11 46 Hardware layout and configuration STM8L1526 EVAL 2 6 Note 2 7 Note 12 46 EEPROM A 64 KBit EEPROM is connected to the 2 bus of the STM8L152C6 Table 6 EEPROM related jumpers Jumper Description Setting JP14 The 2 EEP
19. K when the current IDD becomes very low The measurement timing is given in Figure 9 Doc ID 15437 Rev 1 ky STM8L1526 EVAL Hardware layout and configuration Figure 9 STM8L1526 EVAL IDD Halt mode measurement timing diagram Run IDD_CNT_EN PE7 Q12 LOW_POWER_EN T3 pin 3 Q13 LP WAKEUP 6 Q13n 021 4 MCU mode gt lt gt gt lt gt Wake up IDD Measure Clear Halt 150mS 300mS 450 5 The Halt mode measurement procedure can be used Halt mode and slow or fast active Halt modes if the IDD current does not exceed 12 uA else the Run measurement procedure should be used up to 12 mA 2 16 Comparator Three I Os are used to implement a comparator feature to be used as low precision ADC in Figure 10 Comparator noninverting input PD1 connected to the reference capacitor Cref e Onel O PEO used as output connected to the reference resistor Rref used to charge Cref Comparator inverting input used as ADC input 7 to be connected to the potentiometer Figure 10 STM8L1526 EVAL low precision ADC based on comparator CMP Rref PEO COMP2A CMP Cref PD1 2 wk 99 VREFINT 1 2V Doc ID 15437 Rev 1 19 46 Hardware layout and configuration STM8L1526 EVAL 2 17 Note 20 46 The measurement is performed in three steps 1 Intern
20. LLELTLEL TI 2 60 Table 17 STice debugging connector CN8 Pin number Description Pin number Description 1 PAO 2 RESET 3 PA2 4 PA3 5 PA4 6 PA5 7 PA6 8 PA7 9 GND 10 VDD MCU 11 VDDA 12 VDDA 13 VLCD 14 PEO 15 PE1 16 PE2 17 18 4 19 20 PDO 21 PD1 22 PD2 23 PD3 24 PBO 25 PB1 26 PB2 27 PB3 28 PB4 29 PB5 30 PB6 31 PB7 32 PFO 33 PD4 34 PD5 35 PD6 36 PD7 37 PCO 38 39 VDD_MCU 40 GND 41 2 42 43 44 5 45 PC6 46 PC7 47 PE6 48 PE7 49 60 NC 26 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Connectors 3 8 ST LINK programming connector CN9 The connector 9 is used only for embedded ST LINK programming during board manufacture It is not populated by default and is not intended for the end user 3 9 USB type B connector CN11 The USB connector CN11 is used to connect embedded ST LINK to PC for debugging of board Figure 15 USB type B connector CN11 viewed from the front Table 18 USB type B connector CN11 Pin number Description Pin number Description 1 VBUS power 4 GND 2 DM 5 6 Shield 3 DP 3 10 SWIM connector CN12 and CN16 Figure 16 SWIM debugging connector CN16 viewed from the above Table 19 SWIM debugging connector CN12 and CN16 Pin number Description Pin number Description 1 VDD 2 SWIM line PAO 3 GND 4
21. gu Pa fa DFO se zn 3 DC 581 Li GND PBO Eu RE 3 PCS pxr 4 E 2852 2 TL 7 5 Zu _ C 2 4 PC Poo Audio OUTE SE Jes 4 E zi PD2 5 78123 gt PRE Wt p Key ux us GND pao paz R LED 025 PE 5 7 Oso UUH PAS a Ut6 um E 2 a 14 5 80 8 0 PE4 pup 1 n PES cu 12 WI 90 P4 004 Eo Ly e Pom PDS ue gd 13 g PD7 78 m c 7892 PC1 PC2 E 025 mei ADC_N24 1 CI5 R5232 S7 cO DAC_OUT PFO nannn 196 te C53 us D 5 c5 053 uo 2 cI e 586 Ill LO wl rcu 1m 5 amp 2107 n n nn mos lt 5 gu B E LI m 3 en CN on 8 5 OO gt LJ go 8 FE p 8 an 4 mu UK ELI FUN 1 CNS C70 C75 C77 RIOZ V 88 tn fies 3030 d A dim CC LP 5 4 EIAS AT A M SEITE m
22. 6 EVAL evaluation board can be powered from a DC 5 V power supply via the external power supply jack CN2 shown in Figure 12 The central pin of CN2 must be positive Figure 12 Power supply connector CN2 viewed from front DC 5V 3 3 TFT LCD connector CN3 CN3 is used to support TFT color LCD board MB542 it is not populated by default ky Doc ID 15437 Rev 1 21 46 Connectors STM8L1526 EVAL 3 4 22 46 Daughterboard extension connector CN4 and CN10 Two 26 pin male headers CN4 and CN10 can be used to connect the daughterboard or standard wrapping board to the STM8L1526 EVAL evaluation board All GPI Os available on it The space between these two connectors and position of power GND and RESET pin are defined as a standard which allows to develop common daughterboards for several evaluation boards The standard width between CN4 and CN10 pin1 is 2700 mils 68 58mm The standard was implemented on the majority of evaluation boards Each pin on CN4 and CN10 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM8L1526 EVAL evaluation board Please refer to Table 14 and Table 75 for details Table 14 Daughterboard extension connector CN4 How to disconnect with function Pin Description Alternative function block on STM8L1526 EVAL board 1 GND 3 PC5 32 kHz crystal Set 583 to 2 lt gt 3 5 PC7 Potentiome
23. 6 V e Slice connector footprint e Board RoHS compliant lead free 1 2 Demonstration software Demonstration software is preloaded in the board s Flash memory for easy demonstration of device peripherals in stand alone mode For more information and to download the latest version available please refer to STM8L1526 EVAL demonstration firmware available on web www st com mcu 1 3 Order code To order the STM8L 15206 evaluation board use the order code STM8L1526 EVAL 4 46 Doc ID 15437 Rev 1 437 STM8L1526 EVAL Hardware layout and configuration 2 Hardware layout and configuration The STM8L1526 EVAL evaluation board is designed around the STM8L1526C6T6 48 LQFP package The hardware block diagram Figure 2 illustrates the connection between the STM8L152C6 and the peripherals LCD glass dot matrix LCD serial Flash EEPROM temperature sensor USART IrDA audio MicroSD Card Motor control and embedded ST LINK Figure Figure 4 help you locate these features the actual evaluation board Figure 2 Hardware block diagram USART DB9 connector MicroSD card Dot Matrix LCD Voltage Serial Flash translator RS232 transceiver IrDA 5 transceiver 2 LCD Glass module 9 Joystick MC control connector LEDs STM8L1526C6T6 Potentiometer Mi
24. 68 C78 co 100nF 100nF 100nF 100 STMicroelectronics SHELL USB typeB connector Title STMSLI 526 EVAL ST LINK SWIM only USB Number MB818 Rev C PCB SCH Date 7 28 2009 Sket2of 12 2 3 4 Schematics STM8L1526 EVAL of 1 Sheet 7 Date 9 10 2009 Rev A 1 PCB SCH STM8L2xx EVAL LCD board STMicroelectronics Title Number 821 22 Ne 5 2 5 5 8 5 25 25 E Z3 23 OT DA Om 81 2 00 INOO 81 9 LI re 42 109 TINOO LI re EE 91 amp T 28 e 15 91 16 SI 74 05 SI 0 6 z 95 ss D 8 LZ el 9 15 9 SZ 015 e 6 vo e 115 m 40 Oc 6 YIS 8S 0 61 6 LI gz 515 CTS 6 8I LI 8 9I SI 815 e LIS 8 i c op 615 918 9 e QS 125 9 ss 0 v 5 4 905 GS 2 5 6 lt lt 5 11 rs _ 065 608 1 201 pee 1 821 Figure 31 Doc ID 15437 Rev 1 ky A STM8L1526 EVAL STM8L1526 EVAL I O assignment Appendix STM8L1526 EVAL I O assig
25. CDCOM3 72 4 LCDCOM3 SPL lt ETE n 71 PA7_LCDSEGO gt PA7_LCDSEGO SDcard detect 11 veca 7 SDeard_detect PEO_LCDSEG1 gt PEO_LCDSEG1 2 2 Bl LZ LCDSEG2 LCDSEG2 MicroSD CS 4 2 MicroSD CS USTLINK sPLMOS eee SPLMOSI T LIN LI 5 gt L SISLNKSCHDOC LCDSEGS gt LCDSEGS 15120 nF _ gt LCD_CS ST LINK SWIM lt gt ST LINK SWIM PES LCDSEG6 gt LCDSEG6 Flash CS Te 81 i 1 gt Flash CS RESET 0 4 4 gt RESET LCDSEG7 j PD0_LCDSEG7 VCCA VCCB 7 n RESET PD2_LCDSEG8 j gt PD2_LCDSEG8 Al BI PD3 LCDSEG9 gt PD3_LCDSEG9 A2 B2 3 5 0 7 gt PBO_LCDSEG10 GND PBI_LCDSEGI1 1 1 gt PBI_LCDSEGI1 lt 5 gt SN74LVC2T4SDCUTVDD C74 PB2_LCDSEGI2 gt PB2 LCDSEGI2 ae eee teria PB4_LCDSEGI4 _ gt LCDSEGI4 oon VCCA VCCB 1 I 5 LCDSEGIS 2 5 LCDSEGIS Al 7 PB6 LCDSEGI6 gt PB6_LCDSEG16 A2 2 PB7_LCDSEGI7 7 1 gt PB7 LCDSEGI7 GND PD4 LCDSEGI8 gt PD4_LCDSEGI8 lt PD5 LCDSEGI9 O PDS LCDSEGI9 n DE PD6 LCDSEG20 PD6 LCDSEG20 eee PD7_LCDSEG21 PD7_LCDSEG21 LED4 gt LED4 PC2 LCDSEG22 PC2 LCDSEG22 LED3 5 15 PC3_LCDSEG23 PC3 LCDSEG23 LEDI gt LEDI PC4 LCDSEG24 PC4 LCDSEG24 LED2 2 2 LED2 PC7 LCDS
26. CH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2009 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 46 46 Doc ID 15437 Rev 1 437
27. EG25 PC7 LCDSEG25 BiD LED LED PE6 LCDSEG26 PE6 LCDSEG26 Rref 2 CMP Rref PE7_LCDSEG27 PE7_LCDSEG27 Cref Cref JOY UP UP JOY_RIGHT JOY RIGHT JOY LEFT lt JOY LEFT JOY DOWN JOY_DOWN User Button JOY SEL JOY SEL BNC m m Potentiometer 0 Potentiometer RIED C seat zx U_Power 8 Pasos B Power SchDoe 58 555855 3 IDD Messurement lt 0 ID Measurement m Byz 29909 IP WAKEUP 4 WAKEUP SER 22222 IDD_CNT_EN gt IDD_CNT_EN ATAR U_MotorControl MotorControl SCHDOC MC HeatsinkTemperature U gt MC Dissipati veBrake gt MC_PFCpwm see 85 B PFCsyncl BBsu S 5 EnB 5 MC gt 8 2 Note text inthe each sheetis in format tobe different with Net label STMicroelectronics Title STMBL1526 EVAL Number 818 Rev C 1 PCB SCH ate 7 31 2009 Sheet TWAA 92S1 181115 15741 CI 900 9 16 Figure 20 MCU 1 2 3 4 RESET gt RESET IRIED gt E 1 584 583 BAT60 JP6 3 solder bridge solder bridge STLINK SWM 4 J15 T us 609 1306 ND 54 E E Bootloader
28. Figure 19 STM8L1526 EVAL MCU U TemSensor MCUSchDoc ik EEPROM_TemSensor SCHDOC V STi comecir V BOSCO 0 Extension_STice connector SCHDOC E e U RS232 a 5 e du 5 Audio SchDoc S vm yon ULL 28 10005 RS232_IrDASCHDOC PFO lt 5 PEO 5 Audio OUT Audio OUT Audi z VCCB I Bootloader_RESET nor PBIO 7 3 wide ins 0 3 Bl 7 RS232 5DA 0 7 lt C gt PDI0 7 E LCD Glass SCHDOC R124 5 ne 0 7 lt gt 0 71 E GND 0 7 lt gt 7 PA4 LCDCOMO 2 gt LCDCOMO Audio IN lt m PAS LCDCOMI 5 PAS LCDCOMI DC SMB E SNIALVCUTASDCUEE bees pd dur 5 5 lt PCS LCDCON2 3 4 PA6 LCDCOM2 RS232 RDA DIO ov ioe BLAUE IMS EX PC6 lt gt 5 PDI L
29. KT VDD LP_WAKEUP gt 13 U23 C59 VDD 100nF STTSPF20V ip 3 oe ul2 55 45V LD1086D2M IDD_CNT EN Vin Vout 96 GND R84 3 ok C20 TT 10uF Oscillator frequency 30KHz RVI 3386P 20 1H 5 5 ZENO056V130A24LS U3 ESV 3 1 5 cv 3 uy 2 3 2 4 ce SG FS 220uF gt E 1 2 SMAJS 0A TR Cl 100nF BNX002 01 USV 2 TP4 D5V 2 1 5V 108 Ground JE red T R19 1 2 evi _ E STMicroelectronics Header 3X2 Title STM8L1526 EVAL Power Number MB818 _ Rev C 1 PCB SCH Date 7 27 2009 SheetG of 2 3 4 TWAA 92S 1 18INLS 97 96 15741 19001 Figure 25 Extension and STice PAO 2 4 VDDA VLCD PEI PE3 PES PD3 PB3 PB7 PD6 PCO VDD_MCU PCD PC4 EXT_PC6 PD1 5 RESET TEXT PA RESET es ee PED VDDA PE2 PDO PD2 PBO PB2 PB4 PDS PD7 PCT 5 PCT PE7 QTH 030 01 L D A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 4 48 49 50 5 52 53 54 5 56 57 58 59 60 ZZZZ 5665 aalas STice connector
30. L Table 22 5 811526 I O assignment continued Pin No Pin name STM8L1526 EVAL I O assignment 33 PD4 Joystick_down Motor control connector MC_VH 34 PD5 Joystick right Motor control connector 35 PD6 Motor control connector EmergencySTOP SDcard detect 36 PD7 Joystick up Motor control connector UL 37 PCO SDA 38 PC1 Key Button SCL 39 VDDIO VDD MCU 40 VSSIO GND 41 PC2 UART IrDA RX 42 UART_IrDA_TX 43 PC4 SMB 44 5 32 kHz crystal 45 PC6 32 kHz crystal 46 PC7 Potentiometer 47 PE6 IDD_Measurement_Wakeup 48 7 IDD_Measurement_CNT_EN Note All I O s marked in grey are shared with LCD glass module 44 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Revision history Revision history Table 23 Document revision history Date 10 Sep 2009 Revision 1 Initial release Changes Doc ID 15437 Rev 1 45 46 STM8L1526 EVAL Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the ch
31. LCDSEG3 S3 30 LCDSEG2 al 52 32 PA4 gt COMI 34 PA5 LCDCOMI 35 36 STMicroelectronics Title STM8L1526 EVAL LCD Glass connector Number MB818 Rev C 1 PCB SCH Date 7 31 2009 Sheet3 q 2 TWAA 92S1 181115 15741 CI 900 97 55 Figure 22 Audio C45 U24 15008 03 22K 015 Standby Speaker R38 Audig OUT we U4 KECG2740TBL C47 N A E 37 uF 1 2 2 3 VIN 43V3 470nF 2 En ypass GND Cog 4 VIN VOUT2 TS4990IST 3V3 Audio_IN STMicroelectronics Title STMSLI 526 EVAL Audio Number MB8 8 Rev C 1 PCB SCH Date 7 27 2009 Sheet4 1 3 9 917181015 97 76 15741 CI 90d Figure 23 Peripherals VB334 SBG R110 BNC connector Gef lt CMP_Rref E PCL R28 2 Poenus EZ 5 2 VDD Potentiomet 3V3 LD6 NNSFHA09 2 R122 3 587 adi 2 433 solder bridge R6 IR LED 1 lt gt 2 close by default VDD 7 5 R8 1 2K Low Voltage LED CS 100nF User 3V3
32. Note To enable MCU power consumption measurement JP11 JP3 and LCD glass module should be re configured as described in Table 7 and Table 2 Table 2 MCU power consumption measurement related jumpers Jumper Description The microphone output is connected to ADC of the STM8L152C6 when JP3 is closed Default setting Fitted JP3 For MCU power consumption measurement JP3 must be kept open to avoid current injection For motor control application must be kept open to avoid conflict between the speaker and motor control connector CN7 LCD glass The LCD glass module must be mounted on the IO position for MCU power module consumption measurement Refer to Section 2 4 LCD glass module for details The LED LD8 is lit when the STM8L1526 EVAL evaluation board is powered by the 5 V correctly the LED 109 is lit if the MCU is powered by low voltage VDD lt 1 8 The AC220V to DC5V power adapter PSU 5V2A recommended can be ordered from ST it is not provided with board by default or equivalent polarity compatible with CN2 can be used to power the STM8L 1525 EVAL board via the power jack on the board To order the recommended power supply use the order code PSU 5V2A Clock source Two clock sources are available on the STM8L1526 EVAL for the STM8L 152C6 and embedded RTC 2 32 kHz crystal for embedded RTC e X1 16 MHz crystal with socket for the 5 8 15206 microcontroller it can be
33. RESET Re 2 Samm RESET Black 7 CCo 1 pg SPEI pg rcpsEG27 i LCDSEG26 il 3 PC 9 PC7_LCDSEG25 gt 5 6 20pF 5 24 1 bee D i 41 4 16MHz with sock _PC4 LCDSEG24 gt Cu Zit oden lt PA6 LCDCOM2 7 PC3LCODSEG23 ROS PA7 LCDSEGO 3 A PC2 LCDSEG22 il AW 55 VSSIO 59 VDD_MCU VDD VDDIO VDD MCU 2 37 15 pco 2 VLCD PD7 LCDSEG2I lt PED 1005801 PEO PD6 LCDSEG20 lup 8 2 pbs PDS LCDSEG 19 gt ICDSEG3 PE2 3 PD4 LCDSEGIS gt Audio PE3_LCDSEG4 PE3 PFO LCDSEGS PEA PB7 PB7 LCDSEGI7 i PES LCDSEGG PES 6 50 PB6_LCDSEGI6 LCDSEG7 PDO PBS 5 LCDSEGIS Ts PDI_LCDCOM3 PDI PB4 l PD2 LCDSEGS PD2 PB3 PD3 LCDSEGO PD3 PB2 LCDSEGI2 gt 585 01 05 10 PBO 28 PBI PBI_LCDSEGI1 2 yO 820 0 BNC STMBLIS2C6T6 C86 N A i ClosetoPFOofMCU 000 gt PDIO 71 gt PFO lt Title STMSLI 526 EVAL MCU Number MB818 Rev C 1 PCB SCH Date 7 31 2009 Sheet2
34. ROM U29 is in write protection mode when 14 is not fitted Default setting Fitted PC1 is connected to the User button when JP7 is set as shown to the right 5 7 PC1 is connected to I2C SCL when JP7 is set as shown to the right default 123 setting e ee The E2PROM used the board ref M24C64 DFW5TP is limited VDD range from 1 7 to 5 5 V by specification therefore its behavior is not guaranteed for VDD from 1 65 to 1 7 V RS 232 and IrDA Both RS 232 and IrDA communication is supported by D type 9 pin RS 232 connectors and IrDA transceiver U2 which connect to the USART of the STM8L 15206 on the STM8L1526 EVAL evaluation board The signal Bootloader_RESET is added on the RS 232 connector for ISP support RS 232 or IrDA can be selected by setting JP5 Table 7 RS 232 and IrDA related jumper Jumper Description Setting USART RX is connected to the RS 232 transceiver and RS 232 communication 1 2 3 is enabled when JP5 is set as shown to the right default setting e e e JP5 USART RX is connected to the IrDA transceiver and IrDA communication is 123 enabled when JP5 is set as shown to the right eee The LCD glass module must be mounted in the IO position for RS 232 and IrDA Refer to Chapter 2 4 LCD glass module for details Hardware flow control is not supported by the RS 232 interface CTS and RTS not managed by MCU Doc ID 15437 Rev
35. TM8L1526 EVAL as the default debugger Third party debuggers are also supported by the SWIM connector CN12 or low cost SWIM connector CN16 The SWIM connector or embedded ST LINK can be enabled by setting jumper JP6 Table 9 SWIM debugging related jumper Jumper Description Setting PAO is connected to SWIM connector CN12 CN16 and embedded ST LINK when 1 2 3 JP6 is set as shown to the right default setting eee JP6 PAO is connected to IR LED LD6 when JP6 is set as show to the right M 3 60 connector 8 is available also for STice user it can used even with MCU silicon mounted on the board by setting jumper JP13 The STice connector is available only on the MB818 with an MCU socket Table 10 STice related jumper Jumper Description Seiting PA1 is connected to Reset sources when JP13 is set as shown to the right the 123 board is working on standalone mode without STice connected default setting zii is connected to GND when JP13 is set as show to the right All I Os of 123 STM8L152C6 silicon on the board is kept on floating input which allows debugging based STice connected to 8 1 15437 1 ky STM8L1526 EVAL Hardware layout and configuration 2 14 Display and input devices The 122x32 dot matrix LCD connected to the SPI port of the STM8L152C6 4 general purpose color LED
36. al reference voltage VREFINT is connected to the comparator inverting input and Cref to noninverting input to measure the time required to charge the capacitor to internal reference voltage VREFINT by PEO used as output through Rref 2 The potentiometer is connected to inverting input to measure the time required to charge Cref to the voltage on potentiometer 3 The potentiometer voltage is calculated by software interpolation or using a conversion table IR LED One IR LED LD6 is driven by either through two transistors T1 and T8 or directly depending on the setting of the solder bridge SB7 Table 12 IR LED related solder bridges Solder bridge Description LD6 is driven by PAO through two transistors 1 and T8 when 587 is set as connected to pad2 default setting LD6 is driven by directly when 587 is set as pad2 connected to pad3 JP6 needs to be set correspondingly for IR LED please refer to Table 9 for details Doc ID 15437 Rev 1 ky STM8L1526 EVAL Connectors 3 Connectors 3 1 RS 232 connector CN1 Figure 11 RS 232 connector CN1 with ISP support 1 2 5 3 4 FO OUD 6 7 8 9 Table 13 5 232 connector with ISP support Pin number Description Pin number Description 1 Bootloader_RESET 6 NC 2 RS232_RX PC2 7 NC 3 RS232 TX 8 NC 4 NC 9 NC 5 GND 3 2 Power connector CN2 The STM8L152
37. and C38 16 LED2 Motor control connector Bus Remove R75 voltage R R58 LED4 Motor control connector M 18 7 Disconnect power driver board from Encoder index Motor control connector Remove R39 Joystick down Motor control connector _ 20 PD4 Disconnect power driver board from MC VH Motor control connector Motor control connector 22 PD6 EmergencySTOP SDcard detect Remove SD Card from card socket 24 PCO SDA Remove 115 26 PC2 UART IrDA RX Set JP5 to open Table 15 Daughterboard extension connector CN10 E A i How to disconnect with component Pin Description Alternative function on STM8L1526 EVAL board 1 GND 3 PB1 Motor control connector Dissipative Disconnect power driver board from brake amp PFC PWM Motor control connector 5 Audio ADC IN Set to open 7 5 LCD_SDcard_Flash_SCK 9 7 LCD SDcard Flash MISO Remove R73 and SD Card from card Socket 11 Remove R62 Joystick_Left Motor control connector 13 PEt Disconnect power driver board from MC_VL Motor control connector Micro SD 5 Remove SD Card from card socket 17 PE5 Motor control connector MC_CurrentB pee Motor control connector 19 D5V 21 INC 23 NC Doc ID 15437 Rev 1 23 46 Connectors STM8L1526 EVAL Table 15 Daughterboard extension connector CN10 con
38. control connector CN7 Figure 13 Motor control connector CN7 viewed from above 33 3129 2725 23 2119 17 15 13 119 7 00000000000000000 5822002588600000 34 32 30 28 26 24 22 20 18 16 14 12 10 8 Table 16 Motor control connector Description 17 17 Description EMERGENCY STOP PD6 1 2 GND PWM UH PD2 3 4 GND PWM UL PD7 5 6 GND PWM VH PD4 7 8 GND PWM VL PE1 9 10 GND PWM WH PD5 11 12 GND PWM WL PE2 13 14 PA5 BUS VOLTAGE PHASE A CURRENT 4 15 16 GND PHASE B CURRENT 17 18 GND PHASE C CURRENT PA6 19 20 GND NTC BYPASS RELAY PEO 21 22 GND BRAKE 23 24 GND 5V power 5V 25 26 PB3 Heatsink temperature PFC SYNC PDO and PD1 27 28 VDD Micro PFC PWM PB1 29 30 GND Encoder A PBO 31 32 GND Encoder B PB2 33 34 PA7 Encoder Index STice connector CN8 The STice be connected to emulate the STM8L1526 EVAL board Jumper JP13 must be set to connect pin 2 and 3 when the STice is connected on 8 It is used to keep the STM8L152C6 MCU on reset as explained in Section 2 3 Reset source Doc ID 15437 Rev 1 25 46 Connectors STM8L1526 EVAL Figure 14 STice debugging connector CN8 viewed from above 1 59 TLELTLTLELTLEE TLELTLEL ILE TET TLTLELTLEE TLELTLD
39. cro Phone N Amplifier gt User Key BNC connector Audio DAC EEPROM Temperature 1 65V to 3 6V adjustable regulator 3 3V regulator Sensor Embedded USB TypeB ST LINK connector MCU consumption measurement Extension connector for GPIOs Doc ID 15437 Rev 1 5 46 Hardware layout and configuration STM8L1526 EVAL Figure 3 STM8L1526 EVAL layout U16 STM8L1526 LD6 IR LED U2 IrDA USART U7 Dot matrix LCD CN2 Power Jack RV1 VDD Adjustment CN4 CN10 Extension header CN7 Motor control gt CN8 STice 7 Motor control 5 gig m ars 208 2 STM8L1526 EVAL lt Su udududueu 21818 ig 7
40. ects one of the three possible power supply resources zi For power supply jack CN2 to the STM8L1526 EVAL only JP2 is set as shown gt to the right VOM For power supply from the daughterboard connectors CN10 to STM8L1526 cur EVAL only JP2 is set as shown to the right 5 eee JP2 VOM For power supply from ST LINK connector CN11 to STM8L1526 EVAL only cur JP2 is set as shown to the right default setting 222 VOM For power supply from power supply jack CN2 to both STM8L1526 EVAL and 2 a daughterboard connected on CN4 and CN10 JP2 is set as shown to the right daughterboard must not have its own power supply connected eje o VDD is connected to fixed 3 3 DC power when 1 is set as shown to the 123 right default setting e e e JP1 VDD is connected to adjustable DC power from 1 65 V to 3 6 V when JP1 isset 1 2 3 as shown to the right ee VDD power is directly connected to MCU VDD when JP11 is set as shown to the right 123 Note For manual IDD measurement the jumper on JP11 must be removed and e je e JP11 replaced by an ammeter connected between JP11 pin 2 and pin 3 Connect VDD power to MCU with current sampling resistor 2 ohm or 2 Kohm 123 in series for IDD current measurement when JP11 is set as shown to the right default setting 15437 1 ki STM8L1526 EVAL Hardware layout and configuration Note 2 2
41. n red in Figure 7 to release I Os used by motor control and shared with another peripherals e Remove MicroSD Card from SD Card socket CN14 SD Card socket is marked in red in Figure 7 Solder resistor R82 0 ohm R59 0 ohm and R29 0 ohm all components to be soldered are marked in green in Figure 7 The LCD glass module has to be mounted in the IO position for motor control Refer to Section 2 4 LCD glass module for details Doc ID 15437 Rev 1 13 46 Hardware layout and configuration STM8L1526 EVAL Figure 7 STM8L1526 EVAL motor control re configuration of board 767 R42 Motor control 5 1 STM8L1526 EVAL el uk 5 Suku r1 Manes T1 are E OLIOLI Ju FX U6 m 5 n a 6 LJ 2u B m gi TRANS CNIO on E ec Q9 ONT T PRO RE 1 EXT_PC5 2 E 2800 282 mtra amp L PDO Audio GUTES F PB3 o PD P2
42. nment Table 22 STM8L1526 EVAL I O assignment Pin No Pin name STM8L1526 EVAL I O assignment 1 PAO SWIM IR LED 2 PA1 RESET button 3 PA2 16MHZ crystal 4 16MHZ crystal 5 PA4 Motor control connector Current 6 PA5 Motor control connector Bus voltage 7 6 Motor control connector Current C 8 PA7 LED4 Motor control connector Encoder index 9 VSS GND 10 VDD VDD_MCU 11 VDDA VDDA 12 VREF VDDA 13 VLCD 5 14 Motor control connector bypass 15 PE1 Joystick Left Motor control connector VL 16 PE2 Joystick sel Motor control connector 17 Micro SD 5 18 4 Serial Flash_CS 19 PE5 Motor control connector Current B 20 PDO Motor control connector PFC sync 21 PD1 Cref Motor control connector PFC sync 22 PD2 Bi color LED Motor control connector 23 IDD_Measurement 24 PBO Motor control connector Encoder A 25 Motor control connector Dissipative brake amp PWM 26 PB2 Motor control connector Encoder B 27 PB3 Audio ADC IN Motor control connector Heatsink temperature 28 4 Dot matrix LCD_CS 29 PB5 LCD SDcard Flash SCK 30 PB6 LCD SDcard Flash MOSI 31 PB7 LCD SDcard Flash MISO 32 PFO BNC Audio DAC out Doc ID 15437 Rev 1 43 46 STM8L1526 EVAL assignment STM8L1526 EVA
43. oice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein 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 UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHI
44. peratureSens or Number MB818 Rev 5 Date 7 27 2009 2 TWAA 92S1 181115 15741 CI 900 9v Liv Figure 30 ST LINK SWIM only T1VA3 9 6SF18INLS 2 4 VDD R88 T ROT 1K 2 W T S 9012 E R86 S 027 E STM32F103C8T6 Cee TY SWIM PULLUP T4 CU x C75 UTE EE T 9013 1 2 1 43V3 43V3 pu 2 3 T 2 VSS2 m5 STM JIMS SWIM PULLUP NE USB_DP OSC IN 32 USB DM OSC OUT 31 01 A STM_RST 2307 Ut TX 18 pag 29 LED 10 C80 U19 VDD 680 Toontt3 3 52 MOSI Ti 52 T_JTCK SWIM IN 2 7 SWM R121 47 SIN SCS ise SWM RSTN 3 6 RST Rig PB12 BLN B2 2 gt GND DIR ela SNALVCZTADCUT gt gt ajajaa z En SWIM STM_JRST 8 7 GND ME STM JTDI 6 5 SIM JIMS STM 4 3 STM JIDO LLL 3 3 JTAG MCU LD7 ST LINK LED R103 Mz li 43V3 510 2 RED R109 USV Al Md R107 22 USB DM LED i IB R108 22USB DP C
45. removed from the socket when the internal RC clock is used Table 3 32 kHz crystal X2 related solder bridges Solder bridge Description PC5 is connected to 32 kHz crystal when SB3 is set as pad1 connected to pad2 default setting SB3 PC5 is connected to STice connector CN8 and extension connector CN4 when SB3 is set as pad2 connected to pad3 PC6 is connected to 32 kHz crystal when SB4 is set as pad2 connected to pad3 default setting 584 PC6 is connected to STice connector CN8 extension connector CN4 when 584 is set as connected to pad2 I O ports PA2 can be used as GPIO on extension connector by closing solder bridges SB1 and SB2 when crystal X1 is removed from it s socket Doc ID 15437 Rev 1 9 46 Hardware layout and configuration STM8L1526 EVAL 2 3 2 4 10 46 Reset source The reset signal of the STM8L1526 EVAL is low active and the reset sources include Reset button B1 Debugging tools from SWIM connector CN12 and CN16 e Daughterboard from CN10 e Embedded ST LINK e RS 232connector CN1 for ISP Table 4 Reset related jumpers Jumper Description Setting JP15 when JP15 is closed This configuration is used for boot loader application only The board Reset is managed by pin 1 of connector CN1 RS 232 DCD signal Default Setting Not fitted 1 is connected to the Reset source listed above when JP13 is set as shown to 1 2 3
46. s LD 1 2 3 4 and one bicolor LED LD5 are available as display devices The 4 direction joystick U17 with selection key and general purpose button B2 are available as input devices The STM8L1526 EVAL evaluation board also supports a second optional 2 4 TFT LCD that can be mounted on the CN3 connector The 2 4 TFT LCD is not populated by default MB542 is the reference of the 2 4 TFT LCD to be connected on CN3 Table 11 LCD modules 122x32 dot matrix LCD U7 default 2 4 TFT LCD CNG optional Pin 07 Description connection Pin on CNG Description Pin connection 1 Vss GND 1 4 2 Vcc 3 3V 2 SCL PB5 3 VO 3 SDI PB6 4 CLK PB5 4 RS 5 SID PB6 5 WR 6 CS PB4 6 RD 7 5V 7 SDO PB7 8 GND 8 RESET RESET 9 VDD 3 3V 10 VCI 3 3V 11 GND GND 12 GND GND 13 BL_VDD 3 3V 14 BL Control 3 3V 15 BL GND GND 16 BL GND GND The LCD glass module must be mounted on the IO position for LCD LED s and joystick Refer to Section 2 4 LCD glass module for details Doc ID 15437 Rev 1 17 46 Hardware layout and configuration STM8L1526 EVAL 2 15 18 46 IDD measurement and comparator For IDD measurement the circuit shown in Figure 9 is implemented on the STM8L1526 EVAL Figure 8 STM8L1526 EVAL IDD measurement circuit VDD MCU 20 MAX9938FEUK 21
47. ter Remove R28 7 PD1 CMP Cref Motor control connector Remove R35 PFC sync 9 IDD_Measurement Remove R50 11 PAO SWIM IR LED Set JP6 to open 13 PA1 RESET button Set JP13 to open Remove R69 LED1 Motor control connector Current 15 PA4 A Disconnect power driver board from Motor control connector Remove R80 LED3 M 17 Disconnect power driver board from Motor control connector 19 GND Remove R34 Joystick_right Motor control connector 21 PD5 Disconnect power driver board from Motor control connector Joystick Motor control connector 23 PD7 MC UD Disconnect power driver board from Motor control connector 25 1 SDA Set JP7 to open PC4 SMB Remove R27 4 PC6 32 kHz crystal Set SB4 to 1 lt gt 2 6 PDO Motor control connector PFC sync op goard Mom Motor control connector Bicolor LED Motor control connector ds us 8 PD2 RES up LA Disconnect power driver board from MC UH Motor control connector Doc ID 15437 Rev 1 ky STM8L1526 EVAL Connectors Table 14 Daughterboard extension connector CN4 continued Pin Description Alternative function with block STM8L1526 EVAL board 10 GND Set SB2 to close 12 2 16MHZ crystal Remove X1 and C30 Set SB1 to close 14 16MHZ crysta Remove X1
48. tinued 3 How to disconnect with component Pin Description Alternative function on STM8L1526 EVAL board Motor control connector Current B 25 Audio DAC out Set JP10 to open 2 PBO Motor control connector Encoder A roni Motor control connector 4 PB2 Motor control connector Encoder B Disconnect power TOI Motor control connector PB4 Dot matrix LCD_CS Remove Dot Matrix LCD module 8 PB6 LCD SDcard Flash MOSI 10 GND R R42 CMP Rref Motor control connector 12 Disconnect power driver board from NTC_bypass Motor control connector Remove R55 Joystick_sel Motor control connector R 14 2 MC WL Disconnect power driver board from Motor control connector 16 4 Serial Flash_CS Remove R73 Remove LCD glass module MB821 18 PE6 IDD_Measurement_Wakeup comme oio bod 20 7 IDD Measurement CNT EN 22 UART_IrDA_TX 24 MCU VDD 26 NC 7 Note All I O s marked in grey be disconnected with function block on the STM8L1526 EVAL board by removing LCD glass module MB821 board 3 5 LCD glass connector CN5 and CN6 Two 36 pin male headers CN5 and CN6 can be used to mount the LCD glass module MB821 on it Two possible mount positions may be selected by the user for either an LCD glass demonstration or other peripherals on STM8L1526 EVAL board 24 46 Doc ID 15437 Rev 1 STM8L1526 EVAL Connectors 3 6 3 7 Motor
49. x m L feg 3 SWM tme SWM nyn_n n 20 rue at i ral LIL L LI m 2 gg SD unen u ELI ELI un rn gn an gt 6u Ou 2 2 Ue J 3 wr 25 7 _ 0276 R98 R99 EJ E 124 m Audio Jack n 818 N u Doc ID 15437 Rev 1 7 46 Hardware layout and configuration STM8L1526 EVAL 2 1 8 46 Power supply The STM8L1526 EVAL is designed to be powered by a 5 V DC power supply and to be protected by PolyZen from a wrong power plug in event It is possible to configure the evaluation board to use any of following three power supply sources 1 DC power adapter connected to CN2 the power jack on the board power supply unit PSU on silk screen 5VDC power with 500 mA limitation from CN11 the USB type B connector for ST LINK ST link on silkscreen STL e 25V DO power from CN10 the extension connector for daughterboard daughterboard power source DTB on silkscreen The power supply is configured by setting the related jumpers JP1 JP2 and JP11 as described in Table 1 Table 1 Power related jumpers JP1 JP2 JP11 Jumper Description Setting VOM JP2 sel
Download Pdf Manuals
Related Search
Related Contents
Amanco Cisterna LS1lightstrip User`s Manual Lenovo ThinkPad 43N3222 User's Manual Manuel d'utilisation Manuale dell`utente Owner Manual Gebrauchsanweisung für Pool-Wärmepumpen SL25 / TS25.. Copyright © All rights reserved.
Failed to retrieve file