DataSheet.jp

RM0016 の電気的特性と機能

RM0016のメーカーはSTMicroelectronicsです、この部品の機能は「STM8S and STM8AF microcontroller families」です。


製品の詳細 ( Datasheet PDF )

部品番号 RM0016
部品説明 STM8S and STM8AF microcontroller families
メーカ STMicroelectronics
ロゴ STMicroelectronics ロゴ 




このページの下部にプレビューとRM0016ダウンロード(pdfファイル)リンクがあります。
Total 30 pages

No Preview Available !

RM0016 Datasheet, RM0016 PDF,ピン配置, 機能
RM0016
Reference manual
STM8S and STM8AF microcontroller families
Introduction
This reference manual provides complete information for application developers on how to
use STM8S and STM8AF microcontroller memory and peripherals.
The STM8AF is a family of microcontrollers designed for automotive applications, with
different memory densities, packages and peripherals:
The low density STM8AF devices are the STM8AF6223/26 with 8 Kbytes of Flash
memory.
The medium density STM8AF devices are the STM8AF624x, STM8AF6266/68,
STM8AF612x/4x and STM8AF6166/68 microcontrollers with 16 to 32 Kbytes of Flash
memory.
The high density STM8AF devices are the STM8AF52xx STM8AF6269/8x/Ax,
STM8AF51xx, and STM8AF6178/99/9A microcontrollers with 32 to 128 Kbytes of Flash
memory.
The STM8S is a family of microcontrollers designed for general purpose applications, with
different memory densities, packages and peripherals.
The value line low density STM8S devices are the STM8S003xx microcontrollers with 8
Kbytes of Flash memory.
The value line medium density STM8S devices are the STM8S005xx microcontrollers
with 32 Kbytes of Flash memory.
The value line high density STM8S devices are the STM8S007xx microcontrollers with 64
Kbytes of Flash memory.
The access line low density STM8S devices are the STM8S103xx and STM8S903xx
microcontrollers with 8 Kbytes of Flash memory.
The access line medium density STM8S devices are the STM8S105xx microcontrollers
with 16 to 32-Kbytes of Flash memory.
The performance line high density STM8S devices are the STM8S207xx and
STM8S208xx microcontrollers with 32 to 128 Kbytes of Flash memory.
Refer to the product datasheet for ordering information, pin description, mechanical and
electrical device characteristics, and for the complete list of available peripherals.
Reference documents
For information on programming, erasing and protection of the internal Flash memory
please refer to the STM8S and STM8AF Flash programming manual (PM0051), and to
the STM8 SWIM communication protocol and debug module user manual (UM0470).
For information on the STM8 core, refer to STM8 CPU programming manual (PM0044).
The bootloader user manual (UM0560) describes the usage of the integrated ROM
bootloader.
June 2014
DocID14587 Rev 10
1/464
www.st.com

1 Page





RM0016 pdf, ピン配列
RM0016
Contents
4.5.3 Enabling write access to option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6 Memory programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6.1 Read-while-write (RWW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6.2 Byte programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6.3 Word programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.6.4 Block programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.6.5 Option byte programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.7 ICP and IAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.8 Flash registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.8.1 Flash control register 1 (FLASH_CR1) . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.8.2 Flash control register 2 (FLASH_CR2) . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.8.3 Flash complementary control register 2 (FLASH_NCR2) . . . . . . . . . . . 53
4.8.4 Flash protection register (FLASH_FPR) . . . . . . . . . . . . . . . . . . . . . . . . 54
4.8.5 Flash protection register (FLASH_NFPR) . . . . . . . . . . . . . . . . . . . . . . . 54
4.8.6 Flash program memory unprotecting key register (FLASH_PUKR) . . . 54
4.8.7 Data EEPROM unprotection key register (FLASH_DUKR) . . . . . . . . . . 54
4.8.8 Flash status register (FLASH_IAPSR) . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.8.9 Flash register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5 Single wire interface module (SWIM) and debug module (DM) . . . . . 57
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.2 Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.3 SWIM modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6 Interrupt controller (ITC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.1 ITC introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.2 Interrupt masking and processing flow . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.2.1 Servicing pending interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.2.2 Interrupt sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.3 Interrupts and low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.4 Activation level/low power mode control . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.5 Concurrent and nested interrupt management . . . . . . . . . . . . . . . . . . . . . 63
6.5.1 Concurrent interrupt management mode . . . . . . . . . . . . . . . . . . . . . . . . 63
6.5.2 Nested interrupt management mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.6 External interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.7 Interrupt instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
DocID14587 Rev 10
3/464
16


3Pages


RM0016 電子部品, 半導体
Contents
RM0016
11.6
11.7
11.8
11.9
Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Input mode details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
11.7.1 Alternate function input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
11.7.2 Interrupt capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
11.7.3 Analog channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
11.7.4 Schmitt trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Output mode details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111
11.8.1 Alternate function output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
11.8.2 Slope control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
GPIO registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
11.9.1 Port x output data register (Px_ODR) . . . . . . . . . . . . . . . . . . . . . . . . . 112
11.9.2 Port x pin input register (Px_IDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
11.9.3 Port x data direction register (Px_DDR) . . . . . . . . . . . . . . . . . . . . . . . 113
11.9.4 Port x control register 1 (Px_CR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
11.9.5 Port x control register 2 (Px_CR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
11.9.6 GPIO register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . 114
12 Auto-wakeup (AWU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
12.2 LSI clock measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
12.3 AWU functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
12.3.1 AWU operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
12.3.2 Time base selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
12.3.3 LSI clock frequency measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
12.4 AWU registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
12.4.1 Control/status register (AWU_CSR) . . . . . . . . . . . . . . . . . . . . . . . . . . 119
12.4.2 Asynchronous prescaler register (AWU_APR) . . . . . . . . . . . . . . . . . . 119
12.4.3 Timebase selection register (AWU_TBR) . . . . . . . . . . . . . . . . . . . . . . 120
12.4.4 AWU register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . 120
13 Beeper (BEEP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.2 Beeper functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.2.1 Beeper operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.2.2 Beeper calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
13.3 Beeper registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6/464
DocID14587 Rev 10

6 Page



ページ 合計 : 30 ページ
 
PDF
ダウンロード
[ RM0016 データシート.PDF ]


データシートを活用すると、その部品の主な機能と仕様を詳しく理解できます。 ピン構成、電気的特性、動作パラメータ、性能を確認してください。


共有リンク

Link :


部品番号部品説明メーカ
RM0016

STM8S and STM8AF microcontroller families

STMicroelectronics
STMicroelectronics


www.DataSheet.jp    |   2020   |  メール    |   最新    |   Sitemap