uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

Requirement Package

Blinking LED

All requirements related to the blinking LED

Warnings

Testing Warnings (1)

Testing Warnings for ReqPackage Blinking LED
Testing warnings are related to the tests in the testing layer and their depedencies.

(Requirement_94) LED is not referencing a test but all refinements reference a test.

Diagrams

Relationships

Safety

Required
The highest SIL of all contained objects.
SIL required
-

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
Blinking LED
The type of this object within the uRTE model
Type
ReqPackage
A descriptive text for this object. Please consider that this field might be used in code and thus must not contain special characters.
Description

All requirements related to the blinking LED

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
ReqPackage_31
Each object within the uRTE model has a unique ID, this is the ID for this object
UID
_wqROEOZREeyZ2OzYlvU4PA
The package in which this ReqPackage is included.
Package
top level package
Content

(Safety)Requirements (3)

(Safety)Requirements contained in this package.

(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

In order to indicate that uRTE is up and running, an LED shall blink (toggle its binary state) with an frequency of 1/100ms.

Requirement_32 Thomas Barth Tue Jun 07 13:05:57 CEST 2022 0.0 Thomas Barth product functional implemented - - - -

While the button is pressed, the LED shall be on permanently.

Requirement_93 Wed Jun 08 17:18:27 CEST 2022 0.0 product functional implemented - - - -

The LED on the Nucelo Board shall act as an simple demo.

Requirement_94 Thomas Barth Wed Jun 08 17:23:11 CEST 2022 0.0 Thomas Barth product non_functional implemented - - - -

Requirement Layer

(Safety)Requirements (3)

All (Safety)Requirements below this package.

(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

The LED on the Nucelo Board shall act as an simple demo.

Requirement_94 Thomas Barth Wed Jun 08 17:23:11 CEST 2022 0.0 Thomas Barth product non_functional implemented - - - -

In order to indicate that uRTE is up and running, an LED shall blink (toggle its binary state) with an frequency of 1/100ms.

Requirement_32 Thomas Barth Tue Jun 07 13:05:57 CEST 2022 0.0 Thomas Barth product functional implemented - - - -

While the button is pressed, the LED shall be on permanently.

Requirement_93 Wed Jun 08 17:18:27 CEST 2022 0.0 product functional implemented - - - -

Functional Layer

Technical Functions (1)

Technical Functions associated with (Safety)Requirements of this package.

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

An LED shall blink to indicate that the system is alive and responding.

SIL_1 QM

Technical Functions (1)

Technical Functions associated with (Safety)Requirements of this package or any of its sub-packages.

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

An LED shall blink to indicate that the system is alive and responding.

SIL_1 QM

Logical Function Blocks (3)

Logical Function Blocks associated with (Safety)Requirements of this package.

Function Type Technical functions

An binary HMI

Input

The MCU implementing the logic

Service

An LED to indicate a binary state

Output

Logical Function Blocks (3)

Logical Function Blocks associated with (Safety)Requirements of this package or any of its sub-packages.

Function Type Technical functions

An binary HMI

Input

The MCU implementing the logic

Service

An LED to indicate a binary state

Output

Software Layer

Software units (1)

Sofware Functions associated with (Safety)Requirements of this package.

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)

Controls the LED signal and thus the LED

LED
Runnable 0 0 0
SIL_1 QM false
  • Runnable_00_blink_Tick
  • Runnable_blink_Button_IN
  • Runnable_00_blink_OUT
- - - - - - - - -

Software units (1)

Sofware Functions associated with (Safety)Requirements of this package or any of its sub-packages.

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)

Controls the LED signal and thus the LED

LED
Runnable 0 0 0
SIL_1 QM false
  • Runnable_00_blink_Tick
  • Runnable_blink_Button_IN
  • Runnable_00_blink_OUT
- - - - - - - - -

Activation-Events (1)

Activation Events associated with (Safety)Requirements of this package.

Event Type Cycle Time (C) Offset (C) Task-Init (S) Requirements Ports Runnables Tasks SystemStates SIL required SIL achieved

The timebase for the LED logic. Has an bit of offset to make sure it comes after the button has been read (button value is polled).

CyclicEvent 100 2 -
  • Runnable_00_blink_Tick in run_LED
SIL_1 QM

Activation-Events (1)

Activation Events associated with (Safety)Requirements of this package or any of its sub-packages.

Event Type Cycle Time (C) Offset (C) Task-Init (S) Requirements Ports Runnables Tasks SystemStates SIL required SIL achieved

The timebase for the LED logic. Has an bit of offset to make sure it comes after the button has been read (button value is polled).

CyclicEvent 100 2 -
  • Runnable_00_blink_Tick in run_LED
SIL_1 QM

Testing Layer

Tests (2)

Tests associated associated with (Safety)Requirements of this package.

Test User-ID Group Priority Status Procedure and Input-Data Expected Results gen Name gen Props SIL Requirements Technical-Functions Software-Units Signals Global variables Activation-Events Hardware-Components

The LED has to blink with a frequency of 1/100ms.

Test_132 0 implemented Regular power-on without user-input A blinking LED

Check if the LED is permanent on if there is user-input from the button

Test_133 0 implemented After a regular power-on, the button is pressed The LED shall be permanently on while the button is pressed

Tests (2)

Tests associated associated with (Safety)Requirements of this package or any of its sub-packages.

Test User-ID Group Priority Status Procedure and Input-Data Expected Results gen Name gen Props SIL Requirements Technical-Functions Software-Units Signals Global variables Activation-Events Hardware-Components

The LED has to blink with a frequency of 1/100ms.

Test_132 0 implemented Regular power-on without user-input A blinking LED

Check if the LED is permanent on if there is user-input from the button

Test_133 0 implemented After a regular power-on, the button is pressed The LED shall be permanently on while the button is pressed