1 - Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

EPWM- Rev 3<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1Selva15-Feb-13Initial revison




























































































































































































































































































































































Sheet 2: Variable Dictionary

EPWM- Rev 3

IOMDN
Variable Information

YN










Range










Software Variable NameStandard Reference NameFDD ReferenceDescription[I]nput [O]uput [M]oduleInternal [D]isplay [N]onVolatileMemory UsageOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsType






Variables



















CDD_DCPhsComp_Cnt_G_u16[3]PWM_Duty_Cycle_AFDD15C SineVoltageGenerationDriveNumber of On-Time high res NHET Counts for phaseMN

0715011.00E+00Cntsuint16






CDD_PWMPeriod_Cnt_G_u16PWM_PeriodFDD15C SineVoltageGenerationDriveNumber of high res ePwm Counts for the current periodMN

2950715011.00E+00Cntsuint16






































































































































































































































































































































































































































































































































































































































































































































































Sheet 3: Calibration Dictionary

EPWM- Rev 3


N
Calibration Information

Achieved in Software Design


Y








Range





P
Software Calibration NameStandard Reference NameFDD ReferenceDescriptionTuning SetOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsDefault ValueMinMaxUnitsTypeModule



Calibrations















k_ADCTrig1Offset_Cnt_s16k_ADCTrig1OffsetFDD34B NHETFunctionADC Trigger offset near midpoint of PWM duty cycleNN
15010000Cntsint16




k_PwmDeadBand_Cnt_u16k_DeadBandFDD34B NHETFunctionPWM Dead band in epwm high resolution countsNN
1511024Cntuint16




k_PwmRelay_Cnt_u16k_RelayFDD34B NHETFunction
NN
2500065535Cntuint16









































































Sheet 4: Global Constants

EPWM- Rev 3








































































Variable Information (Global Variables Only)

Achieved in Software DesignUsed in Module List





Layer 2Layer 3Layer 4Layer 5
Constant NameDescriptionUintsTypeEngineering ValueADCADC DiagnosticsData Memory VerificationDC Link Power ControlDSP Computational IntegrityDSP SPI driverEvent Manager DriverExternal Memory DriverFlash Programming ExecGPIOIllegal OpCode HandlerInterrupt HandlerMotor Current DriverMotor Driver DiagnosticsMotor Position DriverPhase Feedback CapturePowerdown ControlPrimary Shutdown ControlProgram FlowProgram Memory DiagnosticPWM Duty CycleRedundant Memory CheckRedundant Rapid ShutdownSchedulerStack MonitorState Dependent Task ListSystem Boot & StartupSystem ControlTemperature Sensor DiagnosticUnused Interrupt HandlerUtilization MonitorWatchdog DirverSmithBattery VoltageBattery Voltage DiagnosticsDiagnostic CTC ManagerDiagnostic ManagerDiagnostics Application ServicesEOL TorqueTestFlash Boot LoaderFlight RecorderHandwheel PositionHandwheel TorqueMotor Control Output ConversionMotor Position DiagnosticsMotor Position InitializationMotor VelocityMotor Velocity TachometerSerial Communications I/OSerial Communications ServicesStates and ModesTuning SelectVehicle Power ModeVehicle SpeedController PolarityCurrent EstimationHandwheel VelocityInverse Motor ModelMotor Temperature EstimationMotor Torque LimitOutput Reasonableness DianosticParameter EstimationQuadrant and rate DetectionActive Pull CompensationAssistDampingDuty CycleKinematic Integrity DiagnosticLong Term Vehicle Speed DiagnosticMax Assist LimitReturnState Output ControlTorque Output























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 5: Template

2.2aData 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:NIndex 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:YIndex Range:










Header:










Source:










eCal:
























Tuning:PIndex Range:










Header:










Source:










eCal:

















Sheet 6: Help

Short cutMacroSescription
Ctrl-qClearDataDictFilterWill clear all autofilters on the Global Data Dictionary




DFD_CreateCreates 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_DeleteWill clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving.

