当前位置:网站首页>[AUTOSAR 11 communication related mechanism]
[AUTOSAR 11 communication related mechanism]
2022-07-03 00:50:00 【Ke Yuqian】
AutoSAR 11、 ... and Communication related mechanisms
1. Signal Groups Signal group
Put some signals with similar functions into a group to facilitate management .
2. Update Bit Update bit
stay Signal One in lieutenant general bit Reserved for use as Update Bit
- This bit is specifically used to indicate whether the signal has been updated by the application layer , If it hasn't been updated for a long time , Start timeout processing .
3. Notification Mechanisms A notification mechanism
Notification type
- Receive success notification
- Send success notification
- Timeout notification
- Error notification
- Invalidation notice
- Update bit notification
Notification has an important attribute :( This property is in Communication->PDUs Configured in )
- Notify immediately (Immediate): It's acceptance / The successful sending immediately interrupts the entry notification function
- Delayed notification (deferred): Not immediately , Next time in Task Call in Com_MainFunctionRx() perhaps Com_MainFunctionTx() Trigger notification when
4. Deadline Monitoring
4.1 Timeout monitoring
Timeout monitoring can be divided into two levels :
- IPDU level : When one Rx IPDU No valid data is received within the specified time , Start timeout processing
- Signal level : That's what we said before Update Bit The way , If not received Update Bit, Start timeout processing
- IPDU Of Timeout Time The source of is in IPDU Medium Signal Minimum Timeout Time. For example, that is IPDU There are two Signal,Signal A Of Timeout Time=100ms,Signal B Of Timeout Time=50ms, So this IPDU Of Timeout Time = 50ms
4.2 timeout handler
COM Timeout processing for
• After timeout, there will be a timeout Notification Called :Rte_COMCbkTOut_<ComSignalName>
• Optional : You can choose to reset the timeout signal to its initial value ( Need configuration ComRxDataTimeoutAction)
RTE Timeout processing for
• After timeout, a Runnable To deal with it
• In use related Rte_Read_<Pp>_<De> Will return an error RTE_E_MAX_AGE_EXCEEDED
• In the use of Rte_IRead In this way Buffer Type of S/R At the interface , The state can be determined by Rte_IStatus decision
5. Invalidation Failure mechanism
5.1 Failure mechanism
When one Signal Groups Any one of them Signal When it is set to invalid , Whole Groups It is set to be invalid .
Half valid and half invalid Signal Groups appear .
The failed signal can pass Rte_Inmalidate(explicit API) perhaps Rte_IInvalidate(implicit API) To send an invalid value .
5.2 Failure treatment
There are three ways to deal with failure :
• Keep: Keep the original value unchanged
• Replace: Replace with an initial value
• None: Do nothing , It means that this failure mechanism doesn't work
边栏推荐
- Leetcode-224: basic calculator
- Leetcode-241: designing priorities for operational expressions
- 飞凌搭载TI AM62x的ARM核心板/开发板首发上市,亮相Embedded World 2022
- Vulkan practice first bullet
- [AUTOSAR nine c/s principle Architecture]
- cordova-plugin-device获取设备信息插件导致华为审核不通过
- 【AutoSAR 一 概述】
- 测试右移:线上质量监控 ELK 实战
- 解决ReactNative使用webView存在缓存问题
- Leetcode-2115: find all the dishes that can be made from the given raw materials
猜你喜欢
Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
【AutoSAR 十 IO架构】
【AutoSAR 四 BSW概述】
Detailed explanation of pod life cycle
1.11 - bus
Kubernetes resource object introduction and common commands (V) - (NFS & PV & PVC)
2022中国3D视觉企业(引导定位、分拣场景)厂商名单
RK3568开发板评测篇(二):开发环境搭建
[overview of AUTOSAR three RTE]
指针进阶(一)
随机推荐
FAQ | FAQ for building applications for large screen devices
Deep analysis of data storage in memory
文件操作IO-Part2
Rust ownership (very important)
Vulkan performance and refinement
1.11 - 总线
Tensorflow 2. Chapter 15 of X (keras) source code explanation: migration learning and fine tuning
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
Leetcode-2280: represents the minimum number of line segments of a line graph
Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
Kubernetes simple introduction to writing YML
leetcode-1964:找出到每个位置为止最长的有效障碍赛跑路线
Automated defect analysis in electron microscopic images-论文阅读笔记
Leetcode-849: maximum distance to the nearest person
Meaning of Tencent cloud free SSL certificate extension file
[AUTOSAR five methodology]
利亚德:Micro LED 产品消费端首先针对 100 英寸以上电视,现阶段进入更小尺寸还有难度
使用jenkins之二Job
Overlay of shutter (Pop-Up)
【AutoSAR 九 C/S原理架构】