参数资料
型号: ADUC7036DCPZ-RL
厂商: Analog Devices Inc
文件页数: 27/132页
文件大小: 0K
描述: IC MCU 96K FLASH DUAL 48LFCSP
标准包装: 2,500
系列: MicroConverter® ADuC7xxx
核心处理器: ARM7
芯体尺寸: 16/32-位
速度: 20.48MHz
连通性: LIN,SPI,UART/USART
外围设备: PSM,温度传感器,WDT
输入/输出数: 9
程序存储器容量: 96KB(48K x 16)
程序存储器类型: 闪存
RAM 容量: 1.5K x 32
电压 - 电源 (Vcc/Vdd): 3.5 V ~ 18 V
数据转换器: A/D 2x16b
振荡器型: 内部
工作温度: -40°C ~ 115°C
封装/外壳: 48-VFQFN 裸露焊盘,CSP
包装: 带卷 (TR)
ADuC7036
Rev. C | Page 122 of 132
Example LIN Hardware Synchronization Routine
Using the following C-source code LIN initialization routine,
LHSVAL1 begins to count on the first falling edge received on
the LIN bus. If LHSVAL1 exceeds the value written to LHSVAL1,
in this case 0x3F, a break compare interrupt is generated.
On the next falling edge, LHSVAL0 begins counting. LHSVAL0
monitors the number of falling edges and compares it to the
value written to LHSCON1[7:4]. In this example, the number of
edges to monitor is six falling edges of the LIN frame, or the five
falling edges of the sync byte. When this number of falling edges is
received, a stop condition interrupt is generated. It is at this point
that the UART is configured to receive the protected identifier.
The UART must be gated through LHSCON0[8] before the LIN
bus returns high. If the LIN bus returns high when UART is not
gated, UART communication errors may occur. This process is
shown in detail in Figure 52. Example code to ensure the success
of this process follows Figure 49.
void LIN_INIT(void )
{
char HVstatus;
GP2CON = 0x110000;
// Enable LHS on GPIO pins
LHSCON0 = 0x1;
// Reset LHS interface
do{
HVDAT = 0x02; // Enable normal LIN Tx mode
HVCON = 0x08; // Write to Config0
do{
HVstatus = HVCON;
}
while(HVstatus & 0x1); // Wait until command is finished
}
while (!(HVstatus & 0x4)); // Transmit command is correct
while((LHSSTA & 0x20) == 0 )
{
// Wait until the LHS hardware is reset
}
LHSCON1 = 0x062;
// Sets stop edge as the fifth falling edge
// and the start edge as the first falling
// edge in the sync byte
LHSCON0 = 0x0114;
// Gates UART Rx line, ensuring no interference
// from the LIN into the UART
// Selects the stop condition as a falling edge
// Enables generation of an interrupt on the
// stop condition
// Enables the interface
LHSVAL1 = 0x03F;
// Sets number of 131 kHz periods to generate a break interrupt
// 0x3F / 131 kHz ~ 480 μs, which is just over 9.5 Tbits
ID1
ID0
START
BIT
START
BIT
STOP
BIT
STOP
BIT
ID2
ID3
ID4
ID5
P0
P1
tBIT
LHSVAL1 = 0x3F
LHSVAL1
RESETS AND
STARTS
COUNTING
BREAK
COMPARE
INTERRUPT IS
GENERATED
LHSVAL0 STARTS
COUNTING
LHSVAL0 STOPS
COUNTING AND A
STOP INTERRUPT
IS GENERATED
UART IS CONFIGURED,
LHS INTERRUPTS
DISABLED EXCEPT
BREAK COMPARE
BEGINS
RECEIVING DATA
VIA UART
07
474
-04
9
Figure 52. Example LIN Configuration
while((GP2DAT & 0x10 ) == 0 )
{}
// Wait until LIN Bus returns high
LHSCON0 = 0x4;
// Enable LHS to detect Break Condition Ungate RX Line
// Disable all Interrupts except Break Compare Interrupt
IRQEN = 0x800;
// Enable UART Interrupt
// The UART is now configured and ready to be used for LIN
相关PDF资料
PDF描述
ADUC7036BCPZ-RL IC SENSOR AUTO 96K FLASH 48LFCSP
ADUC7019BCPZ62IRL7 IC MCU 12BIT 1MSPS I2C 40-LFCSP
AT91M42800A-33AU-999 IC MCU 32BIT RISC 144LQFP
ADUC7027BSTZ62-RL IC MCU 12BIT 1MSPS UART 80-LQFP
MB91F267APMC-GE1 IC MCU FLASH 128KB FLASH 64LQFP
相关代理商/技术参数
参数描述
ADUC7038WBCPZ-RL 制造商:Analog Devices 功能描述:FLASH 64K ARM7 DUAL 16-BIT ADC 制造商:Analog Devices 功能描述:FLASH 64K ARM7 DUAL 16-BIT ADC LIN I.C. - Tape and Reel 制造商:Analog Devices 功能描述:IC MCU ARM7 制造商:Analog Devices 功能描述:ARM Microcontrollers - MCU Flash 64k ARM7 Dual 16-Bit ADC LIN IC 制造商:Analog Devices 功能描述:Flash 64k ARM7 Dual 16-Bit ADC LIN I.C.
ADUC7039 制造商:AD 制造商全称:Analog Devices 功能描述:Integrated, Precision Battery Sensor for Automotive Systems
ADUC7039BCP6Z 功能描述:IC MCU ARM7 BATT SENSER 32LFCSP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC7xxx 标准包装:250 系列:LPC11Uxx 核心处理器:ARM? Cortex?-M0 芯体尺寸:32-位 速度:50MHz 连通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外围设备:欠压检测/复位,POR,WDT 输入/输出数:40 程序存储器容量:96KB(96K x 8) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:48-LQFP 包装:托盘 其它名称:568-9587
ADUC7039BCP6Z-RL 功能描述:IC MCU ARM7 BATT SENSER 32LFCSP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC7xxx 标准包装:38 系列:Encore!® XP® 核心处理器:eZ8 芯体尺寸:8-位 速度:5MHz 连通性:IrDA,UART/USART 外围设备:欠压检测/复位,LED,POR,PWM,WDT 输入/输出数:16 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 3.6 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 105°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:管件 其它名称:269-4116Z8F0413SH005EG-ND
ADUC7039WBCPZ 制造商:Analog Devices 功能描述:FLASH 64K ARM7 DUAL 16-BIT ADC LIN I.C. - Trays 制造商:Analog Devices 功能描述:IC MCU ARM7 64KB FLASH 32LFCSP 制造商:Analog Devices 功能描述:Flash 64k ARM7 Dual 16-Bit ADC LIN I.C.