目次

PINマッピング

ポート名順

Port Group Port Signal Pull-Up/Pull-Down Function Description
PA PA0[XIO]PA0/WKUPInternal Pull-UPXIO
PA1ETH\_MII\_RX\_CLK ETHER 0
PA2ETH\_MDIO ETHER 0
PA3[XIO]A1 XIO
PA4[XIO]SPI1\_NSS/ADC/DAC1\_OUT XIO
PA5[XIO]SPI1\_SCK/ADC/DAC2\_OUT XIO
PA6[XIO]SPI1\_MISO/ADCInternal Pull-UPXIO
PA7ETH\_MII\_RX\_DV ETHER 0
PA8MCO1 SystemPLL Clock output
PA9OTG\_FS\_VBUS USB DeviceUSB Mini-B connector
PA10OTG\_FS\_ID USB DeviceUSB Mini-B connector
PA11OTG\_FS\_DM USB DeviceUSB Mini-B connector
PA12OTG\_FS\_DP USB DeviceUSB Mini-B connector
PA13JTMS-SWDIO JTAG
PA14JTCK-SWCLK JTAG
PA15JTDI JTAG
PB PB0ETH\_MII\_RXD2 ETHER 0
PB1ETH\_MII\_RXD3 ETHER 0
PB2BOOT1 System
PB3JTDO-SWO JTAG
PB4JTRST JTAG
PB5[XIO]SPI1\_MOSI XIO
PB6USART1\_TX Debug CONSOLE
PB7USART1\_RX Debug CONSOLE
PB8[XIO]I2C1\_SCL XIO
PB9[XIO]I2C1\_SDAInternal Pull-UPXIO
PB10ETH\_MII\_RX\_ER ETHER 0
PB11ETH\_MII\_TX\_EN ETHER 0
PB12ETH\_MII\_TXD0 ETHER 0
PB13ETH\_MII\_TXD1 ETHER 0
PB14[XIO]OTG\_HS\_DM XIO
PB15[XIO]OTG\_HS\_DP XIO
PC PC0[XIO]PC0 XIO
PC1ETH\_MDC ETHER 0
PC2ETH\_MII\_TXD2 ETHER 0
PC3ETH\_MII\_TX\_CLK ETHER 0
PC4ETH\_MII\_RXD0 ETHER 0
PC5ETH\_MII\_RXD1 ETHER 0
PC6[XIO]TIM8-1 XIO
PC7[XIO]TIM8-2 XIO
PC8SDIO\_D0 SD CARD
PC9SDIO\_D1 SD CARD
PC10SDIO\_D2 SD CARD
PC11SDIO\_D3 SD CARD
PC12SDIO\_CK SD CARD
PC13RTC\_AF1 System
PC14OSC32\_IN System
PC15OSC32\_OUT System
PD PD0CAN1\_RX CANRX Data
PD1CAN1\_TX CANTX Data
PD2SDIO\_CMD SD CARD
PD3[XIO]USART2\_CTSInternal Pull-UPXIO
PD4[XIO]USART2\_RTS XIO
PD5[XIO]USART2\_TX XIO
PD6[XIO]USART2\_RXInternal Pull-UPXIO
PD7[XIO]USART2\_CK XIO
PD8USART3\_TX RS-232
PD9USART3\_RX RS-232
PD10
PD11USART3\_CTS RS-232
PD12USART3\_RTS RS-232
PD13
PD14
PD15
PE PE0
PE1
PE2ETH\_MII\_TXD3 ETHER 0
PE3DIO\_DO0 DOUT CH0Photo Coupler output
PE4DIO\_DO1 DOUT CH1Photo Coupler output
PE5DIO\_DO2 DOUT CH2Photo-MOS Relay output
PE6DIO\_DO3 DOUT CH3Photo-MOS Relay output
PE7
PE8[XIO]TIM1\_CH1N XIO
PE9[XIO]TIM1\_CH1 XIO
PE10MCU\_LED0\_G Power LED Green (0=ON, 1=OFF)
PE11MCU\_LED0\_R Power LED Red (0=ON, 1=OFF)
PE12MCU\_LED1\_G Status1 LED Green (0=ON, 1=OFF)
PE13MCU\_LED1\_R Status1 LED Red (0=ON, 1=OFF)
PE14MCU\_LED2\_G Status2 LED Green (0=ON, 1=OFF)
PE15MCU\_LED2\_R Status2 LED Red (0=ON, 1=OFF)
PF PF0I2C2\_SDA I2C DevicesM24C16, LM77, RX-8025SA
PF1I2C2\_SCL I2C DevicesM24C16, LM77, RX-8025SA
PF2
PF3[XIO]PF3
PF4USART3\_FORCEON RS-232RS-232 Transceiver Auto-power down mode (0=Enable, 1=Disable)
PF5USART3\_FORCEOFF\_N RS-232RS-232 Transceiver Power down (0=Power OFF, 1=Power ON)
PF6USART3\_DTR RS-232
PF7USART3\_DSR RS-232
PF8USART3\_CD RS-232
PF9USART3\_RI RS-232
PF10USART3\_RI\_B RS-232Noninverting RI (Always active)
PF11MCU\_INITSW\_N INIT Switch
PF12MCU\_DIPSW0 DIP Switch[0] (0=OFF, 1=ON)
PF13MCU\_DIPSW1 DIP Switch[1] (0=OFF, 1=ON)
PF14MCU\_DIPSW2 DIP Switch[2] (0=OFF, 1=ON)
PF15MCU\_DIPSW3 MCU\_BOOT0 (DIP Switch[3])System memory boot (DFU) (0=Flash Boot, 1=RAM Boot)
PG PG0
PG1
PG2
PG3
PG4
PG5
PG6SDIO\_CD\_SW SD CARDSD SLOT Card detect
PG7SDIO\_WP\_SW SD CARDSD SLOT write protect switch
PG8SDIO\_VDD\_ENB SD SLOT Power enable
PG9USART6\_RX RS-485RX Data
PG10USART6\_RCVENB\_N RS-485Receiver Enable (0=Enable, 1=Disable)
PG11USART6\_TCVENB RS-485Transceiver Enable (0=Disable, 1=Enable)
PG12USART6\_RTS RS-485Reserved
PG13CAN1\_STBY CANCAN Transceiver Enable (0=Enable, 1=Disable)
PG14USART6\_TX RS-485TX Data
PG15USART6\_CTS RS-485Reserved
PH PH0OSC\_IN 8MHz External CLK
PH1OSC\_OUT 8MHz External CLK
PH2ETH\_MII\_CRS ETHER 0
PH3ETH\_MII\_COL ETHER 0
PH4ETH\_RESET\_N ETHER 0Ether PHY reset (0=Reset, 1=Normal)
PH5ETH\_INTRP\_N ETHER 0Ether PHY interrupt (0=Interrupt request)
PH6ETH\_OSCENB\_N ETHER 0Ether 25MHz OSC Enable (0=Disable, 1=Enable)
PH7
PH8
PH9
PH10 Reserved (errata)
PH11[XIO]TIM5-2 XIO
PH12[XIO]TIM5-3 XIO
PH13
PH14
PH15
PI PI0SPI2\_NSS SPI FLASH
PI1SPI2\_SCK SPI FLASH
PI2SPI2\_MISO SPI FLASH
PI3SPI2\_MOSI SPI FLASH
PI4DIO\_IN0 DIN CH0 (0=ON, 1=OFF)
PI5DIO\_IN1 DIN CH1 (0=ON, 1=OFF)
PI6DIO\_IN2 DIN CH2 (0=ON, 1=OFF)
PI7DIO\_IN3 DIN CH3 (0=ON, 1=OFF)
PI8RTC\_AF2
PI9I2C2\_INTB\_N I2C DevicesRTC RX-8025 Interrupt (0=Active)
PI10 Reserved (eratta)
PI11I2C2\_INTA\_N I2C DevicesLM77 Interrupt (0=Active)

