当前位置:网站首页>[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-2115: find all the dishes that can be made from the given raw materials
- [IELTS reading] Wang Xiwei reading P2 (reading fill in the blank)
- [overview of AUTOSAR three RTE]
- 1.11 - 总线
- Gan model architecture in mm
- Illustrated network: what is virtual router redundancy protocol VRRP?
- 【AutoSAR 十一 通信相关机制】
- Hdu3507 (slope DP entry)
- 百度智能云牵头打造智能云综合标准化平台
- 奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
猜你喜欢
[AUTOSAR nine c/s principle Architecture]
指针进阶(一)
使用jenkins之二Job
瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)
Logback configuration file
【AutoSAR 一 概述】
如何系统学习机器学习
Liad: the consumer end of micro LED products is first targeted at TVs above 100 inches. At this stage, it is still difficult to enter a smaller size
RK3568开发板评测篇(二):开发环境搭建
随机推荐
Initial order of pointer (basic)
University of Toronto: Anthony coach | the conditions of deep reinforcement learning can induce dynamic risk measurement
【日常训练】871. 最低加油次数
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
Overlay of shutter (Pop-Up)
leetcode-241:为运算表达式设计优先级
Introduction and use of ftrace tool
[AUTOSAR II appl overview]
mysql 多表联合删除
Linux软件:如何安装Redis服务
Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
关于QByteArray存储十六进制 与十六进制互转
测试右移:线上质量监控 ELK 实战
Vulkan performance and refinement
使用jenkins之二Job
1.11 - bus
Hdu3507 (slope DP entry)
Win10 多种方式解决无法安装.Net3.5的问题
Problèmes de configuration lex & yacc & Bison & Flex