uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

Test - Test_134

UART functional/system test

Tests the UART functionality at the system level

Warnings

Testing Warnings (1)

Testing Warnings for Test UART functional/system test
Testing warnings are related to the tests in the testing layer and their depedencies.

(Test_134) UART functional/system test is not rejected or implemented.

Safety

Derived
The maximum SIL derived from all safety requirements linking to this test.
SIL
no safety requirements referencing

Properties

Base
The name of this object. Certain classes of objects require this field to be unique. Please consider that this field might be used in code and thus must not contain special characters.
Name
UART functional/system test
The type of this object within the uRTE model
Type
Test
A descriptive text for this object. Please consider that this field might be used in code and thus must not contain special characters.
Description

Tests the UART functionality at the system level

A user defined ID which can be freely chosen. Please consider that this field might be used in code and thus must not contain special characters.
User-ID
Test_134
Each object within the uRTE model has a unique ID, this is the ID for this object
UID
_Csid2FU5Ee2zY-a2salcrw
Test configuration
the Test-Group containing this test.
Parent
The state of this test
Status
approved
Priority of the test.
Priority
0
Test generation
Name to be used by an external generator
Generation name
Properties to be used by an external generator
Generation properties
Procedures and Input data for this test.
Procedures and input-data

Regular power-on with a terminal connected to UART. The Button is pressed for 10 seconds.

Expected results for this test
Expected results

The string '--- UART WakeUp ----' is send whenever the button is pressed, followed by 'Button pressed for %d seconds.' messages, where '%d' represents the integer number of seconds the button already has been pressed.

Requirement Layer

(Safety)Requirements (1)

(Safety)Requirements referencing to test UART functional/system test.

(Safety)Requirement Parent User-ID Author Creation Date Start Date Deadline Expense Responsibe Category Type Status Justification Function Type SIL derived SIL manual SIL required Tests Technical Functions Software Other SW Hardware Signals Global variables Activation events Use-Cases User-Stories Refining Conflicting refined by conflicted by

When the button is pressed, the system-state shall change from Blink into UART mode.
The start of UART mode shall be signaled via UART.
As long as the button is pressed, UART strings with the time in seconds the Button was pressed shall be send with the frequency with which the button pressed signal is updated.

Requirement_95 Thomas Barth Wed Jun 08 17:56:19 CEST 2022 0.0 Thomas Barth product functional implemented - - - -

Functional Layer

Technical Functions (1)

Technical-Functions associated with the requirements referencing to test UART functional/system test.

Function LFB Software Hardware Other Software SIL required SIL achieved SIL justification sub Technical Functions Requirements sub Requirements

If the button is pressed, UART messages indicating the press duration are sent.

SIL_1 QM

Software Layer

Software units (2)

Software-Units associated with the requirements referencing to test UART functional/system test.

Unit Parent Function calls other Software Elements Technical Functions Requirements Type Tasks WCET Stack ROM Globals ProtectionSets SIL required SIL achieved sub Technical Functions (R) sub Requirements (R) Has a return value (R) SystemStates (R) Ingoing Trigger Ports (R) Outgoing Trigger Ports (R) Ingoing Data Ports (R) Outgoing Data Ports (R) Signals (D) Runnables (D) DataType (D) Is Synchronous (D) Hardware (D) Ports (G) Callers (F) Return Type (F) Parameters (F)

Sends UART messages periodically via the UART signal

UART
Runnable 0 0 0
SIL_1 QM
true
  • Runnable_run_UART_send_TPortIN_1
  • Runnable_run_UART_send_DPortIN_1
  • Runnable_run_UART_send_DPortIN_2
  • Runnable_run_UART_send_UART_OUT
- - - - - - - - -

Runnable to switch into the UART state if there is an event in the Blink State.
This runnable does not use hardware signals but accesses hardware directly and is therefore associated with
an protection set grandting access to hardware.

UART
Runnable 0 0 0
SIL_1 QM
true
  • Runnable_run_UART_WakeUP
- - - - - - - - -