Function | Port | Signal Name | Mode | Direction | Pull-Up/Pull-Down | Description |
8MHz External CLK | PH0 | OSC\_IN | CLK | | | 8MHz External Crystal input OR 8MHz OSC input |
8MHz External CLK | PH1 | OSC\_OUT | CLK | | | 8MHz External Crystal output |
System | PC14 | OSC32\_IN | CLK | | | 32.768kHz Crystal input OR 32.768kHz OSC input |
System | PC15 | OSC32\_OUT | CLK | | | 32.768kHz Crystal output |
System | PA8 | MCO1 | AF0 | OUT | | HSI/LSE/HSE/PLL Clock output for DEBUG |
JTAG | PA13 | JTMS-SWDIO | SYS | I/O | external PU | JTAG TMS (SWDIO) |
JTAG | PA14 | JTCK-SWCLK | SYS | IN | external PD | JTAG TCK (SWCLK) |
JTAG | PA15 | JTDI | SYS | IN | external PU | JTAG TDI |
JTAG | PB3 | JTDO-SWO | SYS | OUT | external PU | JTAG TDO (SWO) |
JTAG | PB4 | JTRST | SYS | IN | external PU | JTAG TRST |
Debug CONSOLE | PB6 | USART1\_TX | AF7 | OUT | external PU | CONSOLE TXD |
Debug CONSOLE | PB7 | USART1\_RX | AF7 | IN | external PU | CONSOLE RXD |
RS-232 | PD8 | USART3\_TX | AF7 | OUT | external PU | RS-232 TXD |
RS-232 | PD9 | USART3\_RX | AF7 | IN | external PU | RS-232 RXD |
RS-232 | PD11 | USART3\_CTS | AF7 | IN | external PU | RS-232 CTS |
RS-232 | PD12 | USART3\_RTS | AF7 | OUT | external PU | RS-232 RTS |
RS-232 | PF6 | USART3\_DTR | GPIO | OUT | external PU | RS-232 DTR |
RS-232 | PF7 | USART3\_DSR | GPIO | IN | external PU | RS-232 DSR |
RS-232 | PF8 | USART3\_CD | GPIO | IN | external PU | RS-232 CD |
RS-232 | PF9 | USART3\_RI | GPIO | IN | external PU | RS-232 RI |
RS-232 | PF10 | USART3\_RI\_B | GPIO | IRQ IN | Internal Pull-Down | RS-232 Noninverting RI[(トランシーバパワーダウン時も常にActiveで、RI信号によるウェイクアップ等に使用可能。)] |
RS-232 | PF4 | USART3\_FORCEON | GPIO | OUT | external PD | RS-232 Transceiver Auto-power down mode[(ケーブル未接続で自動Power OFF)] (0=Enable, 1=Disable (Default Enable)) |
RS-232 | PF5 | USART3\_FORCEOFF\_N | GPIO | OUT | external PD | RS-232 Transceiver Power down (0=Power OFF, 1=Power ON (Default Power OFF)) |
RS-485 | PG9 | USART6\_RX | AF8 | IN | external PU | RS-485 RXD |
RS-485 | PG10 | USART6\_RCVENB\_N | GPIO | OUT | external PU | RS-485 Receiver Enable (0=Enable, 1=Disable (Default Disable)) |
RS-485 | PG14 | USART6\_TX | AF8 | OUT | external PU | RS-485 TXD |
RS-485 | PG11 | USART6\_TCVENB | GPIO | OUT | external PD | RS-485 Transceiver Enable (0=Disable, 1=Enable (Default Disable)) |
CAN | PD0 | CAN1\_RX | AF9 | IN | external PU | CAN RX Data |
CAN | PD1 | CAN1\_TX | AF9 | OUT | external PU | CAN TX Data |
CAN | PG13 | CAN1\_STBY | GPIO | OUT | external PU | CAN Transceiver Enable (0=Enable, 1=Disable (Default Disable)) |
ETHER 0 | PC1 | ETH\_MDC | AF11 | OUT | | Ether SMI Clock output |
ETHER 0 | PA2 | ETH\_MDIO | AF11 | I/O | external PU | Ether SMI Data IN/OUT |
ETHER 0 | PA1 | ETH\_MII\_RX\_CLK | AF11 | IN | Internal Pull-Down | Receive clock |
ETHER 0 | PA7 | ETH\_MII\_RX\_DV | AF11 | IN | external PD | RX DV |
ETHER 0 | PC4 | ETH\_MII\_RXD0 | AF11 | IN | external PU | RX data[0] |
ETHER 0 | PC5 | ETH\_MII\_RXD1 | AF11 | IN | external PD | RX data[1] |
ETHER 0 | PB0 | ETH\_MII\_RXD2 | AF11 | IN | external PD | RX data[2] |
ETHER 0 | PB1 | ETH\_MII\_RXD3 | AF11 | IN | external PU | RX data[3] |
ETHER 0 | PB10 | ETH\_MII\_RX\_ER | AF11 | IN | external PD | RX error |
ETHER 0 | PH2 | ETH\_MII\_CRS | AF11 | IN | external PD | Carrier sense |
ETHER 0 | PH3 | ETH\_MII\_COL | AF11 | IN | external PD | Collision |
ETHER 0 | PC3 | ETH\_MII\_TX\_CLK | AF11 | IN | Internal Pull-Down | Transmit clock |
ETHER 0 | PB11 | ETH\_MII\_TX\_EN | AF11 | OUT | external PD | TX EN (Pull-Down for DFU Boot) |
ETHER 0 | PB12 | ETH\_MII\_TXD0 | AF11 | OUT | | TX data[0] |
ETHER 0 | PB13 | ETH\_MII\_TXD1 | AF11 | OUT | | TX data[1] |
ETHER 0 | PC2 | ETH\_MII\_TXD2 | AF11 | OUT | | TX data[2] |
ETHER 0 | PE2 | ETH\_MII\_TXD3 | AF11 | OUT | | TX data[3] |
ETHER 0 (PHY) | PH4 | ETH\_RESET\_N | GPIO | OUT | external PD | Ether PHY Reset (0=Reset ON, 1=Reset OFF (Default Reset ON)) |
ETHER 0 (PHY) | PH5 | ETH\_INTRP\_N | GPIO | IRQ IN | external PU | Ether PHY interrupt request (0=Active, 1=Inactive) |
ETHER 0 (PHY) | PH6 | ETH\_OSCENB\_N | GPIO | OUT | external PU | Ether 25MHz OSC Enable (0=Disable, 1=Enable (Default Enable)) |
USB Device | PA9 | OTG\_FS\_VBUS | GPIO | IN | Internal Pull-UP | Not used |
USB Device | PA10 | OTG\_FS\_ID | GPIO | IN | external PU | Not used (Pull-up for DFU boot) |
USB Device | PA11 | OTG\_FS\_DM | AF10 | I/O | | USB Mini-B connector / USB FS internal FS PHY Data- |
USB Device | PA12 | OTG\_FS\_DP | AF10 | I/O | | USB Mini-B connector / USB FS internal FS PHY Data+ |
SD CARD | PC8 | SDIO\_D0 | AF12 | I/O | external PU (SD+V) | SD CARD D0 |
SD CARD | PC9 | SDIO\_D1 | AF12 | I/O | external PU (SD+V) | SD CARD D1 |
SD CARD | PC10 | SDIO\_D2 | AF12 | I/O | external PU (SD+V) | SD CARD D2 |
SD CARD | PC11 | SDIO\_D3 | AF12 | I/O | external PU (SD+V) | SD CARD D3 |
SD CARD | PC12 | SDIO\_CK | AF12 | OUT | external PU (SD+V) | SD CARD CLOCK |
SD CARD | PD2 | SDIO\_CMD | AF12 | I/O | external PU (SD+V) | SD CARD COMMAND |
SD CARD | PG6 | SDIO\_CD\_SW | GPIO | IN | external PU | SD CARD Card Detect (0=Card IN, 1=Card OUT) |
SD CARD | PG7 | SDIO\_WP\_SW | GPIO | IN | external PU | SD CARD Write Protect switch (0=Write Protect, 1=Normal) |
SD CARD | PG8 | SDIO\_VDD\_ENB | GPIO | OUT | external PD | SD CARD Power enable (0=Power OFF, 1=Power ON (Default Power OFF)) |
SPI FLASH | PI0 | SPI2\_NSS | AF5 | OUT | external PU | N25Q064 Chip select |
SPI FLASH | PI1 | SPI2\_SCK | AF5 | OUT | external PD | N25Q064 Clock |
SPI FLASH | PI2 | SPI2\_MISO | AF5 | IN | external PU | N25Q064 Master IN/Serial OUT |
SPI FLASH | PI3 | SPI2\_MOSI | AF5 | OUT | external PU | N25Q064 Master OUT/Serial IN |
I2C Devices | PF0 | I2C2\_SDA | AF4 | I/O | external PU | M24C16, LM77, RX-8025SA |
I2C Devices | PF1 | I2C2\_SCL | AF4 | OUT | external PU | M24C16, LM77, RX-8025SA |
I2C Devices | PI9 | I2C2\_INTB\_N | GPIO | IRQ IN | external PU | RTC RX-8025 Interrupt request (0=Active, 1=Inactive) |
I2C Devices | PI11 | I2C2\_INTA\_N | GPIO | IRQ IN | external PU | Temperature sensor LM77 Interrupt request (0=Active, 1=Inactive) |
LED | PE10 | MCU\_LED0\_G | GPIO | OUT | external PD | Power LED Green (0=ON, 1=OFF (default ON)) |
LED | PE11 | MCU\_LED0\_R | GPIO | OUT | | Power LED Red (0=ON, 1=OFF) |
LED | PE12 | MCU\_LED1\_G | GPIO | OUT | | Status1 LED Green (0=ON, 1=OFF) |
LED | PE13 | MCU\_LED1\_R | GPIO | OUT | | Status1 LED Red (0=ON, 1=OFF) |
LED | PE14 | MCU\_LED2\_G | GPIO | OUT | | Status2 LED Green (0=ON, 1=OFF) |
LED | PE15 | MCU\_LED2\_R | GPIO | OUT | | Status2 LED Red (0=ON, 1=OFF) |
INIT SWITCH | PF11 | MCU\_INITSW\_N | GPIO | IRQ IN | external PU | INIT SWITCH (0=ON, 1=OFF) |
DIP SWITCH | PF12 | MCU\_DIPSW0 | GPIO | IN | external PD | DIPSW[0] (0=OFF, 1=ON (注意:出力に設定すると壊れます)) |
DIP SWITCH | PF13 | MCU\_DIPSW1 | GPIO | IN | external PD | DIPSW[1] (0=OFF, 1=ON (注意:出力に設定すると壊れます)) |
DIP SWITCH | PF14 | MCU\_DIPSW2 | GPIO | IN | external PD | DIPSW[2] (0=OFF, 1=ON (注意:出力に設定すると壊れます)) |
MCU\_BOOT0 | PF15 | BOOT0/MCU\_DIPSW3 | GPIO | IN | external PD | Boot mode[0] (0=Flash Boot, 1=RAM Boot) (boot up sequence) |
DIP SITCH | DIPSW[3] (0=OFF, 1=ON) (After boot up) (注意:出力に設定すると壊れます) |
System | PB2 | BOOT1 | GPIO | IN | external PD | Boot mode[1] = Always 0 |
DIN | PI4 | DIO\_IN0 | GPIO | IN | external PU | DIN[0] (0=ON, 1=OFF (Default OFF)) |
DIN | PI5 | DIO\_IN1 | GPIO | IN | external PU | DIN[1] (0=ON, 1=OFF) |
DIN | PI6 | DIO\_IN2 | GPIO | IN | external PU | DIN[2] (0=ON, 1=OFF) |
DIN | PI7 | DIO\_IN3 | GPIO | IN | external PU | DIN[3] (0=ON, 1=OFF) |
DOUT | PE3 | DIO\_DO0 | GPIO | OUT | external PU | DOUT[0] (0=ON, 1=OFF (Default OFF)) |
DOUT | PE4 | DIO\_DO1 | GPIO | OUT | external PU | DOUT[1] (0=ON, 1=OFF) |
DOUT | PE5 | DIO\_DO2 | GPIO | OUT | external PU | DOUT[2] (0=ON, 1=OFF (Photo-MOS RELAY OUT)) |
DOUT | PE6 | DIO\_DO3 | GPIO | OUT | external PU | DOUT[3] (0=ON, 1=OFF (Photo-MOS RELAY OUT)) |
XIO | PA0 | XIO\_PA0\_WKUP | GPIO | IN | Internal Pull-UP | XBee S2B/S2C : ON/SLEEP# status (0=Sleep mode, 1=Wake up) |
XIO | PA3 | XIO\_PA3\_ADC | GPIO | OUT | | XBee S2B/S2C : DTR#/SLEEP\_RQ control (0=Wake up, 1=Pin sleep request) |
XIO | PA4 | SPI1\_NSS | AF5 | OUT | | XBee S2B : Not used / S2C : SPI\_NSSEL |
XIO | PA5 | SPI1\_SCK | AF5 | OUT | | XBee S2B : Not used / S2C : SPI\_CLK |
XIO | PA6 | SPI1\_MISO | AF5 | IN | Internal Pull-UP | XBee S2B : Not used / S2C : SPI\_MISO |
XIO | PB5 | SPI1\_MOSI | AF5 | OUT | | XBee S2B : Not used / S2C : SPI\_MOSI |
XIO | PB8 | I2C1\_SCL | AF4 | OUT | Internal Pull-UP | Not used[(XBで未使用のピンはGPIO-IN, Internal Pull-UPの設定でも可)] |
XIO | PB9 | I2C1\_SDA | AF4 | I/O | Internal Pull-UP | Not used |
XIO | PB14 | OTG\_HS\_DM | AF12 | I/O | Internal Pull-UP | Not used |
XIO | PB15 | OTG\_HS\_DP | AF12 | I/O | Internal Pull-UP | Not used |
XIO | PC0 | XIO\_PC0\_ADC | GPIO | IN | Internal Pull-UP | XBee S2B/S2C : Associate LED[Green] status (Default)[(XBee moduleのAssociate LED機能をOFFにしてXBee[DIO5]=Inputとすることで、MCUからAssociate LEDの制御が可能となる。MCU[PC0]=GPIO OUT (0=ON, 1=OFF))] |
XIO | PC6 | XIO\_PC6 | GPIO | OUT | | XBee S2B/S2C : RESET# control (0=Reset ON, 1=Reset OFF (Default OFF)) |
XIO | PC7 | XIO\_PC7 | GPIO | OUT | | XBee S2B/S2C : Power Enable (OPTION未実装) (0=OFF, 1=ON (Default ON)) |
XIO | PD3 | USART2\_CTS | AF7 | IN | Internal Pull-UP | XBee S2B/S2C : CTS# output |
XIO | PD4 | USART2\_RTS | AF7 | OUT | | XBee S2B/S2C : RTS# input |
XIO | PD5 | USART2\_TX | AF7 | OUT | | XBee S2B/S2C : DIN (serial rxd) |
XIO | PD6 | USART2\_RX | AF7 | IN | Internal Pull-UP | XBee S2B/S2C : DOUT (serial txd) |
XIO | PD7 | USART2\_CK | GPIO | IN | Internal Pull-UP | Not used |
XIO | PE8 | XIO\_PE8 | GPIO | IN | Internal Pull-UP | XBee S2B/S2C : Commissioning Button status (0=ON, 1=OFF) |
XIO | PE9 | XIO\_PE9 | GPIO | IN | Internal Pull-UP | XBee S2B : Not used / S2C : SPI\_ATTN# |
XIO | PF3 | XIO\_PF3\_ADC | GPIO | IN | Internal Pull-Down | XBee S2B/S2C : RSSI LED status (Default)[(XBee moduleのRSSI LED機能をOFFにしてXBee[DIO10]=Inputとすることで、MCUからRSSI LEDの制御が可能となる。MCU[PF3]=GPIO OUT (0=OFF, 1=ON))] |
XIO | PH11 | XIO\_PH11 | GPIO | IN | Internal Pull-UP | XBee S2B/S2C : DIO11/LED1[RED] control (通常は使用しない) |
XIO | PH12 | XIO\_PH12 | GPIO | IN | Internal Pull-UP | Not used |
Unused PIN | PG12 | USART6\_RTS | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG15 | USART6\_CTS | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PC13 | RTC\_AF1 | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PI8 | RTC\_AF2 | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PD10 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PD13 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PD14 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PD15 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PE0 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PE1 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PE7 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PF2 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG0 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG1 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG2 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG3 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG4 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PG5 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH7 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH8 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH9 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH12 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH13 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH14 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PH15 | | GPIO | IN | Internal Pull-Down | Not used |
Unused PIN | PI10 | | GPIO | IN | Internal Pull-Down | Not used |