DFD_PrintFormate 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 InputsModule Outputs
CDD_PWMPeriod_Cnt_G_u16None
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 NameResolution

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 NameElement NameUser 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 NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
ePWM1etpwmBASE_tFULLFULLePWM Register
ePWM2etpwmBASE_tFULLFULLePWM Register
ePWM3etpwmBASE_tFULLFULLePWM Register
ePWM4etpwmBASE_tFULLFULLePWM Register
ePWM5etpwmBASE_tFULLFULLePWM Register
ePWM6etpwmBASE_tFULLFULLePWM Register
ePWM7etpwmBASE_tFULLFULLePWM 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 NameResolutionValueSoftware 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,

  1. None

Data Hiding Functions

  1. 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 NameePWM_Init1TypeMinMaxUTP Tol.
Arguments PassedNone
Return ValueNone

Description

EPWM1

EPWM2

EPWM3

EPWM4

EPWM7

Global Functions #2

Function NameePWM_Per1TypeMinMaxUTP Tol.
Arguments PassedNone
Return ValueNone

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 NameePWM_DisableOutputsTypeMinMaxUTP Tol.
Arguments PassedNone
Return ValueNone

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 NameePWM_EnableOutputsTypeMinMaxUTP Tol.
Arguments PassedNone
Return ValueNone

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.

DataValue
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 NameCalling FrequencyFunction in which the function is called
ePWM_Init1On EventECU start up
ePWM_Per1On EventMotor Control ISR subroutine

Execution Requirements for Serial Communication Functions

Function NameSub-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 ModuleSoftware Segment
ePWM_Init1EPWM_START_SEC_CODE
ePWM_Per1EPWM_START_SEC_CODE

Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment
None


Known Issues / Limitations With Design

  1. None

Reference

Register Reference


Revision Control Log

Rev #Change DescriptionDateAuthor Initials
1.0Initial Version ( FDD 34B) –Shutdown Mech not included18-Feb-13Selva
2Anomaly 4605 – changed active state of ePWM modules 1-311-Mar-13OT

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 InputsModule Outputs
NoneNone

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 NameResolution

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 NameElement NameUser 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 NameResolution

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

  1. 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.

DataValue
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 NameCalling FrequencySystem State(s) in which the function is called
ePWM2_Trns1On EventOn Entering OPERATE
ePWM2_Trns2On EventOn Leaving OPERATE

Execution Requirements for Serial Communication Functions

Function NameSub-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 ModuleSoftware Segment
ePWM2_Trns1RTE_START_SEC_AP_EPWM2_APPL_CODE
ePWM2_Trns2RTE_START_SEC_AP_EPWM2_APPL_CODE

Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment
None


Known Issues / Limitations With Design

  1. None


Revision Control Log

Rev #Change DescriptionDateAuthor Initials
1.0Initial Version (Shutdown Mechs FDD 34B)18-Feb-13Selva
2Updated modes for Trns functions8-Mar-13OT

4 - ePWM_Integration_Manual

1 Dependencies 2

1.1 SWCs 2

1.2 Configuration Files to be provided by Integration Project 2

1.3 Functions to be provided by Integration Project 2

2 Configuration 3

2.1 Build Time Config 3

2.2 Generator Config 3

3 Integration 4

3.1 Global Data 4

3.2 Component Conflicts 4

3.3 Include Path 4

3.4 ADC2 Changes 4

3.5 Configurator Changes 4

3.5.1 DIO 4

3.5.2 Port 5

4 Runnable Scheduling 6

5 Memory Mapping 7

5.1 Mapping 7

5.2 Usage 7

6 Revision Control Log 8

Dependencies

SWCs

ModuleRequired Feature
CDD_DataGlobal 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

ConstantNotesSWC

Generator Config

ConstantNotesSWC

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):

