Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F102C6T6A 数据手册 > STM32F102C6T6A 开发手册 1/10 页


¥ 1.168
STM32F102C6T6A 开发手册 - ST Microelectronics(意法半导体)
制造商:
ST Microelectronics(意法半导体)
分类:
微控制器
封装:
LQFP-48
描述:
STM32F102 系列微处理器,STMicroelectronicsST 的 STM32F102 MCU 系列 ARM Cortex™ M3、32 位 RISC 内核运行频率高达 48MHz,带高达 128 KB 的高速闪存、高达 16 KB 的 SRAM 以及增强型外设。 ARM™ 处理器 STM32 F102 32 位微控制器具有一个通信接口;计时器;ADC 和 DAC。 STM32 系列 ARM Cortex-M3 32 位闪存产品系列以低功率、低电压运行,并结合了带实时功能的高性能,可以在 STMicroelectronics STM32 平台上运行。 微控制器可用于如应用控制、消费者电器用具、PC 外设、手持设备、HVAC 及其他许多应用领域。 48 MHz CPU,带 USB FS 电源:2 V 至 3.6 V 通信接口:I2C、SPI、USART 12 位 ADC;16 位计时器 温度范围:-40 至 +85 °C ### STM32F1 系列 32 位 ARM® Cortex®-M3 微控制器,STMicroelectronics32 位闪存微控制器的 STM32 系列基于 ARM Cortex™ M3 核心的突破 - 为嵌入式应用特别开发的核心。 STM32 系列得益于 Cortex-M3 体系结构增强功能,包括为传达改进性能而设置的 Thumb-2 指令,带更好的编码密度,对中断更快的反应,所有的均和领先的工业功耗相接合。出色的实时表现 卓越功效 卓越的和新型的外围设备 最大程度的集成 跨族引脚,外围设备和软件兼容性展开
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
应用领域在P10
导航目录
STM32F102C6T6A数据手册
Page:
of 10 Go
若手册格式错乱,请下载阅览PDF原文件

December 2009 Doc ID 16795 Rev 1 1/10
AN3109
Application note
Communication peripheral FIFO emulation with DMA
and DMA timeout in STM32F10x microcontrollers
Introduction
The STM32™ communication peripherals have a single transmit buffer and a single receive
buffer. The user software should therefore retrieve data from the receive buffer before the
data are overwritten by the next received data. With interrupts, there is a risk of data
overflow. The STM32’s DMA feature prevents data overflow but, usually, the number of data
items to be received is not known in advance, and it is variable (from one reception
sequence to the next). Consequently, in reception, the end of transfer cannot be detected.
The solution is to implement an emulated FIFO based on both DMA and interrupts, a DMA
timeout is required to indicated to the application that no further data will be received.
The only requirements for FIFO implementation are that the original data and their order are
preserved. Because it is so simple, FIFO structures are easily implemented in both
hardware and software.
This application note is based on the implementation of a simple 200-byte circular buffer, but
the principle can be extended to buffers of any size. Likewise, the peripheral used here is
the USART but the same principle can be adopted for any other communication peripheral.
The aim of this document is to show how to build an efficient circular FIFO using the
STM32F10x’s DMA, and to provide methods for the implementation of DMA timeout.
This application note is organized into two parts. It first gives a FIFO overview: it discusses
FIFO emulation in the STM32’s system RAM and provides a description of the software
required for FIFO implementation. Then it provides two methods for the implementation of
DMA timeout.
This application note assumes that the reader is familiar with the STM32’s DMA as
described in the STM32F10xx reference manual, RM0008, available for the
STMicroelectronics website www.st.com.
www.st.com
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件