当前位置:网站首页>Function introduction of canbedded component
Function introduction of canbedded component
2022-07-04 10:51:00 【picoasis】
Article content reference CANbedded | Vector
Catalog
canbeded yes Vector One of the software tool chains for automotive electronics development .
canbeded It is a collection of components , Provide basic communication functions for automotive applications .
canbeded It is a reusable component provided in the form of source code , Include CAN,Driver, Interaction layer (IL), Network management (NM), Transport layer (TP), Diagnostic layer (CANdesc), Communication measurement and calibration protocol (CCP,XCP) And communication control layer (CCL) Wait for multiple modules .
canbeded The basic software of allows ECU adopt CAN Bus exchange information . As ECU Part of the software , It deals with OEM Specified and Communication related tasks .
Use CANbeddedECU Be able to effectively communicate with others in the vehicle ECU And the external maintenance tester .CANbedded Can be applied to most OEM And microcontrollers .
CANbedded Allow users to focus entirely on functional software , because CANbedded Component stack processing passes CAN Sending and receiving conform to OEM The news of .
chart :canbede Basic software component functions
The picture is from CANbedded | Vector
Realization :CANbedded Available for all applications The simple interface (API), This allows users to quickly and easily integrate into ECU In software .CAN The component sends asynchronous events through configurable callback functions ( If received CAN news 、 Bus wakeup or different error states ( Assertion )) Route to application . You can configure the generated API And the exact set of callbacks , To adapt them to the needs of specific applications .
CANDriver
CANDriver It provides a hardware independent interface for the higher software layer . This enables higher software layers to be used or reused independently of the platform .
All necessary settings , For example, the hardware accepts the parameters of the filter or bus timing register , All are configured . come from Vector Configuration tools GENy Preselections for configuring these filters and registers are provided .CAN The drive provides the following basic functions :
- CAN Initialization of the controller
- send out CAN Information
- CAN Reception of information
- Overrun and error handling ( Bus off )
- Send notification through wake-up events
IL
IL Yes OEM Specific models are available , And signal oriented operation . It is responsible for :
- Send the message according to the transmission type of the included signal ( loop 、OneEvent、IfActive etc. )
- Timeout monitoring of receiving messages and signals
- Notification of sending and receiving signals
NM
The main task of network management is to manage the network ECU The state of sleep and wakefulness . This function is provided by NM CANbedded Software component processing , This component has different variants . according to OEM requirement , Use OSEK NM、AUTOSAR NM Or others OEM specific NM Algorithm
TP
By default ,CANbedded The transmission protocol conforms to ISO 15765-2. It can also provide OEM specific TP variant , for example VWTP or MCNet.ISO 15765-2 The compliance variant is 1999 Annual variant or 2004 The annual variant provides , And different addressing methods can be used ( normal 、 Expand 、 Normal fixation 、 blend ) deliver
CCL
CCL To simplify the ECU In software CAN The driver 、IL、TP、NM And others CAN Option gateway 、J1939 and CANdesc etc. CAN Integration of software components . It manages the defined system state ( Electrify 、 start-up 、 To turn it off 、 stop it / sleep 、 normal ) And communication status ( Network request 、 Network release ).CCL Provide the following functions :
- Initialize the scanned software components
- Coordinate state transition ( Wake up and GotoSleep)
- Call periodic functions of embeddable software components , Such as timer task or status task .
- Control bus transceiver
MICROSAR OS
It is a preemptive real-time multitasking operating system , Its performance is optimized for microcontroller . According to the scalability level 1 Operating system of AUTOSAR The specification is based on OSEK/VDX standard . That's why MICROSAR. The operating system is even non AUTOSAR Environment provides another option
XCP
Calibration protocol
CANbedded J1939
Provide heavy vehicles and agricultural machinery ECU Basic communication functions between .
Expand ——CANbedded Gateway
The picture is from : Embedded software - CANbedded - Vector Informatik GmbH - foundation
CANbedded Gateway Contains complex gateway mechanisms , Used to receive all messages and signals , Then send it to another network according to the filtering and conversion rules . Users can choose from :
- Signal routing
- Message routing ( belt / Without data queue )
- TP( Transfer protocol ) route
END
边栏推荐
- DML statement of MySQL Foundation
- RHCE day 3
- Installation of ES plug-in in Google browser
- Discussion | has large AI become autonomous? Lecun, chief scientist of openai
- Collection of practical string functions
- Performance features focus & JMeter & LoadRunner advantages and disadvantages
- Jianzhi offer 04 (implemented in C language)
- [Galaxy Kirin V10] [server] system startup failed
- Linked list operation can never change without its roots
- [Galaxy Kirin V10] [server] system partition expansion
猜你喜欢
Idea SSH channel configuration
The most detailed teaching -- realize win10 multi-user remote login to intranet machine at the same time -- win10+frp+rdpwrap+ Alibaba cloud server
DCL statement of MySQL Foundation
When I forget how to write SQL, I
Sword finger offer 05 (implemented in C language)
Four characteristics and isolation levels of database transactions
[Galaxy Kirin V10] [server] iSCSI deployment
Canoe - the second simulation engineering - xvehicle - 2 panel design (operation)
[Galaxy Kirin V10] [desktop] cannot add printer
Error C4996 ‘WSAAsyncSelect‘: Use WSAEventSelect() instead or define _ WINSOCK_ DEPRECATED_ NO_ WARN
随机推荐
Unittest+airtest+beatiulreport combine the three to make a beautiful test report
[Galaxy Kirin V10] [server] system startup failed
Read a piece of text into the vector object, and each word is stored as an element in the vector. Convert each word in the vector object to uppercase letters. Output the converted elements in the vect
Snake (C language)
Recursion and divide and conquer strategy
[Galaxy Kirin V10] [desktop] FTP common scene setup
MPLS: multi protocol label switching
DDL statement of MySQL Foundation
From programmers to large-scale distributed architects, where are you (2)
XMIND installation
Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
Application and Optimization Practice of redis in vivo push platform
C language - stack
DML statement of MySQL Foundation
Canoe-the second simulation project-xvehicle-1 bus database design (idea)
BGP ---- border gateway routing protocol ----- basic experiment
Postman interface test
Ten key performance indicators of software applications
Appscan installation steps
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing