0% found this document useful (0 votes)
93 views13 pages

TP 1

The document is a configuration report for a project called tp1 that is configured to run on an STM32F030CCTx microcontroller. It summarizes the pinout, clock tree, software project settings, and configurations for various IPs including GPIO, RCC, USART2, and FreeRTOS. The report provides details on the parameter settings for these components.

Uploaded by

Sellami Wafa
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)
93 views13 pages

TP 1

The document is a configuration report for a project called tp1 that is configured to run on an STM32F030CCTx microcontroller. It summarizes the pinout, clock tree, software project settings, and configurations for various IPs including GPIO, RCC, USART2, and FreeRTOS. The report provides details on the parameter settings for these components.

Uploaded by

Sellami Wafa
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/ 13

tp1 Project

Configuration Report

1. Description
1.1. Project

Project Name tp1


Board Name custom
Generated with: STM32CubeMX 5.4.0
Date 11/24/2019

1.2. MCU

MCU Series STM32F0


MCU Line STM32F0x0 Value Line
MCU name STM32F030CCTx
MCU Package LQFP48
MCU Pin number 48

Page 1
tp1 Project
Configuration Report

2. Pinout Configuration

Page 2
tp1 Project
Configuration Report

3. Pins Configuration

Pin Number Pin Name Pin Type Alternate Label


LQFP48 (function after Function(s)
reset)
1 VDD Power
5 PF0-OSC_IN I/O RCC_OSC_IN
6 PF1-OSC_OUT I/O RCC_OSC_OUT
7 NRST Reset
8 VSSA Power
9 VDDA Power
10 PA0 * I/O GPIO_Output
11 PA1 * I/O GPIO_Output
12 PA2 I/O USART2_TX
13 PA3 I/O USART2_RX
23 VSS Power
24 VDD Power
35 VSS Power
36 VDD Power
44 BOOT0 Boot
47 VSS Power
48 VDD Power

* The pin is affected with an I/O function

Page 3
tp1 Project
Configuration Report

4. Clock Tree Configuration

Page 4
tp1 Project
Configuration Report

5. Software Project
5.1. Project Settings

Name Value
Project Name tp1
Project Folder D:\rtos1\tp1
Toolchain / IDE STM32CubeIDE
Firmware Package Name and Version STM32Cube FW_F0 V1.11.0

5.2. Code Generation Settings

Name Value
STM32Cube MCU packages and embedded software Copy only the necessary library files
Generate peripheral initialization as a pair of '.c/.h' files No
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 5
tp1 Project
Configuration Report

6. Power Consumption Calculator report


6.1. Microcontroller Selection

Series STM32F0
Line STM32F0x0 Value Line
MCU STM32F030CCTx
Datasheet 024849_Rev2

6.2. Parameter Selection

Temperature 25
Vdd 3.6

Page 6
tp1 Project
Configuration Report

7. IPs and Middleware Configuration


7.1. GPIO

7.2. RCC
High Speed Clock (HSE): Crystal/Ceramic Resonator
7.2.1. Parameter Settings:

System Parameters:
VDD voltage (V) 3.3
Prefetch Buffer Enabled
Flash Latency(WS) 0 WS (1 CPU cycle)

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

7.3. SYS
Timebase Source: TIM1

7.4. USART2
Mode: Asynchronous
7.4.1. Parameter Settings:

Basic Parameters:
Baud Rate 115200
Word Length 8 Bits (including Parity)
Parity None
Stop Bits 1

Advanced Parameters:
Data Direction Receive and Transmit
Over Sampling 16 Samples
Single Sample Disable

Advanced Features:
Auto Baudrate Disable
TX Pin Active Level Inversion Disable
RX Pin Active Level Inversion Disable
Data Inversion Disable

Page 7
tp1 Project
Configuration Report

TX and RX Pins Swapping Disable


Overrun Enable
DMA on RX Error Enable
MSB First Disable

7.5. FREERTOS
Interface: CMSIS_V1
7.5.1. Config parameters:

API:
FreeRTOS API CMSIS v1

Versions:
FreeRTOS version 10.0.1
CMSIS-RTOS version 1.02