機能毎

Function Port Signal Name Mode Direction Pull-Up/Pull-Down Description
8MHz External CLKPH0OSC\_INCLK 8MHz External Crystal input OR 8MHz OSC input
8MHz External CLKPH1OSC\_OUTCLK 8MHz External Crystal output
SystemPC14OSC32\_INCLK 32.768kHz Crystal input OR 32.768kHz OSC input
SystemPC15OSC32\_OUTCLK 32.768kHz Crystal output
SystemPA8MCO1AF0OUT HSI/LSE/HSE/PLL Clock output for DEBUG
JTAGPA13JTMS-SWDIOSYSI/Oexternal PUJTAG TMS (SWDIO)
JTAGPA14JTCK-SWCLKSYSINexternal PDJTAG TCK (SWCLK)
JTAGPA15JTDISYSINexternal PUJTAG TDI
JTAGPB3JTDO-SWOSYSOUTexternal PUJTAG TDO (SWO)
JTAGPB4JTRSTSYSINexternal PUJTAG TRST
Debug CONSOLEPB6USART1\_TXAF7OUTexternal PUCONSOLE TXD
Debug CONSOLEPB7USART1\_RXAF7INexternal PUCONSOLE RXD
RS-232PD8USART3\_TXAF7OUTexternal PURS-232 TXD
RS-232PD9USART3\_RXAF7INexternal PURS-232 RXD
RS-232PD11USART3\_CTSAF7INexternal PURS-232 CTS
RS-232PD12USART3\_RTSAF7OUTexternal PURS-232 RTS
RS-232PF6USART3\_DTRGPIOOUTexternal PURS-232 DTR
RS-232PF7USART3\_DSRGPIOINexternal PURS-232 DSR
RS-232PF8USART3\_CDGPIOINexternal PURS-232 CD
RS-232PF9USART3\_RIGPIOINexternal PURS-232 RI
RS-232PF10USART3\_RI\_BGPIOIRQ INInternal Pull-DownRS-232 Noninverting RI[(トランシーバパワーダウン時も常にActiveで、RI信号によるウェイクアップ等に使用可能。)]
RS-232PF4USART3\_FORCEONGPIOOUTexternal PDRS-232 Transceiver Auto-power down mode[(ケーブル未接続で自動Power OFF)] (0=Enable, 1=Disable (Default Enable))
RS-232PF5USART3\_FORCEOFF\_NGPIOOUTexternal PDRS-232 Transceiver Power down (0=Power OFF, 1=Power ON (Default Power OFF))
RS-485PG9USART6\_RXAF8INexternal PURS-485 RXD
RS-485PG10USART6\_RCVENB\_NGPIOOUTexternal PURS-485 Receiver Enable (0=Enable, 1=Disable (Default Disable))
RS-485PG14USART6\_TXAF8OUTexternal PURS-485 TXD
RS-485PG11USART6\_TCVENBGPIOOUTexternal PDRS-485 Transceiver Enable (0=Disable, 1=Enable (Default Disable))
CANPD0CAN1\_RXAF9INexternal PUCAN RX Data
CANPD1CAN1\_TXAF9OUTexternal PUCAN TX Data
CANPG13CAN1\_STBYGPIOOUTexternal PUCAN Transceiver Enable (0=Enable, 1=Disable (Default Disable))
ETHER 0PC1ETH\_MDCAF11OUT Ether SMI Clock output
ETHER 0PA2ETH\_MDIOAF11I/Oexternal PUEther SMI Data IN/OUT
ETHER 0PA1ETH\_MII\_RX\_CLKAF11INInternal Pull-DownReceive clock
ETHER 0PA7ETH\_MII\_RX\_DVAF11INexternal PDRX DV
ETHER 0PC4ETH\_MII\_RXD0AF11INexternal PURX data[0]
ETHER 0PC5ETH\_MII\_RXD1AF11INexternal PDRX data[1]
ETHER 0PB0ETH\_MII\_RXD2AF11INexternal PDRX data[2]
ETHER 0PB1ETH\_MII\_RXD3AF11INexternal PURX data[3]
ETHER 0PB10ETH\_MII\_RX\_ERAF11INexternal PDRX error
ETHER 0PH2ETH\_MII\_CRSAF11INexternal PDCarrier sense
ETHER 0PH3ETH\_MII\_COLAF11INexternal PDCollision
ETHER 0PC3ETH\_MII\_TX\_CLKAF11INInternal Pull-DownTransmit clock
ETHER 0PB11ETH\_MII\_TX\_ENAF11OUTexternal PDTX EN (Pull-Down for DFU Boot)
ETHER 0PB12ETH\_MII\_TXD0AF11OUT TX data[0]
ETHER 0PB13ETH\_MII\_TXD1AF11OUT TX data[1]
ETHER 0PC2ETH\_MII\_TXD2AF11OUT TX data[2]
ETHER 0PE2ETH\_MII\_TXD3AF11OUT TX data[3]
ETHER 0 (PHY)PH4ETH\_RESET\_NGPIOOUTexternal PDEther PHY Reset (0=Reset ON, 1=Reset OFF (Default Reset ON))
ETHER 0 (PHY)PH5ETH\_INTRP\_NGPIOIRQ INexternal PUEther PHY interrupt request (0=Active, 1=Inactive)
ETHER 0 (PHY)PH6ETH\_OSCENB\_NGPIOOUTexternal PUEther 25MHz OSC Enable (0=Disable, 1=Enable (Default Enable))
USB DevicePA9OTG\_FS\_VBUSGPIOINInternal Pull-UPNot used
USB DevicePA10OTG\_FS\_IDGPIOINexternal PUNot used (Pull-up for DFU boot)
USB DevicePA11OTG\_FS\_DMAF10I/O USB Mini-B connector / USB FS internal FS PHY Data-
USB DevicePA12OTG\_FS\_DPAF10I/O USB Mini-B connector / USB FS internal FS PHY Data+
SD CARDPC8SDIO\_D0AF12I/Oexternal PU (SD+V)SD CARD D0
SD CARDPC9SDIO\_D1AF12I/Oexternal PU (SD+V)SD CARD D1
SD CARDPC10SDIO\_D2AF12I/Oexternal PU (SD+V)SD CARD D2
SD CARDPC11SDIO\_D3AF12I/Oexternal PU (SD+V)SD CARD D3
SD CARDPC12SDIO\_CKAF12OUTexternal PU (SD+V)SD CARD CLOCK
SD CARDPD2SDIO\_CMDAF12I/Oexternal PU (SD+V)SD CARD COMMAND
SD CARDPG6SDIO\_CD\_SWGPIOINexternal PUSD CARD Card Detect (0=Card IN, 1=Card OUT)
SD CARDPG7SDIO\_WP\_SWGPIOINexternal PUSD CARD Write Protect switch (0=Write Protect, 1=Normal)
SD CARDPG8SDIO\_VDD\_ENBGPIOOUTexternal PDSD CARD Power enable (0=Power OFF, 1=Power ON (Default Power OFF))
SPI FLASHPI0SPI2\_NSSAF5OUTexternal PUN25Q064 Chip select
SPI FLASHPI1SPI2\_SCKAF5OUTexternal PDN25Q064 Clock
SPI FLASHPI2SPI2\_MISOAF5INexternal PUN25Q064 Master IN/Serial OUT
SPI FLASHPI3SPI2\_MOSIAF5OUTexternal PUN25Q064 Master OUT/Serial IN
I2C DevicesPF0I2C2\_SDAAF4I/Oexternal PUM24C16, LM77, RX-8025SA
I2C DevicesPF1I2C2\_SCLAF4OUTexternal PUM24C16, LM77, RX-8025SA
I2C DevicesPI9I2C2\_INTB\_NGPIOIRQ INexternal PURTC RX-8025 Interrupt request (0=Active, 1=Inactive)
I2C DevicesPI11I2C2\_INTA\_NGPIOIRQ INexternal PUTemperature sensor LM77 Interrupt request (0=Active, 1=Inactive)
LEDPE10MCU\_LED0\_GGPIOOUTexternal PDPower LED Green (0=ON, 1=OFF (default ON))
LEDPE11MCU\_LED0\_RGPIOOUT Power LED Red (0=ON, 1=OFF)
LEDPE12MCU\_LED1\_GGPIOOUT Status1 LED Green (0=ON, 1=OFF)
LEDPE13MCU\_LED1\_RGPIOOUT Status1 LED Red (0=ON, 1=OFF)
LEDPE14MCU\_LED2\_GGPIOOUT Status2 LED Green (0=ON, 1=OFF)
LEDPE15MCU\_LED2\_RGPIOOUT Status2 LED Red (0=ON, 1=OFF)
INIT SWITCHPF11MCU\_INITSW\_NGPIOIRQ INexternal PUINIT SWITCH (0=ON, 1=OFF)
DIP SWITCHPF12MCU\_DIPSW0GPIOINexternal PDDIPSW[0] (0=OFF, 1=ON (注意:出力に設定すると壊れます))
DIP SWITCHPF13MCU\_DIPSW1GPIOINexternal PDDIPSW[1] (0=OFF, 1=ON (注意:出力に設定すると壊れます))
DIP SWITCHPF14MCU\_DIPSW2GPIOINexternal PDDIPSW[2] (0=OFF, 1=ON (注意:出力に設定すると壊れます))
MCU\_BOOT0PF15BOOT0/MCU\_DIPSW3GPIOINexternal PDBoot mode[0] (0=Flash Boot, 1=RAM Boot) (boot up sequence)
DIP SITCHDIPSW[3] (0=OFF, 1=ON) (After boot up) (注意:出力に設定すると壊れます)
SystemPB2BOOT1GPIOINexternal PDBoot mode[1] = Always 0
DINPI4DIO\_IN0GPIOINexternal PUDIN[0] (0=ON, 1=OFF (Default OFF))
DINPI5DIO\_IN1GPIOINexternal PUDIN[1] (0=ON, 1=OFF)
DINPI6DIO\_IN2GPIOINexternal PUDIN[2] (0=ON, 1=OFF)
DINPI7DIO\_IN3GPIOINexternal PUDIN[3] (0=ON, 1=OFF)
DOUTPE3DIO\_DO0GPIOOUTexternal PUDOUT[0] (0=ON, 1=OFF (Default OFF))
DOUTPE4DIO\_DO1GPIOOUTexternal PUDOUT[1] (0=ON, 1=OFF)
DOUTPE5DIO\_DO2GPIOOUTexternal PUDOUT[2] (0=ON, 1=OFF (Photo-MOS RELAY OUT))
DOUTPE6DIO\_DO3GPIOOUTexternal PUDOUT[3] (0=ON, 1=OFF (Photo-MOS RELAY OUT))
XIOPA0XIO\_PA0\_WKUPGPIOINInternal Pull-UPXBee S2B/S2C : ON/SLEEP# status (0=Sleep mode, 1=Wake up)
XIOPA3XIO\_PA3\_ADCGPIOOUT XBee S2B/S2C : DTR#/SLEEP\_RQ control (0=Wake up, 1=Pin sleep request)
XIOPA4SPI1\_NSSAF5OUT XBee S2B : Not used / S2C : SPI\_NSSEL
XIOPA5SPI1\_SCKAF5OUT XBee S2B : Not used / S2C : SPI\_CLK
XIOPA6SPI1\_MISOAF5INInternal Pull-UPXBee S2B : Not used / S2C : SPI\_MISO
XIOPB5SPI1\_MOSIAF5OUT XBee S2B : Not used / S2C : SPI\_MOSI
XIOPB8I2C1\_SCLAF4OUTInternal Pull-UPNot used[(XBで未使用のピンはGPIO-IN, Internal Pull-UPの設定でも可)]
XIOPB9I2C1\_SDAAF4I/OInternal Pull-UPNot used
XIOPB14OTG\_HS\_DMAF12I/OInternal Pull-UPNot used
XIOPB15OTG\_HS\_DPAF12I/OInternal Pull-UPNot used
XIOPC0XIO\_PC0\_ADCGPIOINInternal Pull-UPXBee 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))]
XIOPC6XIO\_PC6GPIOOUT XBee S2B/S2C : RESET# control (0=Reset ON, 1=Reset OFF (Default OFF))
XIOPC7XIO\_PC7GPIOOUT XBee S2B/S2C : Power Enable (OPTION未実装) (0=OFF, 1=ON (Default ON))
XIOPD3USART2\_CTSAF7INInternal Pull-UPXBee S2B/S2C : CTS# output
XIOPD4USART2\_RTSAF7OUT XBee S2B/S2C : RTS# input
XIOPD5USART2\_TXAF7OUT XBee S2B/S2C : DIN (serial rxd)
XIOPD6USART2\_RXAF7INInternal Pull-UPXBee S2B/S2C : DOUT (serial txd)
XIOPD7USART2\_CKGPIOINInternal Pull-UPNot used
XIOPE8XIO\_PE8GPIOINInternal Pull-UPXBee S2B/S2C : Commissioning Button status (0=ON, 1=OFF)
XIOPE9XIO\_PE9GPIOINInternal Pull-UPXBee S2B : Not used / S2C : SPI\_ATTN#
XIOPF3XIO\_PF3\_ADCGPIOINInternal Pull-DownXBee 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))]
XIOPH11XIO\_PH11GPIOINInternal Pull-UPXBee S2B/S2C : DIO11/LED1[RED] control (通常は使用しない)
XIOPH12XIO\_PH12GPIOINInternal Pull-UPNot used
Unused PINPG12USART6\_RTSGPIOINInternal Pull-DownNot used
Unused PINPG15USART6\_CTSGPIOINInternal Pull-DownNot used
Unused PINPC13RTC\_AF1GPIOINInternal Pull-DownNot used
Unused PINPI8RTC\_AF2GPIOINInternal Pull-DownNot used
Unused PINPD10 GPIOINInternal Pull-DownNot used
Unused PINPD13 GPIOINInternal Pull-DownNot used
Unused PINPD14 GPIOINInternal Pull-DownNot used
Unused PINPD15 GPIOINInternal Pull-DownNot used
Unused PINPE0 GPIOINInternal Pull-DownNot used
Unused PINPE1 GPIOINInternal Pull-DownNot used
Unused PINPE7 GPIOINInternal Pull-DownNot used
Unused PINPF2 GPIOINInternal Pull-DownNot used
Unused PINPG0 GPIOINInternal Pull-DownNot used
Unused PINPG1 GPIOINInternal Pull-DownNot used
Unused PINPG2 GPIOINInternal Pull-DownNot used
Unused PINPG3 GPIOINInternal Pull-DownNot used
Unused PINPG4 GPIOINInternal Pull-DownNot used
Unused PINPG5 GPIOINInternal Pull-DownNot used
Unused PINPH7 GPIOINInternal Pull-DownNot used
Unused PINPH8 GPIOINInternal Pull-DownNot used
Unused PINPH9 GPIOINInternal Pull-DownNot used
Unused PINPH12 GPIOINInternal Pull-DownNot used
Unused PINPH13 GPIOINInternal Pull-DownNot used
Unused PINPH14 GPIOINInternal Pull-DownNot used
Unused PINPH15 GPIOINInternal Pull-DownNot used
Unused PINPI10 GPIOINInternal Pull-DownNot used

~~REFNOTES~~