This is the multi-page printable view of this section. Click here to print.
Enhanced Pwm (TMS570)
1 - Data Dictionary
Overview
Change LogVariable Dictionary
Calibration Dictionary
Global Constants
Template
Help
Sheet 1: Change Log
EPWM- Rev 3 | <- Global Program / Module Name | ||||||
Revision | Author | Date | Change Description | Data Dictionary Type: | Component | ||
1 | Selva | 15-Feb-13 | Initial revison | ||||
Sheet 2: Variable Dictionary
Sheet 3: Calibration Dictionary
Sheet 4: Global Constants
EPWM- Rev 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Variable Information (Global Variables Only) | Achieved in Software Design | Used in Module List | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Layer 2 | Layer 3 | Layer 4 | Layer 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Constant Name | Description | Uints | Type | Engineering Value | ADC | ADC Diagnostics | Data Memory Verification | DC Link Power Control | DSP Computational Integrity | DSP SPI driver | Event Manager Driver | External Memory Driver | Flash Programming Exec | GPIO | Illegal OpCode Handler | Interrupt Handler | Motor Current Driver | Motor Driver Diagnostics | Motor Position Driver | Phase Feedback Capture | Powerdown Control | Primary Shutdown Control | Program Flow | Program Memory Diagnostic | PWM Duty Cycle | Redundant Memory Check | Redundant Rapid Shutdown | Scheduler | Stack Monitor | State Dependent Task List | System Boot & Startup | System Control | Temperature Sensor Diagnostic | Unused Interrupt Handler | Utilization Monitor | Watchdog Dirver | Smith | Battery Voltage | Battery Voltage Diagnostics | Diagnostic CTC Manager | Diagnostic Manager | Diagnostics Application Services | EOL TorqueTest | Flash Boot Loader | Flight Recorder | Handwheel Position | Handwheel Torque | Motor Control Output Conversion | Motor Position Diagnostics | Motor Position Initialization | Motor Velocity | Motor Velocity Tachometer | Serial Communications I/O | Serial Communications Services | States and Modes | Tuning Select | Vehicle Power Mode | Vehicle Speed | Controller Polarity | Current Estimation | Handwheel Velocity | Inverse Motor Model | Motor Temperature Estimation | Motor Torque Limit | Output Reasonableness Dianostic | Parameter Estimation | Quadrant and rate Detection | Active Pull Compensation | Assist | Damping | Duty Cycle | Kinematic Integrity Diagnostic | Long Term Vehicle Speed Diagnostic | Max Assist Limit | Return | State Output Control | Torque Output |
Sheet 5: Template
2.2a | Data File: | |||||
Header: | extern <TYPE><TAB><NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>"); <TYPE> <NAME>; | |||||
EOL Constants: | ||||||
Header: | extern <TYPE><TAB><NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>"); <TYPE> <NAME>; | |||||
Global (Embedded) Constants: | ||||||
Header: | #define <NAME><COL40><VALUE> | |||||
A2L Name | ||||||
Measurement: | rte_<SWC>_<NAME> | |||||
Calibration Constants: | ||||||
Tuning ID: | ||||||
Tuning: | N | Index Range: | ||||
Header: | extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>"); CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>; | |||||
eCal: | <NAME> | |||||
Tuning: | Y | Index Range: | ||||
Header: | ||||||
Source: | ||||||
eCal: | ||||||
Tuning: | P | Index Range: | ||||
Header: | ||||||
Source: | ||||||
eCal: | ||||||
Sheet 6: Help
Short cut | Macro | Sescription |
Ctrl-q | ClearDataDictFilter | Will clear all autofilters on the Global Data Dictionary |
DFD_Create | Creates a Series of Data Flow Worksheet Pages from the information in the data dictionary. If Data Flow Worksheet pages already exist, they will be deleted first. | |
DFD_Delete | Will clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving. | |
DFD_Print | Formate and prepares to print the Data Flow Worksheet pages. |
2 - ePWM_1_MDD
Module –
High-Level Description
This module implements functionality with respect to the EPWM module. This module implements the requirements other than the EPWM output direction control, which is implemented in the diverse path as required.
Figures
Component Diagram
Variable Data Dictionary
For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.
Module Inputs | Module Outputs | |
---|---|---|
CDD_PWMPeriod_Cnt_G_u16 | None | |
CDD_DCPhsComp_Cnt_G_u16[3] |
Module Internal Variables
This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
None |
User defined typedef definition/declaration
This section documents any user types uniquely used for the module.
(Refer the included ref for more details of register)
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
---|---|---|---|---|
etpwmBASE_t | TBSTS TBCTL TBPHS TBPHSHR TBPRD TBCTR CMPCTL TBPRDHR CMPA CMPAHR AQCTLA CMPB AQSFRC AQCTLB DBCTL AQCSFRC DBFED DBRED TZDCSEL TZSEL TZEINT TZCTL TZCLR TZFLG ETSEL TZFRC ETFLG ETPS ETFRC ETCLR rsvd_1 PCCTL HRPWR HRCNFG rsvd_3 rsvd_2 rsvd_5 rsvd_4 rsvd_6 HRMSTEP rsvd_7 HRPCTL TBPRDM TBPRDHRM CMPAM CMPAHRM DCACTL DCTRIPSEL DCFCTL DCBCTL DCFOFFSET DCCAPCTL DCFWINDOW DCFOFFSETCNT DCCAP DCFWINDOWCNT | Uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 uint16 | FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL | FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL FULL |
Constant Data Dictionary
Calibration Constants
This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.
Constant Name |
---|
k_ADCTrig1Offset_Cnt_s16 |
k_PwmDeadBand_Cnt_u16 k_PwmRelay_Cnt_u16 |
Program(fixed) Constants
Embedded Constants
All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.
Local
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
ePWM1 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM2 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM3 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM4 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM5 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM6 | etpwmBASE_t | FULL | FULL | ePWM Register |
ePWM7 | etpwmBASE_t | FULL | FULL | ePWM Register |
Global
This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.
Constant Name |
---|
None |
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
None |
Functions/Macros used by the Sub-Modules
Library Functions / Macros
The library and functions / Macros that are called by the various sub modules are identified below,
None
Data Hiding Functions
None
Global Functions/Macros Defined by this Module
Global Functions #1 (For detailed info regarding values assigned to registers refer Reference Pdf attached below)
Function Name | ePWM_Init1 | Type | Min | Max | UTP Tol. |
---|---|---|---|---|---|
Arguments Passed | None | ||||
Return Value | None |
Description
EPWM1
EPWM2
EPWM3
EPWM4
EPWM7
Global Functions #2
Function Name | ePWM_Per1 | Type | Min | Max | UTP Tol. |
---|---|---|---|---|---|
Arguments Passed | None | ||||
Return Value | None |
Description
For detailed info regarding values assigned to registers refer Reference Pdf attached below
Local Functions/Macros Used by this MDD only
Local Macro #1
Function Name | ePWM_DisableOutputs | Type | Min | Max | UTP Tol. |
---|---|---|---|---|---|
Arguments Passed | None | ||||
Return Value | None |
Description
Disables the EPWM registers (Refer the included register reference for more details of register)
ePWM1->AQCSFRC = 5U
ePWM1->DBCTL &= 0xFFFFFFFCU
ePWM2->AQCSFRC = 5U
ePWM2->DBCTL &= 0xFFFFFFFCU
ePWM3->AQCSFRC = 5U
ePWM3->DBCTL &= 0xFFFFFFFCU
Local Macro #2
Function Name | ePWM_EnableOutputs | Type | Min | Max | UTP Tol. |
---|---|---|---|---|---|
Arguments Passed | None | ||||
Return Value | None |
Description
Enables the EPWM registers (Refer the included register reference for more details of register)
ePWM1->AQCSFRC = 0U;
ePWM1->DBCTL |= 3U;
ePWM2->AQCSFRC = 0U;
ePWM2->DBCTL |= 3U;
ePWM3->AQCSFRC = 0U;
ePWM3->DBCTL |= 3U;
Software Module Implementation
Runtime Environment (RTE) Initial Values
This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.
Data | Value |
---|---|
None |
Initialization Functions
Init:
Design Rationale
None
Module Outputs
None
Module Internal
None
Initialize EPWM Direction Register
Periodic Functions
None
Fault Recovery Functions
None
Shutdown Functions
None
Interrupt Functions
None
Serial Communication Functions
None
Transition Functions
None
Execution Requirements
Execution Rates for sub-modules called by the Subroutine
This table serves as reference for the Scheduler design
Global Function Name | Calling Frequency | Function in which the function is called |
---|---|---|
ePWM_Init1 | On Event | ECU start up |
ePWM_Per1 | On Event | Motor Control ISR subroutine |
Execution Requirements for Serial Communication Functions
Function Name | Sub-Module called by (Serial Comm Function Name) |
---|---|
None |
Memory Map Definition Requirements
Sub Modules (Functions)
This table identifies the software segments for functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
ePWM_Init1 | EPWM_START_SEC_CODE |
ePWM_Per1 | EPWM_START_SEC_CODE |
Local Functions
This table identifies the software segments for local functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
None |
Known Issues / Limitations With Design
None
Reference
Register Reference
Revision Control Log
Rev # | Change Description | Date | Author Initials |
---|---|---|---|
1.0 | Initial Version ( FDD 34B) –Shutdown Mech not included | 18-Feb-13 | Selva |
2 | Anomaly 4605 – changed active state of ePWM modules 1-3 | 11-Mar-13 | OT |
3 - ePWM_2_MDD
Module –
High-Level Description
This module implements the shutdown mechanisms functionality with respect to the EPWM module. This module implements the requirements specific to the EPWM output direction control, which is implemented in the diverse path as required.
Figures
Component Diagram
Variable Data Dictionary
For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.
Module Inputs | Module Outputs | |
---|---|---|
None | None |
Module Internal Variables
This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
User defined typedef definition/declaration
This section documents any user types uniquely used for the module.
(Refer the included ref for more details of register)
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
---|---|---|---|---|
Constant Data Dictionary
Calibration Constants
This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.
Constant Name |
---|
None |
Program(fixed) Constants
Embedded Constants
All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.
Local
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
Global
This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.
Constant Name |
---|
None |
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
None |
Functions/Macros used by the Sub-Modules
Library Functions / Macros
The library and functions / Macros that are called by the various sub modules are identified below,
ePWM_EnableOutputs
ePWM_DisableOutputs
Data Hiding Functions
None
Global Functions/Macros Defined by this Module
Local Macro
None
Local Functions/Macros Used by this MDD only
None
Software Module Implementation
Runtime Environment (RTE) Initial Values
This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.
Data | Value |
---|---|
None |
Initialization Functions
Init: _Init1
Design Rationale
None
Module Outputs
None
Module Internal
None
Initialize EPWM Direction Register
Periodic Functions
None
Fault Recovery Functions
None
Shutdown Functions
None
Interrupt Functions
None
Serial Communication Functions
None
Transition Functions
Trns: _Trns1
Design Rationale
None
Program Flow Start
N/A
Store Module Inputs to Local copies
None
Set EPWM Direction Register to Output
Store Local copy of outputs into Module Outputs
None
Program Flow End
N/A
Trns: _Trns2
Design Rationale
None
Program Flow Start
N/A
Store Module Inputs to Local copies
None
Set EPWM Direction Register to Input
Store Local copy of outputs into Module Outputs
None
Program Flow End
N/A
Execution Requirements
Execution Rates for sub-modules called by the Scheduler
This table serves as reference for the Scheduler design
Function Name | Calling Frequency | System State(s) in which the function is called |
---|---|---|
ePWM2_Trns1 | On Event | On Entering OPERATE |
ePWM2_Trns2 | On Event | On Leaving OPERATE |
Execution Requirements for Serial Communication Functions
Function Name | Sub-Module called by (Serial Comm Function Name) |
---|---|
None |
Memory Map Definition Requirements
Sub Modules (Functions)
This table identifies the software segments for functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
ePWM2_Trns1 | RTE_START_SEC_AP_EPWM2_APPL_CODE |
ePWM2_Trns2 | RTE_START_SEC_AP_EPWM2_APPL_CODE |
Local Functions
This table identifies the software segments for local functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
None |
Known Issues / Limitations With Design
None
Revision Control Log
Rev # | Change Description | Date | Author Initials |
---|---|---|---|
1.0 | Initial Version (Shutdown Mechs FDD 34B) | 18-Feb-13 | Selva |
2 | Updated modes for Trns functions | 8-Mar-13 | OT |
4 - ePWM_Integration_Manual
1.2 Configuration Files to be provided by Integration Project 2
1.3 Functions to be provided by Integration Project 2
Dependencies
SWCs
Module | Required Feature |
---|---|
CDD_Data | Global variables for DC Phs Comp (from PwmCdd) |
Configuration Files to be provided by Integration Project
None
Functions to be provided by Integration Project
None
Configuration
Build Time Config
Constant | Notes | SWC |
---|---|---|
Generator Config
Constant | Notes | SWC |
---|---|---|
Integration
Global Data
The following global symbols must be defined in CDD_Data.c and .h (populated by PwmCdd):
uint16: CDD_DCPhsComp_Cnt_G_u16[3]
uint16: CDD_PWMPeriod_Cnt_G_u16
Component Conflicts
This component replaces an existing NHET component. The ePWM component contains the NHET program specific to ePWM operation. In addition, the Ap_ePWM2 developer component replaces the Ap_Nhet2 component.
Include Path
The “include” directory of this SWC needs to be included in the integration project include search path.
ADC2 Changes
The ePWM module must be configured to start ADC conversions for the ADC2 module. This is configured by setting the following register values for the ADC2 module:
G0SRC = 3 (EPWM_A1)
G1SRC = 1 (EPWM_B)
This is done in parallel with pin multiplexing changes to route the appropriate SOCA and SOCB signals to the ADC2 module. See FDD 33E for more information.
Configurator Changes
DIO and IOHwAb
If NHET was previously used to generate PWM signals, reassignments are required (as the ePWM outputs will conflict with assigned DIO pins). This is hardware-dependent; refer to the program’s Resource Allocation sheet or schematic. The following pins are used by ePWM and the ePWM-specific NHET on the TMS570LS1227 PGE (144 pin) package (see the datasheet for more information):
Pin | Function |
---|---|
6 | N2HET1[11], MIBSPI3NCS[4], N2HET2[18], ETPWM1SYNCO |
14 | GIOA[5], EXTCLKIN, ETPWM1A |
15 | GIOA[6], N2HET2[4], ETPWM1B |
22 | GIOA[7], N2HET2[6], ETPWM2A |
23 | N2HET1[1], SPI4ENA, N2HET2[8] |
24 | N2HET1[3], SPI4NCS[0], N2HET2[10] |
25 | N2HET1[0], SPI4CLK, ETPWM2B |
30 | N2HET1[2], SPI4SIMO, ETPWM3A |
31 | N2HET1[5], SPI4SOMI, N2HET2[12], ETPWM3B |
33 | N2HET1[7], N2HET2[14], ETPWM7B |
Port
Pin Direction Settings
The changes in DIO (hardware-dependent) may require updates to the pin direction and other settings for the newly configured DIO signals.
Multiplexing Changes
Several multiplexing options must be configured for both external routing (peripherals to pins) and internal routing (peripherals to peripherals).
The following changes must be made within configurator:
Multiplexing for DIO changes (hardware-dependent)
Multiplexing for NHET component change
This should result in PINMUX1[8-15] being set to 0x04
While N2HET2[8] and [10] can be configured, configurator does not generate these values correctly (see the manual configuration below)
ADC Trigger Table – select ADC Trigger Table 2
This should result in PINMUX30[0-7] being set to 0x02
The following changes must be made with manual edits to Port_PBcfg.c:
Register | Bits | Value | Selected Option |
---|---|---|---|
PINMUX2 | 24-31 | 0x04 | ETPWM1A |
PINMUX3 | 16-23 | 0x04 | ETPWM1B |
PINMUX4 | 0-7 | 0x04 | ETPWM2A |
PINMUX4 | 16-23 | 0x10 | N2HET2[8] (configurator errata) |
PINMUX4 | 24-31 | 0x10 | N2HET2[10] (configurator errata) |
PINMUX5 | 0-7 | 0x04 | ETPWM2B |
PINMUX5 | 8-15 | 0x04 | ETPWM3A |
PINMUX5 | 16-23 | 0x08 | ETPWM3B |
PINMUX6 | 0-7 | 0x10 | ETPWM7B |
PINMUX31* | 16-31 | 0x0202 | ADC2 Trigger Event Selection |
PINMUX35* | 24-31 | 0x00 | SOC4A_SEL cleared |
PINMUX37* | 0-31 | 0x01010102 | Sync time bases, enable clocks for ePWM 0 to 3 |
PINMUX38* | 0-31 | 0x01000001 | Enable clocks for ePWM 4 and 7 |
* Configurator does not define symbols for these registers. Define the following symbols manually:
#define PORT_BASE_ADDR_PINMUX_31 ((Port_RegisterPtrType)(0xFFFFEB8C))
#define PORT_BASE_ADDR_PINMUX_35 ((Port_RegisterPtrType)(0xFFFFEB9C))
#define PORT_BASE_ADDR_PINMUX_37 ((Port_RegisterPtrType)(0xFFFFEBA4))
#define PORT_BASE_ADDR_PINMUX_38 ((Port_RegisterPtrType)(0xFFFFEBA8))
A default value of 0x01 should be used for bytes not otherwise defined.
Runnable Scheduling
This section specifies the required runnable scheduling.
Runnable | Scheduling Requirements | Trigger |
---|---|---|
Nhet_Init1 | Place in EcuStartup_Init1 (EcuStartup.c) along with ePWM_Init1, following the memory initialization routine SchM_InitMemory. | Init |
ePWM_Init1 | Place in EcuStartup_Init1 (EcuStartup.c) along with Nhet_Init1, following the memory initialization routine SchM_InitMemory. | Init |
ePWM_Per1 | Must be placed in the motor control ISR, following PwmCdd (or whichever function populates the global variables used by ePWM). | Cyclic (ISR) |
ePWM2_Trns1 | Schedule on transition into the WARMINIT state | Event (RTE) |
ePWM2_Trns2 | Schedule on transition into the DISABLE state | Event (RTE) |
Memory Mapping
Mapping
Memory Section | Contents | Notes |
---|---|---|
EPWM_START_SEC_CODE | Runnable Code | |
NHET_START_SEC_CODE | Runnable Code |
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
Feature | RAM | ROM |
---|---|---|
Full driver |
Revision Control Log
Rev # | Change Description | Date | Author |
---|---|---|---|
1 | Initial version | 15-Feb-13 | OT |
5 - Nhet_1_MDD
Module – NHET
High-Level Description
This module implements NHET functionality with respect to the NHET module.
Figures
Component Diagram
Variable Data Dictionary
For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.
Module Inputs | Module Outputs | |
---|---|---|
HET_INIT1_PST | None | |
Module Internal Variables
This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
None |
User defined typedef definition/declaration
This section documents any user types uniquely used for the module.
(Refer the included ref for more details of register)
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
---|---|---|---|---|
Constant Data Dictionary
Calibration Constants
This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.
Constant Name |
---|
Program(fixed) Constants
Embedded Constants
All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.
Local
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
Global
This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.
Constant Name |
---|
None |
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
None |
Functions/Macros used by the Sub-Modules
Library Functions / Macros
The library and functions / Macros that are called by the various sub modules are identified below,
Memcpy
Data Hiding Functions
None
Global Functions/Macros Defined by this Module
Global Functions #1 (For detailed info regarding values assigned to registers refer Reference Pdf attached below)
Function Name | NHET_Init1 | Type | Min | Max | UTP Tol. |
---|---|---|---|---|---|
Arguments Passed | None | ||||
Return Value | None |
Description
NHET
Local Functions/Macros Used by this MDD only
Local Macro #1
None
Software Module Implementation
Runtime Environment (RTE) Initial Values
This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.
Data | Value |
---|---|
None |
Initialization Functions
Init:
Design Rationale
None
Module Outputs
None
Module Internal
None
Initialize NHET Direction Register
Periodic Functions
None
Fault Recovery Functions
None
Shutdown Functions
None
Interrupt Functions
None
Serial Communication Functions
None
Transition Functions
None
Execution Requirements
Execution Rates for sub-modules called by the Subroutine
This table serves as reference for the Scheduler design
Global Function Name | Calling Frequency | Function in which the function is called |
---|---|---|
NHET_Init1 | On Event | ECU start up |
Execution Requirements for Serial Communication Functions
Function Name | Sub-Module called by (Serial Comm Function Name) |
---|---|
None |
Memory Map Definition Requirements
Sub Modules (Functions)
This table identifies the software segments for functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
NHET_Init1 | #define NHET_START_SEC_CODE |
Local Functions
This table identifies the software segments for local functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
None |
Known Issues / Limitations With Design
None
Reference
Register Reference
Revision Control Log
Item # | Rev # | Change Description | Date | Author Initials |
---|---|---|---|---|
1 | 1.0 | Initial Version ( FDD 34B) | Selva |
6 - NHetRegisters
7 - NHetRegisters_ind
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Page 17
Page 18
Page 19
Page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