Test - Test_134

UART functional/system test

Tests the UART functionality at the system level


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.


SIL no safety requirements referencing


NameUART functional/system test
Type Test

Tests the UART functionality at the system level

Test configuration
Status approved
Priority 0
Procedures and input-data

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

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 Function Type SIL derived SIL manual SIL effective Tests Technical Functions Software 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 Technical Functions sub Technical Functions Requirements sub Requirements

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

Software Layer

Software units (2)

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

Unit Parent Function calls Technical Functions Requirements Type Tasks WCET Stack ROM Globals ProtectionSets SIL req SIL ach 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

Runnable 0 0 0
  • 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.

Runnable 0 0 0
  • Runnable_run_UART_WakeUP
- - - - - - - - -