RHIO STM32L476 Master module pin names
Standardized mbed names¶
ADC internal channels¶
ADC_TEMP = 0xF0
ADC_VREF = 0xF1
ADC_VBAT = 0xF2
STDIO for console print¶
STDIO_UART_TX = PC_4
STDIO_UART_RX = PC_5
LEDs¶
LED1 = PC_7
LED2 = PC_7
Buttons¶
USER_BUTTON = PB_1
BUTTON1 = USER_BUTTON
UART¶
SERIAL_TX = STDIO_UART_TX
SERIAL_RX = STDIO_UART_RX
USBTX = STDIO_UART_TX
USBRX = STDIO_UART_RX
I2C¶
I2C_SCL = PB_8
I2C_SDA = PB_9
SPI¶
SPI_MOSI = PA_7
SPI_MISO = PA_6
SPI_SCK = PA_5
SPI_CS = PB_6
PWM pin
PWM_OUT = PC_7
USB¶
USB_OTG_FS_DM = PA_11
USB_OTG_FS_DP = PA_12
USB_OTG_FS_ID = PA_10
OSCILLATOR¶
RCC_OSC32_IN = PC_14
RCC_OSC32_OUT = PC_15
RCC_OSC_IN = PH_0
RCC_OSC_OUT = PH_1
DEBUG¶
SYS_JTCK_SWCLK = PA_14
SYS_JTDI = PA_15
SYS_JTDO_SWO = PB_3
SYS_JTMS_SWDIO = PA_13
SYS_JTRST = PB_4
QSPI FLASH¶
QSPI_FLASH1_IO0 = PE_12
QSPI_FLASH1_IO1 = PE_13
QSPI_FLASH1_IO2 = PE_14
QSPI_FLASH1_IO3 = PE_15
QSPI_FLASH1_SCK = PE_10
QSPI_FLASH1_CSN = PE_11
Standardized rhomb.io names¶
Interrupts¶
NMI = PB_1
INT0 = PB_3
INT1 = PB_7
INT2 = PA_15
GPIOs¶
IO0 = PB_5
IO1 = PB_4
IO2 = PB_10
IO3 = PA_8
IO4 = PA_9
IO5 = PE_8
IO6 = PE_7
IO7 = PB_15
IO8 = PC_13
IO9 = PD_7
IO10 = PD_10
IO11 = PD_11
IO12 = PD_12
IO13 = PD_13
IO14 = PC_3
IO15 = PC_2
PWM¶
PWM0 = PC_7
PWM1 = PE_9
PWM2 = PD_14
PWM3 = PC_6
PWM4 = PB_2
UART¶
UART_A_RXD = PA_3
UART_A_TXD = PA_2
UART_A_CTS = PD_3
UART_A_RTS = PD_4
UART_B_RXD = PD_6
UART_B_TXD = PD_5
UART_C_RXD = PD_9
UART_C_TXD = PD_8
I2C¶
I2C_A_SDA = PB_9
I2C_A_SCL = PB_8
I2C_B_SDA = PB_14 - (R14 must be populated/closed, default is open)
I2C_B_SCL = PB_13 - (R15 must be populated/closed, default is open)
SPI¶
SPI_A_MOSI = PA_7
SPI_A_MISO = PA_6
SPI_A_CLK = PA_5
SPI_A_CS0 = PB_6
SPI_A_CS1 = PB_14
SPI_A_CS2 = PB_13
QSPI¶
QSPI_IO0 = PE_12
QSPI_IO1 = PE_13
QSPI_IO2 = PE_14
QSPI_IO3 = PE_15
QSPI_CLK = PE_10
QSPI_CS0 = PB_11 - (CS of qspi memory on external bus, if any)
QSPI_MEM_CS = PE_11 - (CS of qspi memory on module)
1Wire & CAN pins¶
_1WIRE = PB_12
CAN_A_RX = PD_0
CAN_A_TX = PD_1
SDIO¶
SDIO_DATAO = PC_8
SDIO_DATA1 = PC_9
SDIO_DATA2 = PC_10
SDIO_DATA3 = PC_11
SDIO_CLK = PC_12
SDIO_CMD = PD_2
SDIO_CDN = PD_15
SAI (Serial Audio Interface)¶
SAI_A_BCLK = PE_5
SAI_A_LRCLK = PE_4
SAI_A_SDI = PE_6
SAI_A_SDO = PE_3
SAI_A_MCLK = PE_2
OTG USB pins¶
OTG_P = PA_12
OTG_N = PA_11
OTG_ID = PA_10
USB_SWITCH = PE_1 - (internal, routed to switch IC, not routed to pin connectors)
Analog pins¶
AD0 = PA_0
AD1 = PA_1
AD2 = PA_4
AD3 = PB_0
AD4 = PC_1
AD5 = PC_0
,
AD6 not used
AD7 = PC_5
AD8 = PC_4
COMP_A_P = PC_5
COMP_A_N = PC_4
Capture pins¶
CAPT0 = PC_3 - (R18 must be populated/closed, default is open),
CAPT1 = PC_2 - (R19 must be populated/closed, default is open),
DEBUG pins¶
SWDIO = PA_13
SWCLK = PA_14
Reset out pin¶
RSTOUT = PE_0 - (signal inverted in carrier board through a N-channel MOSFET)