STM32CubeF3/Projects/STM32F3348-Discovery/Demonstrations/readme.txt

91 lines
3.5 KiB
Plaintext

/**
@page STM32F3348-Discovery_Demo Demonstration
@verbatim
******************** (C) COPYRIGHT 2016 STMicroelectronics *******************
* @file Demonstration/readme.txt
* @author MCD Application Team
* @brief Description of the STM32F3348-Discovery Demonstration
******************************************************************************
* @attention
*
* Copyright (c) 2016 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
@endverbatim
@par Demo Description
Demonstration firmware based on STM32Cube. This example helps you to discover
STM32 Cortex-M devices that are plugged onto your STM32 Discovery board.
In Normal mode (User button not pressed at startup) :
- OFF Mode :
- BUCK LED is off, only LEDs are blinking
- Time between the blinking decreased
- DIMMER Mode (press USER button) :
- LED intensity is automatically increased then decreased
- Red LED is ON when intensity increased
- Blue LED is ON when intensity decreased
- FLASH Mode (press USER button) :
- LED is driven @10Hz frequency (20% time ON) at maximum intensity
- Green and orange LEDs toggle alternatively
- Manual Mode (long press on USER button) :
- LED Intensity is adjusted manually by keeping pressed USER button
- LED intensity increase or decrease alternatively
- Always starts with low intensity value for first time
In Test mode (User button pressed at startup) :
- VIN should be connected to 5V_O
- Green and blue LEDs blink quickly to indicate test mode
- BOOST mode test (when releasing User button)
- VOUT voltage equals to 10V (can be controlled by multimeter)
- Green LED is ON and blue LED is blinking
- BUCK mode test (press USER button) :
- VOUT voltage equals to 2V (can be controlled by multimeter)
- Blue LED is ON and green LED is blinking
- LEDs test (press USER button) :
- All four LEDs are blinking
- If orange LED is blinking :
- VIN voltage is not available or not in the 4.5V to 5.5V range
- VIN voltage's ADC acquisition is not correctly done (incorrect ADC values or timeout)
- If red LED is blinking :
- BUCK or BOOST mode regulation don't work (target voltage not reached before timeout)
- VIN voltage released during the BUCK or BOOST mode
(*) If VIN is not connected to +5V, after green and blue LEDs blink quickly to indicate test mode,
when releasing User button, all four LEDS are turned ON.
@par Directory contents
- Demonstration/stm32f3xx_hal_conf.h HAL Configuration file
- Demonstration/stm32f3xx_it.c Interrupt handlers
- Demonstration/stm32f3xx_it.h Interrupt handlers header file
- Demonstration/main.c Main program
- Demonstration/system_stm32f3xx.c STM32F3xx system source file
@par Hardware and Software environment
- This Demonstration has been tested with STMicroelectronics STM32F3348-DISCO board
and can be easily tailored to any other supported device and development board.
- This Demonstration runs on STM32F334R8 Devices.
@par How to use it ?
In order to make the program work, you must do the following :
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the example
*/