参数资料
型号: STM8AF52A9TDX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP64
封装: 10 X 10 MM, ROHS COMPLIANT, LQFP-64
文件页数: 9/120页
文件大小: 2236K
代理商: STM8AF52A9TDX
Known limitations
STM8AF52/62xx, STM8AF51/61xx
106/120
Doc ID 14395 Rev 7
13.1.3
CPU not returning to Halt mode when the AL bit is set
Description
When the AL bit of the CFG_GCR register is set, the CPU does not return to Halt mode after
exiting an interrupt service routine (ISR). It returns to the main program and executes the
next instruction after the HALT instruction.
Workaround
None.
13.1.4
Main program not resuming after ISR has reset the AL bit
Description
If the CPU is in wait for interrupt state and the AL bit is set, the CPU returns to wait for
interrupt state after executing an ISR. To continue executing the main program, the AL bit
must be reset by the ISR. When AL is reset just before exiting the ISR, the CPU may remain
stalled.
Workaround
Reset the AL bit at least two instructions before the IRET instruction.
13.2
I2C interface
13.2.1
Misplaced NACK bit when receiving 2 bytes in master mode
Description
When receiving two bytes in master mode, the usual sequence is the following:
1.
Set POS and ACK bits of the I2C_CR2 register to 1.
2.
Wait for ADDR event (address sent bit in I2C_SR1 register). When ADDR is set to 1,
program ACK to 0 and clear ADDR.
3.
Wait for BTF event (byte transfer finished bit in I2C_SR1 register). When BTF is set to
1, program the STOP bit to 1 in the I2C_CR2 register, and read the 2 received bytes.
The NACK bit may be sent erroneously after the first byte.
Workaround
Use a different software sequence to clear ADDR and ACK bits:
1.
Wait till ADDR flag is set.
2.
Mask interrupts.
3.
Clear ADDR bit.
4.
Clear ACK bit.
5.
Re-enable interrupts.
As the TLI interrupt is not maskable, this software workaround can not be implemented in
applications using the TLI interrupt.
相关PDF资料
PDF描述
STM8AF6178TAU 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP48
STM8AF6178TBX 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP48
STM8AF6178TDX 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP48
STM8AF6178TDY 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP48
STM8AF5268TCX 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP48
相关代理商/技术参数
参数描述
STM8AF52A9TDY 功能描述:8位微控制器 -MCU 8-Bit Automotive MCU CAN Line 128kb Flash RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
STM8AF52AA 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Automotive 8-bit MCU, with up to 128 Kbytes Flash, data EEPROM
STM8AF52AATAY 功能描述:8位微控制器 -MCU 8-Bit Automotive MCU CAN Line 128kb Flash RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
STM8AF52AATCX 制造商:STMicroelectronics 功能描述:
STM8AF52AATCY 功能描述:8位微控制器 -MCU Automotive 8-Bit MCU Rev U 128KIbit 80Pin RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT