16.3. Network Slave - NetSlave
Id |
NetSlave |
Version |
main |
Title |
Network Slave |
System |
Vehicle State |
Document Type |
Application Software Component Specification Preview |
16.3.1. Overview
The Network Slave component is responsible for managing the network communication and wakeup of various modules in the Charge 67 vehicle. It monitors the power down requests, wakeup delays of master, gateway and communication modules. It also checks the validity and plausibility of the vehicle speed signal.
16.3.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Master Wakeup |
Wakes up the CAN network master node if enabled and monitors the wakeup timeout. Sets DTCs if master does not wake up within the configured timeout. |
2 |
Gateway Wakeup |
Monitors the wakeup of gateway module. Sets DTCs if the gateway do not wake up within the expected time after a wakeup request. |
3 |
Communication Module Wakeup |
Monitors the wakeup of the communication module. Sets a DTC if the communication module does not wake up within the expected time after a wakeup request. |
4 |
Vehicle Speed Monitoring |
Monitors the vehicle speed signal for validity and plausibility. Sets DTCs if invalid data, implausible values or communication faults are detected on the vehicle speed signal. |
5 |
Power Down Monitoring |
Monitors incoming power down requests. Allows denying shutdown requests based on configuration. Sets a DTC when a power down request is received. |
16.3.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
Description |
Keywords |
|
|---|---|---|---|---|---|---|---|
1 |
VehSpd |
Incoming |
single |
[1] |
kph |
Vehicle Speed |
|
2 |
VehSpdVld |
Incoming |
boolean |
[1] |
Vehicle Speed Valid |
||
3 |
VehSt |
Incoming |
Enum: CmnenaVehSt |
[1] |
Vehicle State |
||
4 |
VehStVld |
Incoming |
boolean |
[1] |
Vehicle State Valid |
||
5 |
MdlePwrDwn |
Incoming |
boolean |
[1] |
Module Power Down |
||
6 |
MdlePwrDwnVld |
Incoming |
boolean |
[1] |
Module Power Down Valid |
||
7 |
MdleAlvDcu |
Incoming |
boolean |
[1] |
Module Alive Dcu |
||
8 |
MdleAlvDcuVld |
Incoming |
boolean |
[1] |
Module Alive Dcu Valid |
||
9 |
MdleAlvGateWay1 |
Incoming |
boolean |
[1] |
Module Alive Gate Way1 |
||
10 |
MdleAlvGateWay1Vld |
Incoming |
boolean |
[1] |
Module Alive Gate Way1 Valid |
||
11 |
MdleAlvGateWay2 |
Incoming |
boolean |
[1] |
Module Alive Gate Way2 |
||
12 |
MdleAlvGateWay2Vld |
Incoming |
boolean |
[1] |
Module Alive Gate Way2 Valid |
||
13 |
MdleAlvComMdle |
Incoming |
boolean |
[1] |
Module Alive Communication Module |
||
14 |
MdleAlvComMdleVld |
Incoming |
boolean |
[1] |
Module Alive Communication Module Valid |
||
15 |
WakeReq |
Outgoing |
boolean |
[1] |
Wake Request |
||
16 |
Diagc |
Outgoing |
Bus: NtkslwpDiagc |
[-1] |
Diagnostic |
||
17 |
DenyShdn |
Outgoing |
boolean |
[1] |
Deny Shutdown |
||
18 |
ShdnReq |
Outgoing |
boolean |
[1] |
Shutdown Request |
16.3.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
Keywords |
|
|---|---|---|---|---|---|---|---|
1 |
NtkslwpWakeUpCmdTmr |
single |
[1,1] |
Min: 0.1, Max: 60 |
sec |
Diagnostic timer to check reaction of HW where allocate the Network Manager host |
Ntkslwp Wake Up Command Timer |
2 |
NtkslwpVehSpdThd |
single |
[1,1] |
Min: 0, Max: 255 |
kph |
Vehicle speed threshold used for detecting of movement, same with SimpleVSM_VehSpdThrsh |
Ntkslwp Vehicle Speed Threshold |
3 |
NtkslwpMstWakeTiout |
single |
[1,1] |
Min: 0, Max: 300 |
s |
CAN network master node waking up timeout |
Ntkslwp Master Wake Timeout |
4 |
NtkslwpMstWakeEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Enable waking up of CAN network master node |
Ntkslwp Master Wake Enable |
|
5 |
NtkslwpMstWaitTmr |
single |
[1,1] |
Min: 0, Max: 60 |
s |
Time to wait for master befor starting to wake it up |
Ntkslwp Master Wait Timer |
6 |
NtkslwpIsSlpCmdEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Receive the command SystemHWSleepCmd: 0 - disabled, - enabled |
Ntkslwp Is Sleep Command Enable |
|
7 |
NtkslwpIsMstDbgEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Network Master Diagnostics: 0 - disabled, - enabled |
Ntkslwp Is Master Debug Enable |
|
8 |
NtkslwpIsInhRebootEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Deny Reboot when speed is above threshold; should: 0 - disabled, - enabled |
Ntkslwp Is Inhibition Reboot Enable |
|
9 |
NtkslwpIsGateWay2DiagcEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Network Gateway 2 Diagnostics: 0 - disabled, - enabled |
Ntkslwp Is Gate Way2 Diagnostic Enable |
|
10 |
NtkslwpIsGateWay1DiagcEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Network Gateway 1 Diagnostics: 0 - disabled, - enabled |
Ntkslwp Is Gate Way1 Diagnostic Enable |
|
11 |
NtkslwpIsComDiagcEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Network Communication module Diagnostics: 0 - disabled, - enabled |
Ntkslwp Is Communication Diagnostic Enable |
|
12 |
NtkslwpIgnInh |
boolean |
[1,1] |
Min: 0, Max: 1 |
1 - ignore deny shutdown, 0 - check if deny to disable shutdown request |
Ntkslwp Ignore Inhibition |