参数资料
型号: KIT33912EVME
厂商: Freescale Semiconductor
文件页数: 28/50页
文件大小: 0K
描述: KIT EVALUATION FOR MC33912
标准包装: 1
系列: *
Embedded Slave Software
Chapter 6 Embedded Slave Software
6.1
Overview
This chapter describes the embedded generic Slave software. It gives basic information on how to use the embedded software
features successfully. The following sections provide the basic information:
?
?
?
?
6.2
Generic Control Slave Software Description
Generic Control of the MC33912 device is through the SPI channel. Control data is transported to the MCU by FreeMASTER
protocol or LIN protocol, as well as data from the A/D converter and MCU memory.
The units that are transported in a LIN diagnostic frame are called PDU’s (Packet Data Unit). A PDU used for Generic Control of
the device is a Single Frame message based on the User Defined Diagnostics specification. The diagnostic format sends a fixed
master request frame with eight data bytes provided. This is used to issue specific Generic Control fixed frames.
Messages issued by the master are called requests, and messages issued by the slave are called responses. Requests are
always sent in master request frames and responses are always sent in slave response frames. The Master request frame has
a fixed identifier, 60 (0x3C) and a fixed size (8 bytes). The Slave response frame has a fixed identifier, 61 (0x3D) and a fixed size
(8 bytes).
The meaning of each byte in a PDU is defined in the following sections.
6.2.1 Generic Control PDU Structure
The Generic Control PDU structure is described in this section; see Figure 6-1 .
Request
Response
NAD
NAD
CMD
CMD
M0
S0
M1
S1
M2
S2
M3
S3
M4
S4
M5
S5
The left byte (NAD) is sent first
Figure 6-1. Generic Control PDU Structure
NAD
NAD is the address of the slave node being addressed by a request. NAD is also used to indicate the source of the
response.
Generic Control is uses Free NAD values, meaning that the NAD value must be selected from the range 128 (0x80)
- 255 (0xFF), and not to be interpreted as a diagnostic. For the KIT33912EVME NAD - 160 (0xA0) is used.
CMD
CMD is a command being sent by the master in a request to be interpreted by the slave. CMD is also used to
interpret the status data in a response.
CMD code:
0 = SPI - read and write SPI data registers through the SPI channel
1 = PWM - write a value to the MCU pulse width modulation registers
2 = ADC - read data from the A/D converter the MCU registers
3 = TOOLS_TO_MCU - special commands to change the MCU state and activity
4 = TOOLS_TO_PC - special commands to read the MCU state and activity
20
Freescale Semiconductor
相关PDF资料
PDF描述
KIT33932VWEVBE KIT EVALUATION FOR MC33932
KIT33982CEVBE KIT EVAL 33982 HIGH SIDE SWITCH
KIT33984CEVBE KIT EVAL 33984 HIGH SIDE SWITCH
KIT33988CEVBE KIT EVAL 33988 HIGH SIDE SWITCH
KIT33996EKEVB KIT EVAL 33996 16OUTPUT SW W/SPI
相关代理商/技术参数
参数描述
KIT33912G5DGEVME 功能描述:电源管理IC开发工具 33912G5 LIN SBC KIT RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33926PNBEVBE 功能描述:电源管理IC开发工具 5.2 A H-BRIDGE W/LOAD RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33927EKEVBE 功能描述:电源管理IC开发工具 THREE-PHASE FET PRE-DRIV RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33932EKEVBE 功能描述:界面开发工具 5.0 A THROTTLE CONROL H RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
KIT33932VWEVBE 功能描述:电源管理IC开发工具 5.0A THROTTLE CONTROL H RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V