STMicroelectronics Manuals - Page 255

ManualLib has 6,003 STMicroelectronics manuals, in categories such as Anti-Theft Devices, Electronic Original. Every file can be read online or downloaded as a PDF for free.

STMicroelectronics manuals, page 255

  • ST AN2986 Application Note

    Presents a precise calculation procedure to correctly set the necessary parameters when using a 3.3 V power supply.

  • ST AN2821 Application note handbook

    This application note describes the implementation of the internal RTC (real-time clock) of the 32-bit, ARM Cortex-M3-based medium-density STM32F10xxx microcontroller. It provides a set of continuously running counters, which can be used to implement a clock/calendar function using suitable software. The RTC and backup registers are supplied through a switch that draws power from either the VDD supply or the backup battery. Thus, the RTC runs even when the main supply is switched off. This application note provides an example of how to implement the clock/calendar functionality using the medium-density STM32F10xxx microcontroller in low-power and standard applications. The firmware example also performs leap year counting and tamper time stamping. It provides a low-power mode demonstration and a basic RTC calibration routine to compensate for crystal and temperature variations. The STM3210B-EVAL board supports the firmware example described in this application note without any modification to its hardware.

  • ST AN2822 Application note handbook

    This application note describes how to take advantage of the 16 MHz internal RC oscillator trimming feature on the STM8S and STM8A microcontroller to improve the frequency accuracy of the system compensating voltage and temperature frequency drift. The calibration technique, using the mains frequency as a timebase, is presented with an example of both hardware and software solutions. The example source code can be downloaded from the www.st.com. To benefit fully from the information in this application note, the user should be familiar with the STM8S and STM8A microcontroller architecture and with the basics of C language. For further information on the STM8S and STM8A family features, pinout, electrical characteristics, mechanical data and ordering information, please refer to the STM8S and STM8A datasheets. This document and its associated firmware, are written to accompany the STM8S and STM8A firmware library. Please contact STMicroelectronics for information on the STM8S and STM8A firmware library.

  • ST AN2824 Application note handbook

    This application note provides I2C firmware optimized examples based on polling, interrupts and DMA, covering the four I2C communication modes available in the STM32F10xxx, that is, slave transmitter, slave receiver, master transmitter and master receiver.

  • ST AN2834 Application note handbook

    This application note describes how to achieve optimum ADC accuracy on the STM32F10xxx. It first introduces various factors related to ADC design, such as external hardware design parameters and different types of ADC error sources. Then, some design recommendations are given, and how to reduce errors in hardware is proposed.

  • ST AN2857 Application note handbook

    This application note is intended for system designers who require a hardware implementation overview of the low-power modes of the STM8S and STM8A product families. It shows how to use the STM8S and STM8A devices in these modes, describes how to take power consumption and wakeup time measurements, and gives results for such measurements.

  • ST AN2857 handbook

    This application note provides an overview of the hardware implementation of STM8S low-power modes and provides firmware examples to measure STM8S power consumption and wake-up time in different modes.

  • ST AN2860 handbook

    This is an application note about the EMC features of STM8 microcontrollers.

  • ST AN2867 handbook

    This application note introduces the Pierce oscillator basics and provides some guidelines for a good oscillator design.

  • ST AN2868 handbook

    This document describes the methods for calibrating the internal RC oscillator (HSI) of the STM32F10xxx microcontrollers. By calibrating, the accuracy of the HSI frequency can be improved, which is crucial for communication peripherals.

  • ST AN2780 Application note Real-time keeping on STM8S STM8A devices usage of auto-wakeup unit (AWU) beeper handbook

    The purpose of this application note is to explain how to keep real-time information on a STM8S or STM8A device maintained in low power mode. Only simple solutions which do not require any additional hardware are described in this application note. They are suitable for applications which do not need a very accurate real- time measurement. To benefit fully from the information in this application note, the user should be familiar with the STM8S and STM8A microcontroller architecture and with the basics of C language. For further information on the STM8S and STM8A family features, pinout and electrical characteristics, please refer to the STM8S and STM8A datasheets. An STM8S and STM8A firmware package is delivered with this application note. It contains the complete C source code of an example described in this application note, so that the user can compile, link or modify it as necessary. This document and its associated firmware package, are written to accompany the STM8S and STM8A firmware library. It includes many examples describing how to use the STM8S and STM8A timers, the clock system, the beeper and the auto-wakeup unit mentioned in this application note.

  • ST AN2781 Application note UART emulation software in STM8S STM8A microcontrollers handbook

    This application note describes how to emulate the UART behavior and functionality using routines in STM8S microcontrollers. The UART peripheral is emulated on hardware that has the capture & compare interrupt capability. Such emulation is useful in applications that require more than one UART, or when the dedicated serial communication hardware peripherals are being used in another way. This software solution is suitable for standard full-duplex speeds of up to 57 600 Bd for the core running at 24 MHz or, of up to 19200 Bd for the core running at 16 MHz. Its main feature is that it runs in the background with a time reserve, so that the main process stream can continue and control the rest of the application processes. The higher communication speeds can be achieved when polling and controlling I/O pins in the main stream, but, as a result, the control of all other application processes is sidetracked while receiving or sending a message and the full-duplex capability might even be lost. Standard data frame formats are supported, as well as options like parity, ninth data bit and double stop bit. Double data registers, noise detection logic, frame generation and overflow logic are implemented with minimum MCU hardware usage. A firmware package is delivered with this document. It contains the complete C source code so that the user can compile.

  • ST AN2790 Application note TFT LCD interfacing with the high-density STM32F10xxx FSMC handbook

    AN2790 application note describes how to use the STM32F10xxx FSMC (flexible static memory controller) to drive a TFT color LCD.

  • ST AN2792 Application note STM8A easy programmer handbook

    This application note describes the easy programmer which is a low cost solution allowing the content of the STM8A Flash program memory to be updated when the chip is already soldered on the application board.

  • ST AN2800 Application note STM8A UART emulator handbook

    This application note describes a technique to emulate the universal asynchronous receiver transmitter (UART) hardware peripheral, through the microcontroller medium end timer (TIMER3), without the use of additional hardware. TIMER3 was chosen for this purpose because its capture and compare features can be easily used to receive and transmit data in a non return to zero (NRZ) serial format. This timer also provides a necessary time reference to establish when to send and read each outgoing and incoming data frame bit. In addition, TIMER3 was chosen because it has all the necessary features to build a software UART. Features include two timer channels, one for transmission (TIMER3_CC2) and one for reception (TIMER3_CC1). The input capture feature of channel one allows detection of an incoming data frame start bit, whereas its compare feature indicates when the bits have to be read. The output compare feature of channel two allows transmission of a data frame. The algorithm described in this document is an example which can be further customized and improved. It is explained in Section 7: The UART emulator software algorithm on page 14, together with information on how to configure and use a UART emulator. The algorithm handles several UART hardware features via software such as, selection of the operating mode, noise and frame error detection, programmable data word length and configurable stop