PinFunction
6N2HET1[11], MIBSPI3NCS[4], N2HET2[18], ETPWM1SYNCO
14GIOA[5], EXTCLKIN, ETPWM1A
15GIOA[6], N2HET2[4], ETPWM1B
22GIOA[7], N2HET2[6], ETPWM2A
23N2HET1[1], SPI4ENA, N2HET2[8]
24N2HET1[3], SPI4NCS[0], N2HET2[10]
25N2HET1[0], SPI4CLK, ETPWM2B
30N2HET1[2], SPI4SIMO, ETPWM3A
31N2HET1[5], SPI4SOMI, N2HET2[12], ETPWM3B
33N2HET1[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:

RegisterBitsValueSelected Option
PINMUX224-310x04ETPWM1A
PINMUX316-230x04ETPWM1B
PINMUX40-70x04ETPWM2A
PINMUX416-230x10N2HET2[8] (configurator errata)
PINMUX424-310x10N2HET2[10] (configurator errata)
PINMUX50-70x04ETPWM2B
PINMUX58-150x04ETPWM3A
PINMUX516-230x08ETPWM3B
PINMUX60-70x10ETPWM7B
PINMUX31*16-310x0202ADC2 Trigger Event Selection
PINMUX35*24-310x00SOC4A_SEL cleared
PINMUX37*0-310x01010102Sync time bases, enable clocks for ePWM 0 to 3
PINMUX38*0-310x01000001Enable 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.

RunnableScheduling RequirementsTrigger
Nhet_Init1Place in EcuStartup_Init1 (EcuStartup.c) along with ePWM_Init1, following the memory initialization routine SchM_InitMemory.Init
ePWM_Init1Place in EcuStartup_Init1 (EcuStartup.c) along with Nhet_Init1, following the memory initialization routine SchM_InitMemory.Init
ePWM_Per1Must be placed in the motor control ISR, following PwmCdd (or whichever function populates the global variables used by ePWM).Cyclic (ISR)
ePWM2_Trns1Schedule on transition into the WARMINIT stateEvent (RTE)
ePWM2_Trns2Schedule on transition into the DISABLE stateEvent (RTE)

Memory Mapping

Mapping

Memory SectionContentsNotes
EPWM_START_SEC_CODERunnable Code
NHET_START_SEC_CODERunnable Code

* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.

Usage

Table 1: ARM Cortex R4 Memory Usage

FeatureRAMROM
Full driver

Revision Control Log

Rev #Change DescriptionDateAuthor
1Initial version15-Feb-13OT

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 InputsModule Outputs
HET_INIT1_PSTNone

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 NameResolution

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 NameElement NameUser 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 NameResolution

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 NameResolutionValueSoftware 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,

  1. Memcpy

Data Hiding Functions

  1. 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 NameNHET_Init1TypeMinMaxUTP Tol.
Arguments PassedNone
Return ValueNone

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.

DataValue
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 NameCalling FrequencyFunction in which the function is called
NHET_Init1On EventECU start up

Execution Requirements for Serial Communication Functions

Function NameSub-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 ModuleSoftware 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 ModuleSoftware Segment
None


Known Issues / Limitations With Design

  1. None

Reference

Register Reference

Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial Version ( FDD 34B)Selva

6 - NHetRegisters

spnu515.pdf

8 - NHetRegisterss

01s\2f[]@=3^t_4EVoC?`5ju67vaDelhimn89I:pqOg<};bc‘ d’w!k“"#$%R&BQ'<‚‡”(•r=JGA>FK|–)?@xLMˆ*HyzN~AP…+Xƒ{Ž„€SŒ,-TŸ.U†Š/P‹9WCYZ˜™š›‰—œž

0bRŠ”c^‚X…[“•17‡{„29d3KS'+eƒ4}5–6ˆ:x‰O]‹;—f/?ACIgahD=W†Vijyz˜NkH\l@™ mŽ!"n8a#o)šp{$q|r}%>LG&P_~(M-BF<E*)*stuv›,Uw-J.ZQ`€TŒY‘’

01cV2_U=:3]du<W4BM\@5eb{6.7/fXA^8›9F|ghp`œOa}‘YZ'"[$ži~#n&Ÿ !ov?D€G%*Hq ¡C:RwJ•t;Eˆk¢<Pr‚‰=jƒl—smx>(>L„’IŠ)…“y†‹zŒ”K­+˜NŽ7,6t-‡SQT™–¦š§¨£©¤¥ª«¬

0Tˆ†¡U‡@H6 ¢1D‰E2Vœ3…RW/$<4B5£ŠXF„K˜¤Y8uq‹Z+Œ.>[t9L•\rQ¥]sSA^J_M¦`›=7zOabu§:c&-IPdŽv!%,w(ex)?f*<N‘;gyCGh{ "#'|i’y}¨j“$~”&k'lm€nop./‚ƒ–™š—žŸ

01mA2a^k>3ln@4GSj5doŒ67pgF`8‘9KhiWb’{c<“ !;”"qerf:•#sU$V%D&=€–'L—>MyI?Hz˜(@PQAJtR)Buv|„*C†+Z_}‡TxƒNOw,…-~ŠC‚¤./X‰:Y‹ŽZE[ˆ\]|ž}Ÿ™ š›¡œ¢£

0k‰“l]^@fg’”1s‚=2_?nŽ3m`qrFS4D5•6vwEaeŠ–J:iopW9A€bt ;ch„—!d"7j#x$89<˜%:;C}~u<&™'(=KL>Eƒ)?FGy@O*AHz{IPBCJQ+R…†,Y-M|T‡BNUš.V/›S0XˆDWZY[\‹Œ‘

01l]2f\@>3h€<?4ERcC5qe6d7u_Dkp8Š9ImnV=o‹~gt:`ajŒr bis!v"#;$Ž%B{|;&'9(<8JK‘=M)>Fw}?GN*@HxyAOPQ…+L,SX‚‡z„ƒATš-U‰.ˆ/W›CY†Z[“”•–’—˜^™

0j” `\blŸ¡1]k2i›3ƒFRg4h5¢6mnE_—£ceJ–f{a |<!;‚d‹:¤"7q@#o8p¥$9:„š%&C…†€<y)¦z'H(=>K?L*@rNAGstMO}ŒBP^IQX~x+,’wSu-U.B‡§Tˆ/v0“‘VW9DYމŠZ[˜™œž•

01hp^2im]e@3jq}fA4kl`GWd_5no>67rFt8€Œ9K;X:gz<abŽcs :!"#;$DS%=Ex&~‘'’I(?LM“)@yAHuN*BJvOP‚+CU,Z{‹BwQ|ˆ-„.RVC/žŠT…†‡ƒYUE[\—˜™”š‰•–›œ

0bhc’Ze>X†j‘“1ix2`3^‡DS4dY_5fg;”6/klCnˆ•H8z‰?Tt7[9\{–] ma!"7—#8Œ$BA%:O&=r˜y'F<IJ=s(>E)?opK*@GuQLU~‚™Mv|+wqN„…,R@-šP€.}QBVWŠ‹ƒŽ

01go\2hlAc@3^p€de4ijFWb]5kmn>qr67sEu8ƒŽ9J;X:|<_`a‘ t!:’"#$;%fCS&=Dy'“(”H)?KL•@zAGv{M*IwN}+BU,OYx~‚ P„Q‹-Š.RVB/¡T†‡ˆ‰…UDZ[™šŒ›–œ—˜žŸ

0l‹œ\f@Šh›1m|=2[—3`‰FRa4g?c5jkž6noE’ŸiJ:“Vw9;]^ 7_ pqe!8¡"bT#U–$%C&<¢K}'=LuHŽG‘>vNOIdArs*P(Bx{„)~Qyt…Az‚M†€+S,B£‡-Wˆ.¤/0DXƒYŒZ”•˜™š

