当前位置:网站首页>[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
边栏推荐
- [golang syntax] map common errors golang panic: assignment to entry in nil map
- 百度智能云牵头打造智能云综合标准化平台
- 文件操作IO-Part2
- Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
- The difference between tail -f, tail -f and tail
- 【AutoSAR 九 C/S原理架构】
- How SQLSEVER removes data with duplicate IDS
- leetcode-2115:从给定原材料中找到所有可以做出的菜
- Leetcode-241: designing priorities for operational expressions
- Machine learning: numpy version linear regression predicts Boston house prices
猜你喜欢

Hdu3507 (slope DP entry)

研发一款国产ARM智能边缘计算网关需要什么

Vulkan-性能及精细化

指针初阶(基础)

【案例分享】让新时代教育发展与“数”俱进
【AutoSAR 五 方法论】

In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!

Illustrated network: what is virtual router redundancy protocol VRRP?

tail -f 、tail -F、tailf的区别

世平信息首席科学家吕喆:构建以数据和人员为中心的安全能力
随机推荐
Introduction and use of ftrace tool
百度智能云牵头打造智能云综合标准化平台
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
Sentry developer contribution Guide - configure pycharm
Shell implements basic file operations (cutting, sorting, and de duplication)
Shell 实现文件基本操作(切割、排序、去重)
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
Kubernetes resource object introduction and common commands (V) - (NFS & PV & PVC)
Shell 实现文件基本操作(sed-编辑、awk-匹配)
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
线程的启动与优先级
[IELTS reading] Wang Xiwei reading P2 (reading fill in the blank)
Lex & yacc & bison & flex configuration problems
Leetcode-871: minimum refueling times
[pulsar document] concepts and architecture
1.11 - bus
[AUTOSAR I overview]
Leetcode-224: basic calculator
Hdu3507 (slope DP entry)
FAQ | FAQ for building applications for large screen devices