Runnable
run_UART_send
Sends UART messages periodically via the UART signal
Runnable
Sends UART messages periodically via the UART signal
Safety Warnings for Runnable run_UART_send.
Safety warnings are related to the Requirements Layer, especially the SIL
| Required | |
|---|---|
| SIL_1 | |
| derived | |
| SIL_1 | |
| Achieved | |
| QM | |
| Base | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| run_UART_send | |||||||||||||||
Sends UART messages periodically via the UART signal |
|||||||||||||||
| Runnable_70 | |||||||||||||||
| _WRe9oOZrEeyZ2OzYlvU4PA | |||||||||||||||
| software unit configuration | |||||||||||||||
| 0 | |||||||||||||||
| 0 | |||||||||||||||
| 0 | |||||||||||||||
| runnable configuration | |||||||||||||||
| true | |||||||||||||||
| |||||||||||||||
| State | isStart | Runnables | Tasks |
|---|---|---|---|
A state that is entered if the user has pressed the button. Here, periodic UART messages are sent. |
false |
Trigger IN ports attached runnable run_UART_send.
| Port | Events | Signal event source | Container | Task | Guard | Order |
|---|---|---|---|---|---|---|
|
0 |
Data IN ports attached to runnable run_UART_send.
| Port | Signals | Source | Container |
|---|---|---|---|
Data OUT ports attached to runnable run_UART_send.
| Port | Signals | Target | Container |
|---|---|---|---|
(Safety)Requirements referencing to runnable run_UART_send.
| (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. |
Requirement_95 | Thomas Barth | Wed Jun 08 17:56:19 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | - | - | - | - |
|
|||||||||||||||||
Demonstrate the use of scalers and validators. |
SafetyRequirement_111 | Thu Jun 09 20:52:41 CEST 2022 | 0.0 | product | functional | approved | System_Function | QM | derived | QM | ||||||||||||||||||||
uRTE allows the definition of multiple system-states where each state has an own data-flow. |
SafetyRequirement_98 | Wed Jun 08 17:52:52 CEST 2022 | 0.0 | product | functional | implemented | System_Function | QM | derived | QM |
Technical functions referencing to runnable run_UART_send.
| 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 |
Technical functions referencing to guards, functions and drivers of runnable run_UART_send.
| 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 |
Ingoing signals of runnable run_UART_send.
| Signal | Type | Storage | Runnables OUT | Runnables IN | Tasks | SystemStates | Requirements | miminum Age | maximum Age | Checksum | Force Sync | Inline | ISR API | effective inline | SIL required | SIL achieved | Initial value (D) | Pointer access (D) | Datatype (D) | Alt-In (D) | Alt-Out (D) | In-Driver (D) | Out-Driver (D) | OnData (D) | OnError (D) | OnTrigger (E) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A representation of the current button state |
Data | local in |
0 | 105 | false | false | false | false | false | SIL_1 | QM | false | false | - |
|
- | ||||||||||
contains the number of seconds, the button has been pressed |
Data | global in |
0 | 202 | true | false | false | false | false | QM | QM | 0 | false | - | - |
Outgoing signals of runnable run_UART_send.
| Signal | Type | Storage | Runnables OUT | Runnables IN | Tasks | SystemStates | Requirements | miminum Age | maximum Age | Checksum | Force Sync | Inline | ISR API | effective inline | SIL required | SIL achieved | Initial value (D) | Pointer access (D) | Datatype (D) | Alt-In (D) | Alt-Out (D) | In-Driver (D) | Out-Driver (D) | OnData (D) | OnError (D) | OnTrigger (E) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hardware Out interface for UART. |
Data | local in |
0 | 0 | false | false | false | false | false | QM | QM | true | - | - |
Software units which are associated with runnable run_UART_send.
| 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) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
writes Data to the UART module. |
OutDriver | 0 | 0 | 0 | SIL_1 | QM | - | - | - | - | - | - | - | - | None | true | - | - | - | - |
Tasks runnable run_UART_send is executed by.
| Task | Core | SIL | Priority | Software | States | Signals | Init | Hardware | OutputSections | Own TimeBase | Stack |
|---|---|---|---|---|---|---|---|---|---|---|---|
Task responsible for sending out UART protocolls |
SIL_1 | 5 | - | false |
Datatypes runnable run_UART_send is associated with.
| Type | Atomic | Primitive | Initial value | Typedef path | Signals | Drivers | Global Variables |
|---|---|---|---|---|---|---|---|
Saves the number of ticks an button has been pressed |
false | false | 0 | generated at src_rte\signals\types\button_cnt_t_type.h | |||
This type used by uRTE internally and is avaiable for general purpose. Its save to delete this type if it is not needed. |
true | true | 0 | generated at src_rte\signals\types\uRTE_boolean_t_type.h |
Runnables triggering the execution of runnable run_UART_send.
| Unit | Parent | Function calls | other Software Elements | Technical Functions | Requirements | Type | Tasks | WCET | Stack | ROM | Globals | ProtectionSets | SIL required | SIL achieved | sub Technical Functions | sub Requirements) | Has a return value | SystemStates | Ingoing Trigger Ports | Outgoing Trigger Ports | Ingoing Data Ports | Outgoing Data Ports |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Acquires the button state periodically and provides button signals |
Runnable | 0 | 0 | 0 | SIL_1 | QM | false |
|
|
|
|
Runnables providing data for runnable run_UART_send.
| Unit | Parent | Function calls | other Software Elements | Technical Functions | Requirements | Type | Tasks | WCET | Stack | ROM | Globals | ProtectionSets | SIL required | SIL achieved | sub Technical Functions | sub Requirements) | Has a return value | SystemStates | Ingoing Trigger Ports | Outgoing Trigger Ports | Ingoing Data Ports | Outgoing Data Ports |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Acquires the button state periodically and provides button signals |
Runnable | 0 | 0 | 0 | SIL_1 | QM | false |
|
|
|
|
Hardware runnable run_UART_send is associated with. Including executing CPUs, hardware referenced by its protectionSets and driver hardware of connecting signals.
| Component | Type | Start | End | SIL required | SIL achieved | Sub-Components | Technical Functions | sub Technical Functions | Requirements | sub Requirements |
|---|---|---|---|---|---|---|---|---|---|---|
Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator) allowing 0-wait state execution from Flash memory, frequency up to 180 MHz, MPU, 225 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions |
Core | - | - | - | QM | |||||
UART module connected to pin TX/RX PA2/PA3 at 115200 8N1 |
Periphery | USART2_BASE | USART3_BASE - 1 | SIL_1 | QM |
Tests derived from referencing 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tests the UART functionality at the system level |
Test_134 | 0 | approved | Regular power-on with a terminal connected to UART. The Button is pressed for 10 seconds. | 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. |