uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

Requirement - Requirement_94

LED

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

Warnings

Testing Warnings (1)

Testing Warnings for Requirement 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

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

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

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
Requirement_94
Each object within the uRTE model has a unique ID, this is the ID for this object
UID
_6DMIkOc-EeyMHMAOoLxcsQ
The package in which this Requirement is included.
Package
Meta-Data
The author of this requirement.
Author
Thomas Barth
The date this requirement was created.
Creation Date
Wed Jun 08 17:23:11 CEST 2022
The date when the implementation of the requirement statrs.
Start Date
The deadline until this requirement has to be achieved.
Deadline
The expenses of this requirement.
Expense
0.0
Who is responsible for this requirement.
Responsibe
Thomas Barth
The category of this requirement.
Category
product
The type of this requirement.
Type
non_functional
The status of this requirement.
Status
implemented
The purpose of the justification is to provide rationale for the requirement status and the like.
Justification
Direct (Safety)Requirement dependencies

Refining (Safety)Requirements (2)

(Safety)Requirements this Requirement is directly refined by.

(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 - - - -

Requirement Layer

All refining (Safety)Requirements (2)

All (Safety)Requirements refining this Requirement.

(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 - - - -

Functional Layer

Technical Functions (1)

Technical functions associated with refining requirements

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 which map to technical functions associated with refining requirements.

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)

Software units associated with refining requirements.

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 refining requirements.

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 refining requirements.

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