没有合适的资源?快使用搜索试试~ 我知道了~
AUTOSAR MCAL ADC porting guide
需积分: 5 1 下载量 5 浏览量
2023-07-12
10:17:33
上传
评论
收藏 1.16MB PDF 举报
温馨提示
试读
91页
AUTOSAR MCAL ADC porting guide
资源推荐
资源详情
资源评论
User Manual
for S32K1XX ADC Driver
Rev. 1 — 9 July 2021 User manual
UM2ADCASR4.0 Rev0003R1.0.5
NXP Semiconductors
User Manual
for S32K1XX ADC Driver
Revision Date Author Description
1.0 09/07/2021 NXP MCAL Team Updated version for ASR 4.0.3 S32K1XX 1.0.5
Release
Revision History
AUTOSAR_MCAL_ADC_UM All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 9 July 2021
UM2ADCASR4.0 Rev0003R1.0.5 2 / 91
NXP Semiconductors
User Manual
for S32K1XX ADC Driver
1 Introduction
This User Manual describes NXP Semiconductors AUTOSAR Analog to Digital Converter
( Adc ) for S32K1XX .
AUTOSAR Adc driver configuration parameters and deviations from the specification are
described in Adc Driver chapter of this document. AUTOSAR Adc driver requirements
and APIs are described in the AUTOSAR Adc driver software specification document.
1.1 Supported Derivatives
The software described in this document is intented to be used with the following
microcontroller devices of NXP Semiconductors .
NXP Semiconductors
s32k148_lqfp144, s32k148_
lqfp176, s32k148_lqfp100, s32k148_
mapbga100, s32k146_lqfp144,
s32k146_lqfp100, s32k146_lqfp64,
s32k146_mapbga100, s32k144_
lqfp100, s32k144_lqfp64, s32k144_
mapbga100, s32k144_lqfp48,
s32k142_lqfp100, s32k142_lqfp64,
s32k142_lqfp48, s32k118_lqfp48,
s32k118_lqfp64, s32k116_lqfp48,
s32k116_qfn32
Table 1. S32K1XX Derivatives
All of the above microcontroller devices are collectively named as S32K1XX .
1.2 Overview
AUTOSAR (AUTomotive Open System ARchitecture) is an industry partnership
working to establish standards for software interfaces and software modules for
automobile electronic control systems.
AUTOSAR
• paves the way for innovative electronic systems that further improve performance,
safety and environmental friendliness.
• is a strong global partnership that creates one common standard: "Cooperate on
standards, compete on implementation".
• is a key enabling technology to manage the growing electrics/electronics complexity.
It aims to be prepared for the upcoming technologies and to improve cost-efficiency
without making any compromise with respect to quality.
• facilitates the exchange and update of software and hardware over the service life of
the vehicle.
1.3 About this Manual
This Technical Reference employs the following typographical conventions:
Boldface type: Bold is used for important terms, notes and warnings.
Italic font: Italic typeface is used for code snippets in the text. Note that C language
modifiers such "const" or "volatile" are sometimes omitted to improve readability of the
presented code.
AUTOSAR_MCAL_ADC_UM All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 9 July 2021
UM2ADCASR4.0 Rev0003R1.0.5 3 / 91
NXP Semiconductors
User Manual
for S32K1XX ADC Driver
Notes and warnings are shown as below:
Note: This is a note.
1.4 Acronyms and Definitions
Term Definition
ADC Analog to Digital Converter
API Application Programming Interface
ASM Assembler
AUTOSAR Automotive Open System Architecture
BSMI Basic Software Make file Interface
CAN Controller Area Network
C/CPP C and C++ Source Code
CS Chip Select
CTU Cross Trigger Unit
DEM Diagnostic Event Manager
DET Development Error Tracer
DMA Direct Memory Access
ECU Electronic Control Unit
FIFO First In First Out
LSB Least Signifigant Bit
MCU Micro Controller Unit
MIDE Multi Integrated Development Environment
MSB Most Significant Bit
N/A Not Applicable
RAM Random Access Memory
SIU Systems Integration Unit
SWS Software Specification
VLE Variable Length Encoding
XML Extensible Markup Language
Table 2. Acronyms and Definitions
1.5 Reference List
# Title Version
1 Specification of Adc Driver AUTOSAR Release 4.0.3
2 S32K1xx Series Reference Manual Reference Manual, Rev. 9/Sep/18
3 S32K142 Mask Set Errata for Mask 0N33V (0N33V) Rev. 30/Nov/17
4 S32K144 Mask Set Errata for Mask 0N57U (0N57U) Rev. 30/Nov/17
5 S32K146 Mask Set Errata for Mask 0N73V (0N73V) Rev. 30/Nov/17
6 S32K148 Mask Set Errata for Mask 0N20V (0N20V) Rev. 25/Oct/18
7 S32K118 Mask Set Errata for Mask 0N97V (0N97V) Rev. 26/Feb/18
8 S32K116 Mask Set Errata for Mask 0N96V (0N96V) Rev. 20/Apr/20
Table 3. Reference List
2 Driver
AUTOSAR_MCAL_ADC_UM All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 9 July 2021
UM2ADCASR4.0 Rev0003R1.0.5 4 / 91
NXP Semiconductors
User Manual
for S32K1XX ADC Driver
2.1 Requirements
Requirements for this driver are detailed in the AUTOSAR 4.0 Rev0003 Adc Driver
Software Specification document (See Table Section 1.5 ).
2.2 Driver Design Summary
The ADC Driver initializes and controls the internal Analogue to Digital Converter Unit(s)
of the microcontroller. It provides services to start and stop a conversion respectively to
enable and disable the trigger source for a conversion. Furthermore it provides services
to enable and disable a notification mechanism and routines to query the status and
result of a conversion. The ADC Driver shall work on so called ADC Channels. An
ADC channel combines an analogue input pin, the needed ADC circuitry itself and a
conversion result register into an entity that can be individually controlled and accessed
via the ADC Driver. The driver provides a service for Streaming management results and
for De-Initialization of circuits.
2.3 Hardware resources
• S32K118 device families at 48 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_3,AN_4,AN_5,AN_6,AN_7,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K118 device families at 64 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K142 device families at 48 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,INT_AN_0,BAND_GAP,VREFH,VREFL
– Adc Physical Channels for ADC HW Unit 1:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_8,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K142 device families at 64 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
– Adc Physical Channels for ADC HW Unit 1:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_10,AN_11,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K142 device families at 100 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
– Adc Physical Channels for ADC HW Unit 1:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K144 device families at 48 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,INT_AN_0,BAND_GAP,VREFH,VREFL
– Adc Physical Channels for ADC HW Unit 1:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_8,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
• S32K144 device families at 64 pins:
– Adc Physical Channels for ADC HW Unit 0:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_6,AN_7,AN_8,AN_9,AN_10,AN_11,AN_12,AN_13,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
– Adc Physical Channels for ADC HW Unit 1:
AN_0,AN_1,AN_2,AN_3,AN_4,AN_5,AN_8,AN_14,AN_15,INT_AN_0,BAND_GAP,VREFH,VREFL
AUTOSAR_MCAL_ADC_UM All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 9 July 2021
UM2ADCASR4.0 Rev0003R1.0.5 5 / 91
剩余90页未读,继续阅读
资源评论
a55662551
- 粉丝: 3
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- ### 1、项目介绍 本项目Scrapy进行数据爬取,并使用Django框架+PyEcharts实现可视化大屏 效果如下:
- # 微信小程序-健康菜谱 基于微信小程序的一个查找检索菜谱的应用 ### 效果 !动态图(./res/gif/demo
- zabbix-get命令包资源
- 毕业设计,基于PyQt5实现的可视化界面的Python车牌自动识别系统源码
- 26-朴素贝叶斯分类.rar
- 没有安Matlab 也可以 生成FIR抽头系数工具.py
- python烟花代码.rar
- 实验目的: 1.构建基于verilog语言的组合逻辑电路和时序逻辑电路; 2.掌握verilog语言的电路设计技巧 3.完成如
- 扩展卡尔曼滤波matlab仿真
- 3_base.apk.1
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功