Easy-to-use firmware libraries for STR71x

The standard firmware library for the STR71x ARM7TDMI™ core-based microcontrollers is complete package consisting of device drivers for all of
the standard device peripherals. Each device driver includes a set of functions covering full peripheral functionality. The source code, developed in C language, is highly documented and thoroughly tested.

Links below connect to example folder. The package contains the following examples:

ADC12 adc_int Use the ADC12 in single channel conversion mode with interrupt
  polling Use the ADC12 in single channel conversion mode with polling and ADC calibration.
       
APB     Use the APB peripheral features by controlling clock gating for the peripherals
       
BSPI fifo Set a communication between the two BSPIs and performs a transfer from Master to Slave and then store data from Slave in a buffer.
  Interrupt Set a communication between the two BSPIs and performs a transfer from Master to Slave and then store data from slave in a buffer using the BSPI receive FIFO FULL interrupt.
       
ARM7 STR7 Software Library Folder Example
CAN     Set a communication in loopback mode with polling and interrupt combined with silent mode.
       
EMI     Use the external memory interface to write words in the external SRAM
       
GPIO     Gives a configuration sequence for the GPIOs
       
I2C     Use the I2C firmware library to communicate with an M24C08 EEPROM
       
PCU     Configure the system to go into STOP mode and wake-up using EXTI Line interrupts.
       
RCCU     Configure the system clock source, MCLK, PCLK1 and PCLK2 prescaler
       
RTC     Setup the RTC peripheral, in terms of prescaler and interrupts, to generate an RTC second interrupt.
       
TIM Music Play a PWM wave generation
  OCMP Configure the TIM peripheral in Output Compare mode
  OPM Generate a pulse when an external rising edge is detected on the input capture A pin
  PWMI Measure the frequency and the duty-cycle of an input sequare signal using the timer Input Capture A module
  PWMO Configure the TIM peripheral in PWM (Pulse Width Modulation) mode
       
UART

fifo:

 
   

example1

Set a communcation between UART and the Hyperterminal using the UART receive Half Full and UART receive Buffer Not Empty interrupt
   

example2

Set a communcation between UART and the Hyperterminal
  interrupt Set a communcation between UART and the Hyperterminal using Fifo interrupts
  polling Set a communcation between UART and the Hyperterminal using flags
       
WDG     configure the Watchdog Timer peripheral in Free running Timer Mode and Watchdog mode
       
XTI     Configure an external interrupt line
 

All examples are independent from any software tool chain and running on STMicroelectronics STR710-EVAL board and can be easily tailored to any other hardware.


Software and documents
For complete documentation refer to www.st.com/STR7