ST STM8L1528-EVAL Скачать руководство пользователя страница 23

UM1000

Doc ID 17964 Rev 1

23/23

         

 

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 choice, 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 WHICH 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.

© 2010 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

www.BDTIC.com/ST

Содержание STM8L1528-EVAL

Страница 1: ...stored in the Flash program memory of the microcontroller 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...

Страница 2: ...e time 7 3 4 2 Setting the date 8 3 4 3 Setting the alarm 9 3 5 Thermometer demo 10 3 6 IDD measurement demo 11 3 7 Low power demo 12 3 7 1 Run mode 12 3 7 2 Wait for interrupt mode 12 3 7 3 Wait for...

Страница 3: ...nt the keywords in bold indicate user actions on the joystick 5 way switch and the RV3 potentiometer The present document follows the conventions shown in Table 1 Up Up Up Up Up Up Left Right Left Rig...

Страница 4: ...menu items on the left SEL Enters submenu UP Exits from a submenu 2 4 STM8L1528 EVAL board jumper configuration To be able to run the STM8L1528 EVAL demo correctly configure the following STM8L1528 EV...

Страница 5: ...part of the demonstration firmware STM8L1528 Welcome message Main menu HELP HELP CALENDAR Date THERMOMETER About Adjust Show Time Adjust Show Alarm Adjust Show Low Power Audio Audio Player Voice Recor...

Страница 6: ...sage The main menu is then activated and the message shown in Figure 4 is displayed Figure 4 Main menu 3 3 Help mode Pressing SEL from the main menu enters the Help mode The following messages are dis...

Страница 7: ...displayed to show the current time value see Figure 6 2 Enter the first digit of the hour field Pressing the joystick UP increments the current digit value Pressing the joystick DOWN decrements the cu...

Страница 8: ...digit value Pressing the joystick DOWN decrements the current digit value The digit value is limited to a range depending on the date field month day or year 3 After selecting the digit value press SE...

Страница 9: ...is displayed Figure 10 Alarm Adjust message Alarm show Select the Alarm show option to display the current alarm After power up the default alarm time 00 00 00 is displayed till the Alarm adjust optio...

Страница 10: ...When the joystick RIGHT is pressed the temperature in degrees Fahrenheit is displayed on LCD screen as shown in Figure 14 for two seconds then the temperature in degrees Celsius is displayed again Fi...

Страница 11: ...own in Figure 16 is displayed Figure 16 Temperature sensor error message 3 6 IDD measurement demo The STM8L15x microcontroller features an ADC peripheral It measures the IDD current in Run mode by usi...

Страница 12: ...mode submenu contains four submenu items 8 MHz the application runs at 8 MHz 4 MHz the application runs at 4 MHz 2 MHz the application runs at 2 MHz 16 MHz the application runs at 16 MHz Press SEL to...

Страница 13: ...hen the alarm time is reached the system exits from WFI mode the system clock frequency is set to 16 MHz and the application execution resumes The message shown in Figure 23 is then displayed on the L...

Страница 14: ...e system exits from WFE mode and the application execution resumes The message shown in Figure 27 is then displayed on the LCD screen Figure 27 Exit from WFE with comparator interrupt message Note If...

Страница 15: ...upt wakes up the device then all LEDs are ON and a sound is played for 10s The RTC alarm wakes up the MCU from Active halt mode The LEDs blink until SEL is pressed from the Active halt menu see Figure...

Страница 16: ...Halt mode the system clock is set to 16 MHz and the application execution resumes The following message is displayed on the LCD Figure 33 Exit from Halt with EXTI message A Comparator 1 interrupt can...

Страница 17: ...the following message is displayed on the LCD screen Figure 36 Start voice recorder message This message remains displayed until SEL is pressed The STM8L15x then starts erasing the voice data previous...

Страница 18: ...bmenu by pressing the SEL on the joystick The following message remains displayed unless SEL is pressed Figure 41 Audio Player menu message When SEL is pressed the STM8L15x starts playing the voice an...

Страница 19: ...time of sampling Sample rate may be 8000 11025 22050 or 44100 Hz Bits Per Sample 8 bit Audio sample data values are in the range 0 255 Number of Channels 1 Mono The maximum wave files number that can...

Страница 20: ...and the menu shown in Figure 47 is displayed When the audio stream is stopped the stream position is reset and the menu shown in Figure 44 is displayed Note If the SD card is removed the demo will sto...

Страница 21: ...folder to your own SD memory 4 2 Programming the demonstration To upgrade the demonstration firmware running on your board perform the following steps 1 Download the latest version of STM8L1528 EVAL d...

Страница 22: ...mo ADC1 IDD measurement Voice recorder DAC Audio Player COMP 1 Low power External interrupts EXTI Low Power GPIO All demo Clock controller All demo I2C1 Thermometer Audio Player TIM1 Voice recorder TI...

Страница 23: ...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 EXPRES...

Отзывы: