|
IP
Module
|
|
Example
| | | |
| |
Name
|
Brief
Description
| | | |
|
ADC
|
|
ADC_BasicExample
|
This
example describes how to use the ADC to convert continuously the voltage applied to a given analog input channel.
| | | |
| |
ADC_DMA
|
This example describes how to use the ADC and DMA to transfer continuously converted data from ADC to memory.
| | | |
| |
ADC_AnalogWatchdog
|
This example describes how to use the ADC analog watchdog to guard continuously on ADC channel.
| | | |
|
CEC
|
|
CEC_DataExchange
|
This example provides a basic communication between two HDMI-CEC devices using interrupts.
| | | |
| |
CEC_ListenMode
|
This
example provides a basic communication between two HDMI-CEC devices
using interrupts and an spy CEC device which receives messages
addressed to different destination.
| | | |
| |
CEC_MultiAddress
|
This
example provides a basic communication between two HDMI-CEC devices
using interrupts, which the follower one supports two addresses at the
same time.
| | | |
|
COMP
|
|
COMP_AnalogWatchdog
|
This
example shows how to make an analog watchdog using the STM32F37x COMPs
peripherals in window mode: If the input voltage is above the higher
threshold, LD3 and LD1 are turned On. If the input voltage is under the
lower threshold, LD2 and LD4 are turned On. If the input voltage is
within the thresholds, the MCU remains in STOP mode and all leds are
turned Off.
| | | |
| |
COMP_LDR
|
This
example shows how to configure the comparator which can be used in combination with DAC peripheral to mesure the light intensity (using the LDR sensor).
| | | |
| |
COMP_PulseWidthMeasurement
|
This
example shows how to configure the COMP2 peripheral to measure pulse
width. This method (measuring signal pulse using comparator is
interesting when external signal doesn't respect the VIL and VIH
levels).
| | | |
| |
COMP_PWMSignalControl
|
This
example shows how to configure COMP1 peripheral to hold on safe state
(low level) TIM2 channels as soon as COMP1 output is set at high level.
| | | |
|
CRC
|
|
CRC_32BitsCRCMessage
|
This example aims to show how to use the CRC peripheral in order to compute 32-bit CRC checksum of a message.
| | | |
| |
CRC_8BitsCRCMessage
|
This example aims to show how to use the CRC peripheral in order to compute 8-bit CRC checksum of a message.
| | | |
| |
CRC_TwoBoards
|
This example aims to show how to verify CRC checksum during USART communication between two STM32F37x boards.
| | | |
|
DAC
|
|
DAC_ADC
|
This
example describes how to use the ADC1 and DAC to output on DAC_OUT1
sampled values of ADC1 channel5.
| | | |
| |
DAC_SignalsGeneration
|
This
example provides a short description of how to use the DAC peripheral
to generate several signals using DMA controller. When the user presses
the KEY push-button, DMA transfers the two selected waveforms to DAC.
| | | |
|
DMA
|
|
DMA_ADCToTIM3Transfer
|
This
example provides a description of how to use a DMA channel to transfer
continuously a data from a peripheral (ADC1) to another peripheral
(TIM3) supporting DMA transfer.
| | | |
| |
DMA_FLASHToRAMTransfer
|
This
example provides a description of how to use a DMA channel to transfer
a word data buffer from FLASH memory to embedded SRAM memory.
| | | |
| |
DMA_RAMToDACTransfer
|
This
example provides a description of how to use a DMA channel to transfer
data buffer from RAM memory to DAC.
| | | |
|
EXTI
|
|
EXTI_Example
|
This
example shows how to configure an external interrupt line. The EXTI line is configured to generate an interrupt on each
falling edge.
| | | |
|
FLASH
|
|
FLASH_Program
|
This example provides a description of how to program the STM32F37x FLASH.
| | | |
| |
FLASH_WriteProtection
|
This
example provides a description of how to enable and disable the write
protection for the STM32F37x FLASH.
| | | |
|
GPIO
|
|
GPIO_Toggle
|
This
example describes how to use GPIO BSRR (Port bit set/reset register)
for IO toggling max frequency.
| | | |
|
I2C
|
|
I2C_EEPROM
|
This
firmware provides a basic example of how to use the I2C firmware
library and an associate I2C EEPROM driver to communicate with an I2C
EEPROM device (here the example is interfacing with M24M01 or M24LR64 EEPROM)
| | | |
| |
I2C_TSENSOR
|
This
example provides a description of how to use the I2C to communicate
with an STLM75 (or a compatible device) I2C temperature sensor is
mounted on the STM32373C-EVAL board and used to get instantaneous
external temperature (-55°C to +125°C).
| | | |
| |
I2C_TwoBoards
|
This example shows how to use the CPAL library to control I2C devices and communicate between two different boards.
| | | |
| |
I2C_WakeUpFromStop
|
This
example shows how to use the WakeUp from STOP feature of I2C device
using the CPAL library. This example requires two boards, one
configured in master mode and another one configured in slave mode.
| | | |
|
I2S
| |
I2S_DataExchangeDMA
|
This
example provides a description of how to set a communication between
two SPIs in I2S mode using DMA and performing a transfer from Master to
Slave.
| | | |
| |
I2S_DataExchangeInterrupt
|
This
example provides a description of how to set a communication between
two SPIs in I2S mode using interrupts and performing a transfer from
Master to Slave.
| | | |
|
IWDG
|
|
IWDG_Reset
|
This
example shows how to update at regular period the IWDG reload counter
and how to simulate a software fault generating an MCU IWDG reset on
expiry of a programmed time period.
| | | |
| |
IWDG_WinwdowMode
|
This
example shows how to update at regular period the IWDG reload counter
and how to simulate a software fault generating an MCU IWDG reset on
expiry of a programmed time period using window mode feature.
| | | |
|
LIB_DEBUG
|
|
Lib_DEBUG_Example
|
This
example demonstrates how to declare dynamic peripherals pointers used
for Debug mode.
| | | |
|
NVIC
|
|
NVIC_IRQMask
|
This example demonstrates the use of the Nested Vectored Interrupt Controller (NVIC).
| | | |
| |
NVIC_IRQPriority
|
This example shows how to configure interrupt priorities.
| | | |
| |
NVIC_WFIMode
|
This example shows how to enter the system to WFI mode and wake-up from this mode using external interrupt.
| | | |
|
PWR
|
|
PWR_Standby
|
This
example shows how to enter the system to STANDBY mode and wake-up from
this mode using RTC Alarm.
| | | |
| |
PWR_Stop
|
This
example shows how to enter the system to STOP mode and wake-up using
EXTI Line interrupts.
| | | |
| |
PWR_CurrentConsumption
|
This
example shows how to configure the STM32F37x system to measure
different Low Power modes current consumption.
| | | |
|
RCC
|
|
RCC_Example
|
This example shows how to: - Configure the PLL (clocked by HSE) as System clock source - Use the Clock Security System (CSS) feature to detect HSE failure - Output the System clock on MCO pin
| | | |
|
RTC
|
|
RTC_Calendar
|
This
example demonstrates and explains how to use the RTC peripheral. As an
application example, it demonstrates how to setup the RTC peripheral,
in terms of prescaler and interrupts, to be used to keep time and to
generate alarm interrupt.
| | | |
| |
RTC_Tamper
|
This
example shows how to write/read data to/from RTC Backup data registers
and demonstrates the Tamper detection feature.
| | | |
| |
RTC_LSI
|
This
example demonstrates and explains how to use the LSI clock source auto
calibration to get a precise RTC clock.
| | | |
| |
RTC_StopWatch
|
This example illustrates how to simulate a precise chronometer
with 5 record times possibilities stored in the Backup registers (5
registers for time (second, minutes and hours) and 5 registers for
subsecond).
| | | |
| |
RTC_Timer
|
This
example provides a short description of how to use the RTC peripheral’s
with Alarm sub seconds feature to simulate a timer with refresh time
equal to 250 ms (1 second/ 8) * 2).
| | | |
|
SPI
|
|
SPI_MSD
|
This
example provides a basic example of how to use the SPI firmware library
and an associate SPI SDcard driver to communicate with an SDcard
available on The eval board.
| | | |
| |
SPI_DataExchangeDMA
|
This
example provides a small application in which joystick buttons are used
to trigger SPI communication and though using SPI firmware library.
| | | |
| |
SPI_DataExchangeInterrupt
|
This
example provides a small application in which joystick buttons are used
to trigger SPI communication and though using SPI firmware library.
| | | |
|
SYSCFG
| |
SYSCFG_PVD
|
This example shows how to configure the programmable voltage detector.
| | | |
|
SysTick
|
|
SysTick_Example
|
This
example shows how to configure the SysTick to generate a time base
equal to 1 ms. The system clock is set to 72 MHz, the SysTick is
clocked by the AHB clock (HCLK).
| | | |
|
TIM
| |
TIM_DMABurst
|
TThis example shows how to update the TIM2 channel1 period and the duty cycle using the TIM DMA burst feature.
| | | |
| |
TIM_EncoderMode
|
This example shows how to configure the TIM peripheral to interface with a encoder sensor. The TIM3 is configured in encoder mode1: Counter counts up/down on TI2 rising edge depending on TI1 level
| | | |
| |
TIM_InputCapture
|
This example shows how to use the TIM peripheral to measure the frequency of an external signal.
| | | |
| |
TIM_OCActive
|
This
example shows how to configure the TIM peripheral to generate four
different signals with four different delays.
| | | |
| |
TIM_OCToggle
|
This
example shows how to configure the TIM3 peripheral to generate four
different signals with four different frequencies.
| | | |
| |
TIM_OnePulse
|
This
example shows how to use the TIM peripheral to generate a One pulse
Mode after a Rising edge of an external signal received in Timer
Input pin.
| | | |
| |
TIM_PWMInput
|
This
example shows how to use the TIM peripheral to measure the frequency
and duty cycle of an external signal.
| | | |
| |
TIM_Synchronization
|
This example shows how to synchronize TIM peripherals in cascade mode.
| | | |
| |
TIM_TimeBase
|
This
example shows how to configure the TIM peripheral in Output Compare
Timing mode with the corresponding Interrupt requests for each channel
in order to generate 4 different time bases.
| | | |
|
USART
|
|
USART_Printf
|
This
example shows how to retarget the C library printf function to the
USART. This implementation output the printf message on the
Hyperterminal using USART2 (EVAL_COM1).
| | | |
| |
USART_HyperTerminalInterrupt
|
This
example provides a description of how to use the EVAL_COM1 when using
the STM32373C-EVAL Transmit and Receive interrupts to communicate with
the hyperterminal.
| | | |
| |
USART_AutoBaudRate
|
This example provides a description of how to use the Auto BaudRate capability of the USART via the HyperTerminal.
| | | |
| |
USART_WakeUpFromStop
|
This example provides a description of how to use the WakeUp from STOP mode capability of the USART via the hyperterminal.
| | | |
| |
USART_DataExchangeDMA
|
This
example provides a small application in which joystick buttons are used
to trigger UART communication and though using UART firmware library.
| | | |
| |
USART_DataExchangeInterrupt
|
This
example provides a small application in which joystick buttons are used
to trigger UART communication and though using UART firmware library.
| | | |
|
WWDG
|
|
WWDG_Example
|
This
example shows how to update at regular period the WWDG counter and how
to simulate a software fault generating an MCU WWDG reset on expiry of
a programmed time period.
| | | |
|
CAN
| |
CAN_DualFIFO
|
This
example shows how to configure the CAN peripheral to send and receive
CAN frames in normal mode and using FIFO0 and FIFO1. The sent frames
are used to control Leds by pressing key or SEL push buttons.
| | | |
| |
CAN_FIFOExtension
|
This example shows how to manage both CAN FIFO as a single FIFO composed by 6 mail boxes.
| | | |
| |
CAN_LoopBack
|
This example provides a description of how to set a communication with the CAN in loopback mode.
| | | |
| |
CAN_Networking
|
This
example shows how to configure the CAN peripheral to send and receive
CAN frames in normal mode. The sent frames are used to control Leds by
pressing key push button.
| | | |
|
SDADC
| |
SDADC_PressureMeasurement
|
This
example aims to show how to use the 16-bit resolution
Sigma-DeltaAnalog-to-Digital converter to perform differential pressure
measurement using the MPX2102A sensor mounted on the STM32373C-EVAL
evaluation board.
| | | |
| |
SDADC_TempMeasurement
|
This
example aims to show how to use the 16-bit resolution
Sigma-DeltaAnalog-to-Digital converter to perform accurate temperature
measurement using the PT100 sensor connected to PE7 in the
STM32373C-EVAL evaluation board.
| | | |
| |
SDADC_Voltmeter
|
This
example aims to show how to use the 16-bit resolution
Sigma-DeltaAnalog-to-Digital converter to perform precise voltage
measurement when input voltage is ranges between 0V and VREF/gain.
| | | |
|
|
|
|