0% found this document useful (0 votes)
43 views10 pages

Description: TIM Project Configuration Report

This document provides a configuration report for the TIM project. It details the MCU selection of an STM32F407VETx, pinout configuration including 4 LED outputs, clock tree setup using the internal HSE crystal oscillator, and TIM3 peripheral configuration to generate a periodic interrupt. NVIC priorities are also defined for enabled interrupts including TIM3.

Uploaded by

aesyop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views10 pages

Description: TIM Project Configuration Report

This document provides a configuration report for the TIM project. It details the MCU selection of an STM32F407VETx, pinout configuration including 4 LED outputs, clock tree setup using the internal HSE crystal oscillator, and TIM3 peripheral configuration to generate a periodic interrupt. NVIC priorities are also defined for enabled interrupts including TIM3.

Uploaded by

aesyop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

TIM Project

Configuration Report

1. Description

1.1. Project

Project Name TIM


Board Name TIM
Generated with: STM32CubeMX 4.19.0
Date 02/10/2017

1.2. MCU

MCU Series STM32F4


MCU Line STM32F407/417
MCU name STM32F407VETx
MCU Package LQFP100
MCU Pin number 100

Page 1
TIM Project
Configuration Report

2. Pinout Configuration

Page 2
TIM Project
Configuration Report

3. Pins Configuration

Pin Number Pin Name Pin Type Alternate Label


LQFP100 (function after Function(s)
reset)
6 VBAT Power
10 VSS Power
11 VDD Power
12 PH0-OSC_IN I/O RCC_OSC_IN
13 PH1-OSC_OUT I/O RCC_OSC_OUT
14 NRST Reset
19 VDD Power
20 VSSA Power
21 VREF+ Power
22 VDDA Power
27 VSS Power
28 VDD Power
49 VCAP_1 Power
50 VDD Power
59 PD12 * I/O GPIO_Output LD4 [Green Led]
60 PD13 * I/O GPIO_Output LD3 [Orange Led]
61 PD14 * I/O GPIO_Output LD5 [Red Led]
62 PD15 * I/O GPIO_Output LD6 [Blue Led]
73 VCAP_2 Power
74 VSS Power
75 VDD Power
94 BOOT0 Boot
99 VSS Power
100 VDD Power

* The pin is affected with an I/O function

Page 3
TIM Project
Configuration Report

4. Clock Tree Configuration

Page 4
TIM Project
Configuration Report

5. IPs and Middleware Configuration

5.1. RCC
High Speed Clock (HSE): Crystal/Ceramic Resonator

5.1.1. Parameter Settings:

System Parameters:
VDD voltage (V) 3.3
Instruction Cache Enabled
Prefetch Buffer Enabled
Data Cache Enabled
Flash Latency(WS) 5 WS (6 CPU cycle)

RCC Parameters:
HSI Calibration Value 16
HSE Startup Timout Value (ms) 100
LSE Startup Timout Value (ms) 5000

Power Parameters:
Power Regulatror Voltage Scale Power Regulator Voltage Scale 1

5.2. SYS
Timebase Source: SysTick

5.3. TIM3
Clock Source : Internal Clock

5.3.1. Parameter Settings:

Counter Settings:
Prescaler (PSC - 16 bits value) 42000-1 *
Counter Mode Up
Counter Period (AutoReload Register - 16 bits value ) 2000 *
Internal Clock Division (CKD) No Division

Trigger Output (TRGO) Parameters:


Master/Slave Mode Disable (no sync between this TIM (Master) and its Slaves

Page 5
TIM Project
Configuration Report

Trigger Event Selection Reset (UG bit from TIMx_EGR)

* User modified value

Page 6
TIM Project
Configuration Report

6. System Configuration

6.1. GPIO configuration

IP Pin Signal GPIO mode GPIO pull/up pull Max User Label
down Speed
RCC PH0- RCC_OSC_IN n/a n/a n/a
OSC_IN
PH1- RCC_OSC_OUT n/a n/a n/a
OSC_OUT
GPIO PD12 GPIO_Output Output Push Pull Pull-down * Low LD4 [Green Led]

PD13 GPIO_Output Output Push Pull Pull-down * Low LD3 [Orange Led]

PD14 GPIO_Output Output Push Pull Pull-down * Low LD5 [Red Led]

PD15 GPIO_Output Output Push Pull Pull-down * Low LD6 [Blue Led]

6.2. DMA configuration

nothing configured in DMA service

Page 7
TIM Project
Configuration Report

6.3. NVIC configuration

Interrupt Table Enable Preenmption Priority SubPriority


Non maskable interrupt true 0 0
Hard fault interrupt true 0 0
Memory management fault true 0 0
Pre-fetch fault, memory access fault true 0 0
Undefined instruction or illegal state true 0 0
System service call via SWI instruction true 0 0
Debug monitor true 0 0
Pendable request for system service true 0 0
System tick timer true 0 0
TIM3 global interrupt true 0 0
PVD interrupt through EXTI line 16 unused
Flash global interrupt unused
RCC global interrupt unused
FPU global interrupt unused

* User modified value

Page 8
TIM Project
Configuration Report

7. Power Consumption Calculator report

7.1. Microcontroller Selection

Series STM32F4
Line STM32F407/417
MCU STM32F407VETx
Datasheet 022152_Rev7

7.2. Parameter Selection

Temperature 25
Vdd 3.3

Page 9
TIM Project
Configuration Report

8. Software Project

8.1. Project Settings

Name Value
Project Name TIM
Project Folder D:\Open407V-D-Demo-HAL\3.TIM\TIM
Toolchain / IDE MDK-ARM V5
Firmware Package Name and Version STM32Cube FW_F4 V1.14.0

8.2. Code Generation Settings

Name Value
STM32Cube Firmware Library Package Copy all used libraries into the project folder
Generate peripheral initialization as a pair of '.c/.h' files Yes
Backup previously generated files when re-generating No
Delete previously generated files when not re-generated Yes
Set all free pins as analog (to optimize the power No
consumption)

Page 10

You might also like