Page 22 - ARMMbedOS物聯網實戰應用超入門
P. 22

第一章 Cortex-M 系列與 STM32 晶片介紹



                      SWCLK    Serial Wire                                       POWER
                      SWDIO     Debug                                            VOLT.REG    VDD = 2 to 3.6V
                      as AF                                              VDD 18  3.3V to 1.8V  VSS
                                                       Obl   Flash GPL
                                CORTEX-M0 CPU           Flash  Memory  Interface  Up to 128 KB  @VDD
                                                               32-bit
                                  f MAX  =   48   MHz
                                                                       VDDC2 OKIN  SUPPLY
                                                                          POR  SUPERVISION   NRST
                                                            SRAM
                                                 Bus Matrix       @VDDA           PVD        VDD
                                                                          Reset
                                    NVIC                SRAM  Controller  16 KB  Int  POR/PDR  VDDA
                                                                                             VSSA
                                                              HSI 14
                                                              HSI   RC 14 MHz  @VDDA
                                                             PLLCLK  RC 8 MHz        @VDD
                                                                      PLL
                                     GP DMA                   LSI   RC 40 kHz    XTAL OSC    OSC_IN
                                    7 Channels                HSI 48             4-32 MHz    OSC_OUT
                                                                    RC 48 MHz
                                                                               Ind.window WDG
                                                                               Power
                     PA[15:0]     GPIO Port A            RESET & CLOCK         Controlor  VDD
                                                           CONTROL
                     PB[15:0]     GPIO Port B                                 @VBAT          VSAT = 1.65 to 3.6V
                                                   AHB Decoder  Clocks
                     PC[15:0]     GPIO Port C           System and Peripheral    XTAL32 KHz  OSC32_IN
                                                                                             OSC32_OUT
                     PD15:0]      GPIO Port D                                  RTC  Backup   3 TAMPER-RTC
                                                                                    reg
                                                                                             (ALARM OUT)
                     PE[15:0]     GPIO Port E                                   RTC interface
                  PF[10:9], PF6   GPIO Port F                 CRS
                      PF[3:0]                                                                SYNC
                                                                                             3 Compl.channels
                   8 Groups of   PAD   Touch                CRC                PWM TIMER 1   4 Channels
                                Analog
                    4 Channels  Switches  Sensing                                            BRK, ETR Input as AF
                                       Controller    AHB                       TIMER 2-32-bit  4 ch.,ETR as AF
                      SYNC                           APB
                                                                                 TIMER 3     4 ch.,ETR as AF
                      87 AF     EXT. IT WKUP
                                                                                 TIMER 14    1 Channel as AF
                      D+, D–    USB  USB                                         TIMER 15    2 Channels
                                PHY
                             @VDDIO2    SRAM 768B                                            1 Compl, BRK as AF
                                                                                             1 Channel
                                                                                 TIMER 16    1 Compl, BRK as AF
                                        SRAM 256B          Window WDG
                                                                                 TIMER 17    1 Channel
                                                                                             1 Compl, BRK as AF
                  TX, RX as AF    BxCAN                     DBGMCU                           IR_OUT as AF
                     MOSI/SD
                    MISO/MCK     SPI1/I2S1                                       USART 1     RX, TX, CTS, RTS,
                                                                                             CK as AF
                     SCK/CK
                  NSS/WS as AF                                                               RX, TX, CTS, RTS,
                     MOSI/SD                                                     USART 2     CK as AF
                    MISO/MCK     SPI2/I2S2
                     SCK/CK                                                      USART 3     RX, TX, CTS, RTS,
                  NSS/WS as AF                                                               CK as AF
                                 SYSCFG IF                                                   RX, TX, CTS, RTS,
                                                                                 USART 4     CK as AF
                     INPUT +
                      INPUT-   GP Comparator 1                                    I2C1       SCL, SDA, SMBA
                     OUTPUT    GP Comparator 2                                               (20 mA FM+) as AF
                       as AF                                                                 SCL, SDA
                                @VDDA                                             I2C2       (20 mA FM+) as AF
                                Temp.
                                Sensor                                          HDMI-CEC     CEC as AF
                        16x    12-bitADC  IF                TIMER 6
                     AD Input                                                    12-bit DAC  DAC_OUT1
                                                            TIMER 7            IF
                       VDDA                                                      12-bit DAC  DAC_OUT2
                       VSSA
                                @VDDA                                              @VDDA
                               Power domain of analog blocks :  V BAT  V DD  V DDA  V DDIO2
                                          圖  1-7(b)  STM32F072 系列完整架構圖
                                                                                                            1-15
   17   18   19   20   21   22   23   24   25   26   27