Kernel settings:
USE_PREEMPTION Enabled
CPU_CLOCK_HZ SystemCoreClock
TICK_RATE_HZ 1000
MAX_PRIORITIES 7
MINIMAL_STACK_SIZE 128
MAX_TASK_NAME_LEN 16
USE_16_BIT_TICKS Disabled
IDLE_SHOULD_YIELD Enabled
USE_MUTEXES Enabled
USE_RECURSIVE_MUTEXES Disabled
USE_COUNTING_SEMAPHORES Disabled
QUEUE_REGISTRY_SIZE 8
USE_APPLICATION_TASK_TAG Disabled
ENABLE_BACKWARD_COMPATIBILITY Enabled
USE_PORT_OPTIMISED_TASK_SELECTION Disabled
USE_TICKLESS_IDLE Disabled
USE_TASK_NOTIFICATIONS Enabled
RECORD_STACK_HIGH_ADDRESS Disabled

Memory management settings:


Memory Allocation Dynamic / Static
TOTAL_HEAP_SIZE 3072
Memory Management scheme heap_4

Hook function related definitions:


USE_IDLE_HOOK Disabled
USE_TICK_HOOK Disabled

Page 8
tp1 Project
Configuration Report

USE_MALLOC_FAILED_HOOK Disabled
USE_DAEMON_TASK_STARTUP_HOOK Disabled
CHECK_FOR_STACK_OVERFLOW Disabled

Run time and task stats gathering related definitions:


GENERATE_RUN_TIME_STATS Disabled
USE_TRACE_FACILITY Disabled
USE_STATS_FORMATTING_FUNCTIONS Disabled

Co-routine related definitions:


USE_CO_ROUTINES Disabled
MAX_CO_ROUTINE_PRIORITIES 2

Software timer definitions:


USE_TIMERS Disabled

Interrupt nesting behaviour configuration:


LIBRARY_LOWEST_INTERRUPT_PRIORITY 3
LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 3

7.5.2. Include parameters:

Include definitions:
vTaskPrioritySet Enabled
uxTaskPriorityGet Enabled
vTaskDelete Enabled
vTaskCleanUpResources Disabled
vTaskSuspend Enabled
vTaskDelayUntil Disabled
vTaskDelay Enabled
xTaskGetSchedulerState Enabled
xTaskResumeFromISR Enabled
xQueueGetMutexHolder Disabled
xSemaphoreGetMutexHolder Disabled
pcTaskGetTaskName Disabled
uxTaskGetStackHighWaterMark Disabled
xTaskGetCurrentTaskHandle Disabled
eTaskGetState Disabled
xEventGroupSetBitFromISR Disabled
xTimerPendFunctionCall Disabled
xTaskAbortDelay Disabled
xTaskGetHandle Disabled

Page 9
tp1 Project
Configuration Report

* User modified value

Page 10
tp1 Project
Configuration Report

8. System Configuration
8.1. GPIO configuration

IP Pin Signal GPIO mode GPIO pull/up pull Max User Label
down Speed
RCC PF0-OSC_IN RCC_OSC_IN n/a n/a n/a
PF1- RCC_OSC_OUT n/a n/a n/a
OSC_OUT
USART2 PA2 USART2_TX Alternate Function Push Pull No pull-up and no pull-down High *
PA3 USART2_RX Alternate Function Push Pull No pull-up and no pull-down High *
GPIO PA0 GPIO_Output Output Push Pull No pull-up and no pull-down Low
PA1 GPIO_Output Output Push Pull No pull-up and no pull-down Low

8.2. DMA configuration


nothing configured in DMA service

Page 11
tp1 Project
Configuration Report

8.3. NVIC configuration

Interrupt Table Enable Preenmption Priority SubPriority


Non maskable interrupt true 0 0
Hard fault interrupt true 0 0
System service call via SWI instruction true 0 0
Pendable request for system service true 3 0
System tick timer true 3 0
TIM1 break, update, trigger and commutation true 0 0
interrupts
Flash global interrupt unused
RCC global interrupt unused
USART2 global interrupt unused

* User modified value

Page 12
tp1 Project
Configuration Report

9. Software Pack Report

Page 13

You might also like