Ccl

Module -- Ccl

1 References 2

2 Configuration Settings 2

2.1 Ccl__core Configuration 2

2.2 Advanced Task Settings Configuration 3

3 Known Issues / Limitations With Configuration 4

4 Revision Control Log 5

References

  1. Communication Control LayerTechnical Reference v1.8 (TechnicalReference_CCL.pdf)

  2. TMS570LS Series Microcontroller Technical Reference Manual (TMS570 Tech Ref_spnu489.pdf)

Configuration Settings

Ccl__core Configuration

Attribute NameValueRationale
Configurable Options
CCL Canbedded HandlingYesDefault setting
Emc Wake Up Timeout (ms)500Default setting
Ecu ModeStop mode ECUDefault setting
Enable Transceiver In Wake Up InterruptNoDefault setting
Naming Conventions
CCL Task PrefixCclDefault setting
Advanced Task settings
Scheduler Base Time (ms)10Default setting
CANbedded TasksTask Container”Task Container” allows separate generated scheduling functions per timebase and offset that can be scheduled in separate tasks. Separate task scheduling is used to properly prioritize the ComStack cyclic main functions with the system control tasks.
CCL Task ModeFunction Call”Function Call” provides generation of functions that provide scheduling flexibility among separate tasks which is required in the EPS system to properly prioritize the cyclic functions with the system control tasks.
Debug handling
Internal DebugNo

Nexteer has no design in place to log the fatal failures in the event an assertion is triggered during development. Perhaps the assertions should be mapped to the Autosar Det. Until a design use case is determined, this feature is being disabled,

The production intended setting is “None” to reduce the driver operating overhead (i.e. runtime and program space) by eliminating unnecessary error checking in the final tested configuration.

Use CCL Error HookNoSee above.
Transceiver Settings
Transceiver Config FileNoneDefault setting

Advanced Task Settings Configuration

Attribute NameValueRationale
CANdesc Task
Cycle Time (ms)10Default setting
Offset Time (ms)2

”Offset” is used for the purposes of grouping cyclic functions into a generated “Task Container” in order to group cyclic functions together of a determined priority into a generated schedulable function. An offset is not actually used in scheduling.

The diagnostic service handler is run in a low priority task in the system, offset 0 items run at 10ms are run at a higher priority.

Pre TaskNoDefault setting
Post TaskNoDefault setting
XCP Task
Cycle Time (ms)0Default setting
Offset Time (ms)0Default setting
Pre TaskNoDefault setting
Post TaskNoDefault setting
DPM Task
Cycle Time (ms)20Default setting
Offset Time (ms)0Default setting
Pre TaskNoDefault setting
Post TaskNoDefault setting
TP Tx Task
Cycle Time (ms)10Default setting
Offset Time (ms)0
Pre TaskNoDefault setting
Post TaskNoDefault setting
TP Rx Task
Cycle Time (ms)10Default setting
Offset Time (ms)0
Pre TaskNoDefault setting
Post TaskNoDefault setting
FRFM Task
Cycle Time (ms)10Default setting
Offset Time (ms)2

”Offset” is used for the purposes of grouping cyclic functions into a generated “Task Container” in order to group cyclic functions together of a determined priority into a generated schedulable function. An offset is not actually used in scheduling.

The FRFM is run in a low priority task in the system, offset 0 items run at 10ms are run at a higher priority.

Pre TaskNoDefault setting
Post TaskNoDefault setting
DBKOM Tx Task
Cycle Time (ms)10Default setting
Offset Time (ms)0
Pre TaskNoDefault setting
Post TaskNoDefault setting
DBKOM Rx Task
Cycle Time (ms)10Default setting
Offset Time (ms)0
Pre TaskNoDefault setting
Post TaskNoDefault setting
NM OSEK Task
Cycle Time (ms)10Default setting
Offset Time (ms)0
Pre TaskNoDefault setting
Post TaskNoDefault setting

Known Issues / Limitations With Configuration

  1. The Ccl generator generates the DescTask() and does not provide a mechanism to generate the DescStateTask() and DescTimerTask() in separate function containers. A patch is made and commented in ccl_par.c


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial Creation30JUL13JJW
2Updated for Task Container generation and rationale for offset usage to group cyclic functions of the same priority together.08AUG13JJW
Last modified October 12, 2025: Initial commit (0347a62)