5.1.3.1.3. Non-Functional Requirements for the Clock Initialization Function

Requirement: label REQ_INT3_1732751078 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The system must initialize the clock configuration within 2 ms under typical operating conditions.

Requirement: label REQ_INT3_1732751108 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The stabilization waiting period for the HSE (HSERDY bit) must not exceed 1 ms.

Requirement: label REQ_INT3_1732751118 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The stabilization waiting period for the PLL (PLLRDY bit) must not exceed 1 ms.

Requirement: label REQ_INT3_1732751162 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The clock initialization function must support reconfiguration for clock frequencies between 16 MHz to 100 MHz without requiring code changes, provided valid PLLM, PLLN, and PLLP values are supplied.

Requirement: label REQ_INT3_1732751173 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The function must accommodate additional clock sources (e.g., MSI, HSI), ensuring modularity.

Requirement: label REQ_INT3_1732751183 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The clock frequency deviation after initialization must remain within ±0.01% of the configured 100 MHz value under standard operating conditions.

Requirement: label REQ_INT3_1732794621 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

Prescalers must be configured to maintain output frequencies of maximum 100 MHz for APB2, to ensure reliable peripheral communication.

Requirement: label REQ_INT3_1732751348 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

Prescalers must be configured to maintain output frequencies of maximum 50 MHz for APB1, to ensure reliable peripheral communication.

Requirement: label REQ_INT3_1732751635 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The on function must use no more than 6 KB of the system’s available RAM for temporary variables.

Requirement: label REQ_INT3_1732794754 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The on function must use no more than 1 KB of program memory.

Requirement: label REQ_INT3_1732752434 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The function must consume less than 1 ms of the total execution time.

Requirement: label REQ_INT3_1732753490 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The function must maintain consistent behavior across at least 100,000 power cycles without degradation.

Requirement: label REQ_INT3_1732753522 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Non-Functional
priority: Low

The function should be compatible with other STM32 series microcontrollers that share the RCC register structure, requiring the adjustment of register addresses for reuse.