en.NUCLEO-F070RB_Demo
stm32 

所属分类:单片机开发
开发工具:C/C++
文件大小:247KB
下载次数:0
上传日期:2020-12-22 10:50:35
上 传 者Jour
说明:  en.NUCLEO-F070RB_Demo
(STM32 Nucleo-64 development board with onboard STM32F030R8 microcontroller, supporting Arduino and ST morpho connection ports)

文件列表:
NUCLEO-F070RB_demo (0, 2019-04-17)
NUCLEO-F070RB_demo\Binary (0, 2019-04-03)
NUCLEO-F070RB_demo\Binary\STM32CubeF0_Demo_STM32F070RB-Nucleo.hex (104533, 2019-04-03)
NUCLEO-F070RB_demo\Media (0, 2019-04-11)
NUCLEO-F070RB_demo\Media\Images (0, 2019-04-11)
NUCLEO-F070RB_demo\Media\Images\Nucleo (0, 2019-04-11)
NUCLEO-F070RB_demo\Media\Images\Nucleo\10_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\1_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\2_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\3_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\4_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\5_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\6_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\7_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\8_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\9_16.bmp (41026, 2017-10-20)
NUCLEO-F070RB_demo\Media\Images\Nucleo\f0.bmp (41098, 2017-10-20)

/** @page Demo STM32CubeF0_Demo_STM32F070RB-Nucleo.hex @verbatim ****************************************************************************** * @file readme.txt * @author MCD Application Team * @brief Description of NUCLEO-F070R8 RevC Demo ****************************************************************************** * * Copyright (c) 2016 STMicroelectronics. All rights reserved. * * This software component is licensed by ST under Ultimate Liberty license SLA0044, * the "License"; You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * http://www.st.com/SLA0044 * ****************************************************************************** @endverbatim @par Demo Description This demonstration firmware is based on STM32Cube. It helps you to discover STM32 Cortex-M devices that can be plugged on a STM32 Nucleo board. At the beginning of the main program the HAL_Init() function is called to reset all the peripherals, initialize the Flash interface and the systick. Then the SystemClock_Config() function is used to configure the system clock (SYSCLK) to run at 48 MHz. Below you find the sequence to discover the demonstration : - Check the availability of adafruit 1.8" TFT shield on top of STM32 Nucleo board. This is done by reading the state of IO PB.00 pin (mapped to JoyStick available on adafruit 1.8" TFT shield). If the state of PB.00 is high then the adafruit 1.8" TFT shield is available. - Adafruit 1.8" TFT shield is not available: LED2 is toggling with a first frequency equal to ~1Hz. Pressing User button lets LED2 toggling with a second frequency equal to ~5Hz. Pressing User button again, changes LED2 toggling frequency to ~10Hz. This is done in an infinite loop. - Adafruit 1.8" TFT shield is available: LED2 is turned ON, because it's sharing the same pin with the SPI CLK signal used to communicate with the Adafruit 1.8" TFT shield. A menu will be displayed on TFT. Follow instructions below: - Joystick DOWN to continue menu display - Choose the desired display mode: Press Joystick DOWN for automatic mode or Joystick UP for manual mode. - Manual Mode selected: Images available on SD Card, are displayed by pressing Joystick RIGHT to display next image or Joystick LEFT to display previous one. Pressing long (~1s) Joystick SEL, switches display mode to automatic one. - Automatic Mode selected: Images available on SD Card are displayed sequentially in a forever loop. It is worth noting that the application manages some errors occurred during the access to uSD card to parse bmp images: - If SD Card is not FAT formatted, a message will be displayed on TFT. In this case, format the SD card and put into its root directory the .bmp files available within the FW package under \Media folder. - If the content of the SD card is other than a bitmap file, a message will be displayed on TFT mentioning that it is not supported. In this case, put into the SD card's root directory the .bmp files available within the FW package under \Media folder which are respecting the following criteria: o Dimensions: 128x160 o Width: 128 pixels o Height: 160 pixels o Bit depth: 16 o Item type: BMP file o The name of the bmp image file must not exceed 11 characters (including .bmp extension). @par Hardware and Software environment - This example runs on STM32F070xB devices. - This example has been tested with NUCLEO-F070R8 RevC board and can be easily tailored to any other supported device and development board. - A SDSC microSD card (capacity up to 4GB), must contain the .bmp files at root available under the FW package \Media folder. - Adafruit 1.8" TFT shield must be connected on CN5,CN6, CN8 and CN9 Arduino connectors, for more details please refer to UM1726. For more details about the adafruit 1.8" TFT shield, please visit: http://www.adafruit.com/blog/2012/04/26/new-product-adafruit-1-8-18-bit-color-tft-shield-wmicrosd-and-joystick/ @par How to use You can use any in-system programming tool to reprogram the demonstration using these binary files, as described below: + Using "in-system programming tool" such as ST-Link Utility - Connect the NUCLEO-F070R8 board to a PC with a 'USB type A to Micro-B' cable through USB connector CN1 to power the board. - Make sure that the embedded ST-LINK/V2 is configured for in-system programming (both CN2 jumpers ON) - Use "STM32CubeF0_Demo_STM32F070RB-Nucleo.hex" binary with your preferred in-system programming tool to reprogram the demonstration firmware (ex. STM32 ST-LINK Utility, available for download from www.st.com). *

© COPYRIGHT STMicroelectronics

*/

近期下载者

相关文件


收藏者