Back to Release page

Release Notes for STM8L15x/16x/05x/AL31-L Standard Peripherals Library Examples (StdPeriph_Examples)

Copyright 2014 STMicroelectronics

 

Contents

  1. STM8L15x/16x/05x/AL31-L Standard Peripherals Library Examples update History
  2. License

STM8L15x/16x/05x/AL31-L Standard Peripherals Library Examples update History

V1.5.2 / 30-September-2014

Main Changes

  • IWDG
    • Update the IWDG configuration seqeunce in the IWDG_Example.

V1.5.1 / 28-June-2013

Main Changes

  • Update License disclaimer on all examples files
  • Update all examples readme file to add precision on the evaluation boards drivers to be used.

V1.5.0 / 13-May-2011

Main Changes

  • Update almost examples to use Single function for IP configuration(IP, CLK, GPIO, DMA...)
  • Update almost examples readme files to add support of stm8l15x Low Density devices
  • Add Library_Examples html file to provide the list, description and supported devices by all available examples.
  • ADC 
    • ADC_DMA example updated use single conversion mode triggered by timer.
  • AES
    • AES_MultipleBlockEncryptDecrypt example updated by replacing DMA_Init() function by DMA_SetCurrDataCounter() function when re-configuring Channel0
  • DMA
    • Add a file in DMA example forlder to provide the Complete list of DMA examples provided within the whole package
  • I2C
    • I2C_DataExchange example updated to support 10-bit addressing mode.
  • IWDG
    • IWDG_RearmReset example removed and replaced by new added IWDG_Example to show how to update at regular period the IWDG reload counter and to simulate a software fault generating an MCU IWDG reset on expiry of a programmed time period.

1.4.0 - 09/24/2010

  1. General
  • Update all examples to support stm8l15x High Density devices
  • Update all examples to use new "stm8l15x_it.c" and "stm8l15x_it.h" template files.
  • Add new examples for AES, COMP, DAC, DMA, RTC, TIMs.
  1. STM8L15x_StdPeriph_Examples
  • ADC
    • ADC_IDD_measurement example updated to measure consumption in HALT mode in addition to RUN mode, and to use timing_delay implementation available under Utilities\Misc.
    • ADC_IT example updated to use timing_delay implementation available under Utilities\Misc.
  • CLK
    • Update CLK example to use timing_delay implementation available under Utilities\Misc

  • COMP
    • Add new examples:
      • COMP_AnalogVoltageMonitoring to show how to use ADC1 and COMP2 to monitor analog voltage.
      • COMP_FrequencyMeasurement to show how to use COMP2 to measure external signal frequency and duty cycle.
      • COMP_PWMSignalControl to show how to use COMP2 to control PWM signals of TIM1.
      • COMP_AnalogWatchdog to show how to use COMP1 and COMP2 in window mode to make an analog watchdog.
  • DAC
    • Add new DAC_NoiseTriangleGenerator example to show how to use DAC Noise and Triangle Generator feature.
  • DMA
    • Add new examples:
      • DMA_ChannelsPriority to show how to use DMA to transfer data with different channels priorities.
      • DMA_TIIM1BurstMode to show how to use DMA to transfer data in Burst mode from RAM buffer to TIM1.
      • DMA_WFE to show how to use DMA to transfer data during wfe low power mode. 
      • DMA_WFI to show how to use DMA to transfer data during wfi low power mode.
  • FLASH
    • FLASH_Data_Program example updated to perform block operation and to highlight the steps to use for functions execution from RAM
  • LCD
    • LCD_SegmentsDrive example updated to highlight new features of stm8l152x High Density devices LCD 
  • RTC
    • Add new examples:
      • RTC_ChronoSubSecond to show how to use  RTC as a chronometer.
      • RTC_PeriodicWakeup500ms to show how to use RTC periodic Wakeup unit to toggle leds each 500ms.
      • RTC_Tamper1Detection to show how to use  RTC Tamper1 Filter feature.
      • RTC_WakeUpLPMode to show how to use RTC wake up from Low power Mode.
  • TIMs
    • TIM1 add new examples:
      • TIM1_DMABurstMode to show how to use DMA to transfer data in Burst mode from RAM buffer to TIM1.
      • TIM1_Synchro to show how to synchronize TIM1 with TIM2 and TIM3 using TIM1 update event.
    • TIM2 add new TIM2_TRIGLSE example to show how to generate PWM signal using LSE clock source for TIM2 counter.

1.3.0 - 07/14/2010

  1. General
  • Update all examples to support IAR Embedded Workbench for STM8 (EWSTM8) toolchain.
  • Update all examples to use new "stm8l15x_it.c" template file.
  1. STM8L15x_StdPeriph_Examples
  • I2C
    • Update Two boards I2C examples (I2C_DataExchange & I2C_JoystickPlay) by removing toolchains related defines in variables declarations.
  • RTC
    • Update RTC example to use the standard library printf function instead of the customized reduced one.

1.2.0 - 05/14/2010

  1. General
  • Update almost examples with the use of stm8_eval.h file instead of stm8l_eval.h and new Common utilities drivers
  • Add new examples: I2C two boards, SPI Slave with DMA.
  1. STM8L15x_StdPeriph_Examples
  • ADC
    • Update all ADC examples to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common.
  • CLK
    • Update CLK example to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common.
  • DMA
    • Update DMA_USARTtoRAM example to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common.
  • EXTI
    • Update EXTI example to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common.
  • I2C
    • EEPROM example: the i2c_ee.h/.c files are removed. The example is using the new Serial EEPROM driver stm8_eval_i2c_ee.h/.c driver available under Utilities\STM8_EVAL\Common.
    • TSENSOR example: the tsensor.h/.c files are removed. The example is using the new temperature sensor driver stm8_eval_i2c_tsensor.h/.c driver available under Utilities\STM8_EVAL\Common.
    • Add new example : I2C_DataExchange which is two boards based and aims to illustrate basic master and slave I2C communication steps and data exchange.
    • Add new example : I2C_JoystickPlay which is two boards based and consists of a small application where joystick buttons are used to trigger I2C communication.
  • PWR
    • Update PWR_PVD_Halt example to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common.
  • RTC
    • Update RTC example to use new stm8_eval_lcd.c/.h driver available under Utilities\STM8_EVAL\Common, combined with the reduced printf function available under Utilities\Misc.
  • SPI
    • SPI_FLASH example : the spi_flash.h/.c files are removed. The example is using the new Serial SPI FLASH driver stm8_eval_spi_flash.h/.c driver available under Utilities\STM8_EVAL\Common.
    • SPI_MSD example : the msd.h/.c files are removed. The example is using the new SPI sd driver stm8_eval_spi_sd.h/.c driver available under Utilities\STM8_EVAL\Common.
    • Add new example : SPI_SlaveDMA that provides a description of how to use the SPI firmware library to configure SPI as Slave receiver in DMA mode.

License

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this package except in compliance with the License. You may obtain a copy of the License at:


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

 


For complete documentation on STM8L 8-bit microcontrollers platform visit www.st.com