AUTOSAR (11) Complex device drivers - CDD

AUTOSAR Complex device drivers - CDD

A Complex Device Driver (CDD) is a BSW module which implements complex sensor evaluation and actuator control with direct access to the microcontroller using specific interrupts and/or microcontroller peripherals. The purpose of these drivers is to fulfill the special functional and timing requirements for handling complex sensors and actuators.

    


Mapping from ECU SW-Architecture

The Complex Device Driver could not be mapped to a specific layer and has therefore been taken over from the ECU software architecture with no change. The Complex Device Drivers fulfill the special functional and timing requirements for handling complex sensors and actuators. A Complex Driver implements complex sensor evaluation and actuator control with direct access to the μC using specific interrupts and/or complex μCperipherals (like PCP, TPU), e.g.
• injection control
• electric valve control
• incremental position detection
Implementation is highly μC, ECU and application dependent, and upper interface is specified and implemented as AUTOSAR Interfaces.

Recommended files structure

CDD should have interfaces with DEM, DET , and could have interfaces and data exchange with all other BSW. It is the only module in AUTOSAR which could have access directly to MCAL modules without any interfaces.  So CDD is a badass module and may directly access to microcontroller resources , for example a hardware timer. :)

Component usage

Non-Standardized Drivers

Further on the Complex Device Drivers will be used to implement drivers for hardware which is not supported by AUTOSAR. If for example a new communication system will be introduced in general no
AUTOSAR driver will be available controlling the communication controller. To enable the communication via this media, the driver will be implemented proprietary inside the Complex Device Drivers. In case of a communication request via that media the communication services will call the Complex Device Driver instead of the communication hardware abstraction to communicate. Another example where non-standard drivers are needed is to support ASICs that implement a non-standardized functionality.

Source code template for a CDD

Documentation

 AUTOSAR articles (for articles written in Romanian please select your language from right part of webpage)

Thank you for attention !

For question please add a comment or send me an email to: simedruflorin@automatic-house.ro

Have a nice day ! 

 Back to top of page


Etichete

Afișați mai multe

Arhiva

Afișați mai multe