Easy-to-use firmware libraries for STR91xFA

The standard firmware library for the STR91xFA ARM966E-SŪ 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:

ADC Example1 Uses the ADC configured in single mode with interrupt
  Example2 Uses ADC triggered through the external pin to start the conversion, and taking advantage of DMA capability to transfer the converted values.
       
CAN     Uses the CAN peripheral in loopback mode.
     
DMA     Uses the DMA Linked list items to perform a scattering of a buffer in the SRAM to three other buffers in another location in memory.
       
EMI Example1 Configures the EMI in 8bits Non-Mux mode to access to 8 bits data external memory.
  Example2 Configures the EMI in 16bits Mux mode to access to 16 bits data external memory.
       
ARM9 STR9 Firmware Library Folder Example
FMI     Shows how to perform a write operation in sector0 of bank1.
       
GPIO     Configures GPIO peripheral to toggle leds connected to GPIO9.
       
I2C     Sets a communication between the two I2Cs and performs a transfer from Master to Slave and from Slave to Master in interrupt mode.
       
MC     Configures the MC peripheral to generate three complementary PWM signals, with insert of a defined dead time value and using the Tacho interface in hardware Mode.
     
RTC Example1 Configures the RTC time, date and alarm. When the alarm occurs (5 seconds from configured time), GPIO9.2 starts to toggle.
  Example2 Configures the RTC for generating a 1024Hz periodic interrupt.
       
SSP Example1 Sets a communication between the two SSPs and performs a transfer from Master to Slave and from Slave to Master in Motorola frame format.
  Example2 Sets a communication with the SSP Flash memory (ST M25P64 Flash memory) available on STR910-EVAL board (MB460).
       
TIM Example1 Uses the TIM peripheral and gives an example of how to configure the TIM0 in PWM and TIM2 in OPM mode.
  Example2 Uses TIM1 output Compare 1 interrupt for toggling GPIO4.1.
       
UART     Use the UART with hardware flow control and communicate with the Hyperterminal of your computer machine..
       
WDG Example1 Configures the watchdog in timer mode and enables the generation of an End of count interrupt each elapsed time.
  Example2 Configures the watchdog peripheral on watchdog mode and restarts the watchdog after elapsed time.
       
WIU     Configures a wakeup interrupt line28 (External group 3) to generate a FIQ interrupt.
 

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


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