The firmware is based on the STM8L15x firmware library, and provides an example of how to use this library. It is divided into various smaller demonstration applications (demos). In case the STM8L1528-EVAL evaluation board is not factory-programmed or the demonstration application has been erased, you can reprogram the demonstration firmware...
Table Table 1. Documentation conventions Keyword User action LEFT Press joystick to the left RIGHT Press joystick to the right Press joystick up DOWN Press joystick down Press joystick center Rotate RV3 potentiometer Doc ID 17964 Rev 1 3/23 www.BDTIC.com/ST...
LEFT: Navigates to the next menu or submenu items on the left. SEL: Enters submenu. UP: Exits from a submenu. STM8L1528-EVAL board jumper configuration To be able to run the STM8L1528-EVAL demo correctly, configure the following STM8L1528-EVAL board jumpers as follows: ● JP1: not fitted ●...
Exit: EXTI HALT Mode Exit: COMP Int. Voice Recorder Audio Recorded Voice Audio Player Stored W ave About About The following sections provides a detailed description of each part of the demonstration firmware. Doc ID 17964 Rev 1 5/23 www.BDTIC.com/ST...
Demonstration applications UM1000 Welcome screen and main menu After a board reset, a welcome message is displayed on the first line of the LCD screen, the ST logo is displayed moving on the second line (see Figure Figure 3. Welcome message...
Select Time show to display the current time. The time start counter from (00:00:00) after the first run for the demo the time is cleared if the STM8L1528-EVAL evaluation board is powered down. The Time adjust option is used to configure the time.
Use the Date adjust option to modify the current date, or to change the default date (09/17/2010) to the current date after the STM8L1528-EVAL evaluation board is powered To set the current date, select the Date adjust option. The date is then displayed on 8...
To exit from this sub menu press the joystick UP. Note: When an alarm occurs, the alarm wave is played. The alarm can be used also to wake up the system from WFI or Active-halt. Doc ID 17964 Rev 1 9/23 www.BDTIC.com/ST...
C protocol including the system management bus (SMBus) mode. An STLM75 (or compatible devices) I C temperature sensor is mounted on the STM8L1528-EVAL board and used to get instantaneous external temperature (–55°C to 125°C). Once the THERMOMETER menu has been selected by pressing the SEL push-button, the...
(TEMPERATURE_THYS: Hysteresis Temperature). The user can configure the TOS and THYS thanks to a dedicated define values in the code. By default the STM8L1528-EVAL demo is setting them to (see demo_thermometer.c file): #define TEMPERATURE_THYS 31 #define TEMPERATURE_TOS 32 To exit this demo, press the joystick UP.
The LEDs blink until SEL is pressed from the WFI menu (see Figure 20). The system then enters WFI mode and the following message is displayed on the LCD: Figure 20. WFI wait for EXTI message Exit: EXTI Press SEL 12/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
The LEDs blink until SEL is pressed from the WFE menu (see Figure 24). The system then enters WFE mode and the following message is displayed on the LCD: Figure 24. WFE wait for EXTI message Exit: EXT Event Press SEL Doc ID 17964 Rev 1 13/23 www.BDTIC.com/ST...
STM8L15x from Active-halt mode: The LEDs continue blinking until SEL is pressed from the Active-halt menu (see Figure 28). The system then enters Active-halt mode and the following message is displayed on the LCD: 14/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
Page 15
16 MHz, and the application execution resumes. The message shown in Figure 31 is displayed: Figure 31. Exit from Active-halt with alarm message ActiveHalt mode Exit: RTC Alarm Doc ID 17964 Rev 1 15/23 www.BDTIC.com/ST...
Halt mode, and the application execution resumes. The message shown in Figure 35 is then displayed on the LCD screen: Figure 35. Exit from Halt with comparator interrupt message HALT mode Exit: COMP Int. 16/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
Figure 38. Voice recorder message Voice Recorder Record:PressSEL When SEL is pressed, the STM8L15x starts recording voice and the displays the message shown in Figure Figure 39. Stop voice recorder message Voice Recorder Stop:In 30s/UP Doc ID 17964 Rev 1 17/23 www.BDTIC.com/ST...
No Recorded Voice To stop the voice player demo, press the joystick UP. The message shown on Figure 41 then displayed. Otherwise, the STM8L15x will stop automatically at the end of the wave. 18/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
Figure 45. Stored wave message SD Card Not Present Otherwise, if SD card is detected in the connector CN15 the available wave interface is displayed as shown in Figure Figure 46. Available wave message Available Wave USER/xxxxx.WAV Doc ID 17964 Rev 1 19/23 www.BDTIC.com/ST...
This menu shows the firmware version. When this submenu is selected the message shown Figure 50 is displayed on the LCD screen: Figure 50. Displaying the demonstration firmware version STM8L1528-EVAL FW Version x.y.z Press the joystick UP to exit this menu. 20/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
Extract the content of the downloaded zip file to the directory of your choice. Power on the STM8L1528-EVAL board and connect it to the debug instrument. Select the folder corresponding to your preferred toolchain (STVD, EWARMv6 or RIDE).
TIM1 Voice recorder TIM2 All demos (time base) TIM4 Audio Player SPI1 All demos + Audio Player +Voice recorder Calendar Revision history Table 3. Document revision history Date Revision Changes 27-Sep-2010 Initial release. 22/23 Doc ID 17964 Rev 1 www.BDTIC.com/ST...
Page 23
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 STM8L1528-EVAL and is the answer not in the manual?
Questions and answers