01wh2xgijA3syb?k4GStB5zq67{lFp8•9K<uvY;@r–ƒ“=mn}— Ho˜I|V!:J”"~™#CLMD…$%>‚š&Na›O?'P€œ@AQ(T†WR‡)Zˆ*„‰¦ŠU‹Œ+ާW,-X.¨/E[\‘]^’_Ÿ `¡¢c£dže¤f¥

0e†‘[W{g’1Xfx2dŒ3…DOb4c5“6/]hCZ‡”_`Hˆasv\9^ 8lk•!i‚"j#–$78%m‹&A'(:qryBz—);F@*<=I+>Jt?EnuMLS,G?NowpP|ƒQ}ƒ@-˜K.„~™7R„TUV€‰ŠŽY

01dY2\X@>3?ew4EPb5`^67faD[89Ighr]Žt:_‡ˆl ij!‘"#kO$Bq%;&x‚’'G“<JK(=‰”)>F*msM+@n„H,AGN|zUuŒ-py.oSv}{R~ALž–…‹Ÿ/Q9ƒc8T€CVІW—˜™š•›œZ

0^XUQ‚`ŒŽ1R_q2;ˆ3v@K\4]56,Wa?Tƒ-.YZDu/[klVtd‘ be„!c’"‡#=J$jr7|“%}B8E&9)F'(:GAIfgH<<BCNmh*xinsowpI”z{+€L•~y–M—N>OP…†mno‰pŠ‹S

01mb2daJL3lnx4N]k5og6.=~7/>phMc89?Rijse‘@ufVAD}’BC“‹Œ<,” !Z"K€r#Eq$y&•%)S–TP:FGt—'HOŽIQU(JP;Yz†\*v W+6wX{_75|¡‚2-¢/ƒ3[4„…1L^‡9ˆ`‰Š™š›œ˜žŸ

0gf‘c`en’1am{2lŒ3~MZ94k5“6.=opLb‡”/>?hiQˆ@jWvd€AD}B•C;:ƒ– !nf†‹"7Jr8#Esq—|K$<%FRO&GSHt'INu(we)PU\Y˜*x+9y7zTV™‚,X-„š/[]^_}…‰ŠŽ

01mY2cX`A3an=;‡4CN_>5jo6/7p[Bbe8Œ9GfklSd{gŠ\]hŽi ^!q"su#$r@v%:€‰&Mx?‘’'E(;“)<=HI|>tyU*?Dz}+KF~…,Lw-QROP‹œ.J„‚ˆ8†T7AV‚W•–—˜ƒ”™šZ›

0c‰“dST_f’”1e{2\^Ž3Z…@K[45•6-Vgh?Š–./D`aWXijsˆN87ƒ Y!—"k#}˜<$%]=|8Jno™&rB9':E;Fv„†lmtO‡€Auw(HC~)Ix*y+zqLMšG,bPp>Q‚R‹Œ‘U

01_S2VR]>3^`uŽ4@K\5ab6,7-cY?U89.DZ[mW/pX‘ ’!gqde‰NŠ“"M#f‹$=%vJ&B”•l–'(:);hiEk*<FOrAnCI;osyjHtz{+}|< LwG…€I†5~ƒ4x‡ˆŒMP„>NQ™š›œ‚—˜žTŸ

0p q`aosŸ¡1r}@nF2›3k•HWC4Bb5¢6htGcg…‹–£L=—7lmVZ<Œ8>dij€9e?¤f :uŽ‚!;Yzv¥"#š$EM~%?N¦&JD'I{@KPQ(AR^/wCxSyƒD|)T†„*O‰+TU,§X’-.¨0[‡1Fˆ23\“”]Š_˜™œž‘

01e_2?i^`D3foRcb4gmhknFY5jla>pq67rEv8‚9JdX‘|<’;“st :S”!";u{#<C$=@%KLH•&E–'FG(—?HN@IJO}„)AwxPBŒƒ*B[T€CQŽA+,My~zUV¡-.‡/RWT:Z…DXY\ˆ[‰†]š›œŠ˜‹™žŸ 

0s’Ÿ?j^_pkž 1tQA2qš3m•bFW`4hBa5fno>¡6uEw‰–¢;gˆJ~:Œir<c=7d‚e-£8vl.9R/ :}C¤!;"#™Dx(K€%=z¥$@LH+GŽM‡&INOV'A)“ByPZS”|Š„*{¦‹TXU,§†…ƒ0¨Y1[\‘]—˜›œ

012!;3h4"_5y6#$78%|;}ƒ9R„…&'K\H@†(B[`]^lvbC‡)@Fsaz?ˆ* DkEx>?Snt=‰+:>JmowŠ,;CcA-.<‹ =Œ/H~ŽGrAj{u}IT‚BPL—8pMNi3O74UEVFqWd€Qef|gG’“X‘”•YNZ–

0BK>|12v3D4n5W}6ASoF?#;T8-Z<dQ+HEY[M:~$U9,VeO"c'tR)hG[i.LJ/7IXCjP@\(*R]SB€g=A F!Y‚Qe^_`a%&b'()*ONpWqrsfkluwxyz{m

9 - RegisterReference_EPWM

ElectricPowerSteering_TMS570_CHRYSLER_LWR_website/content/en/docs/ePWM/doc/RegisterReference_EPWM

11 - RegisterReference_EPWMs


 
 
 
REGISTER REFERENCE