Skip to content

Commit

Permalink
Merge pull request #588 from peterwang2050/sirider-s1-patch
Browse files Browse the repository at this point in the history
fix: add 40pin description for sirider s1
  • Loading branch information
peterwang2050 authored Nov 25, 2024
2 parents 2a435f0 + a0ed942 commit 4ca33d8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 25 deletions.
36 changes: 23 additions & 13 deletions docs/sirider/s1/getting-started/interface-usage/pin-40-test.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
---
sidebar_position: 10
sidebar_class_name: hidden
---

# 40-PIN 功能测试
# 40-PIN

## CANBUS

## GPIO

## I2C

## PWM

## SPI

## UART
| 序号 | 功能 | 功能 | 序号 |
| ---- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | ---- |
| 1 | 3.3v | 5v | 2 |
| 3 | PERI1_GPIO2[15] / PERI1_UART_5_TX / PERI1_I2C_7_SDA / 79 | 5v | 4 |
| 5 | PERI1_GPIO1[30 / PERI1_UART_5_RX / PERI1_I2C_7_SCL / 80 | GND | 6 |
| 7 | (SAF_UART_2_TX) / PERI2_GPIO1[7] / PERI2_SPI_MST_1_SCLK / PERI2_SPI_SLV_1_SCLK / 143 | PERI1_GPIO3[14] / PERI1_UART_11_CTS / PERI1_UART_12_TX / PERI1_I2C_14_SDA / 94 | 8 |
| 9 | GND | PERI1_GPIO3[15] / PERI1_UART_11_RTS / PERI1_UART_12_RX / PERI1_I2C_14_SCL / 95 | 10 |
| 11 | (SAF_UART_2_RX) / PERI2_GPIO1[8] / PERI2_SPI_MST_1_SS0 / PERI2_SPI_SLV_1_SS / 144 | (SAF_SPI_MST_1_SS0) / PERI2_GPIO0[9] / PERI2_SPI_SLV_0_SS / 121 | 12 |
| 13 | (SAF_GPIO1) / PERI1_GPIO4[15] / 111 | GND | 14 |
| 15 | (SAF_QSPI_SS1) / PERI2_GPIO1[2] / 130 | PERI0_GPIO1[12] / I2S2_SCK / 28 | 16 |
| 17 | 3.3v | PERI0_GPIO1[13] / I2S2_WS / 29 | 18 |
| 19 | (SAF_SPI_MST_0_MOSI) / SAF_I2C_4_SCL / 116 | GND | 20 |
| 21 | (SAF_SPI_MST_0_MISO) / PERI2_GPIO0[3] / SAF_I2C_4_SDA / 115 | PERI0_GPIO1[15] / I2S2_DO / 31 | 22 |
| 23 | (SAF_SPI_MST_0_SCLK) / PERI2_GPIO0[1] / 113 | (SAF_SPI_MST_0_SS0) / PERI2_GPIO0[2] / 114 | 24 |
| 25 | GND | (SAF_SPI_MST_0_SS1) / PERI2_GPIO0[0] / GP_CLK0 / SAF_PWM_0 / 112 | 26 |
| 27 | PERI1_GPIO3[1] / PERI1_UART_5_CTS / PERI1_UART_6_TX / PERI1_I2C_8_SDA / 81 | PERI1_GPIO3[2] / PERI1_UART_5_RTS / PERI1_UART_6_RX / PERI1_I2C_8_SCL / 82 | 28 |
| 29 | (SAF_GPIO2) / 131 | GND | 30 |
| 31 | PERI1_GPIO4[8] / SAF_I2C_1_SCL / 104 | (SAF_GPIO5)/ -- / PERI2_UART_1_CTS / PERI2_I2C_1_SDA / 136 | 32 |
| 33 | (SAF_GPIO6 ) / -- / PERI2_UART_1_RTS / PERI2_I2C_1_SCL / 137 | GND | 34 |
| 35 | (SAF_SPI_MST_1_MISO) / PERI2_GPIO0[10] / SAF_I2C_5_SDA / PERI2_SPI_SLV_0_MOSI / 122 | PERI0_GPIO1[14] / I2S2_DI / 30 | 36 |
| 37 | PERI1_GPIO4[9] / SAF_I2C_1_SDA / 105 | ( SAF_SPI_MST_1_MOSI ) / PERI2_GPIO0[11] / SAF_I2C_5_SCL / PERI2_SPI_SLV_0_MISO / 123 | 38 |
| 39 | GND | (SAF_SPI_MST_1_SCLK) / PERI2_GPIO0[8] / PERI2_SPI_SLV_0_SCLK / 120 | 40 |
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
---
sidebar_position: 10
sidebar_class_name: hidden
---

# 40-PIN Test

## CANBUS

## GPIO

## I2C

## PWM

## SPI

## UART
| No | Function | Function | No |
| --- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | --- |
| 1 | 3.3v | 5v | 2 |
| 3 | PERI1_GPIO2[15] / PERI1_UART_5_TX / PERI1_I2C_7_SDA / 79 | 5v | 4 |
| 5 | PERI1_GPIO1[30 / PERI1_UART_5_RX / PERI1_I2C_7_SCL / 80 | GND | 6 |
| 7 | (SAF_UART_2_TX) / PERI2_GPIO1[7] / PERI2_SPI_MST_1_SCLK / PERI2_SPI_SLV_1_SCLK / 143 | PERI1_GPIO3[14] / PERI1_UART_11_CTS / PERI1_UART_12_TX / PERI1_I2C_14_SDA / 94 | 8 |
| 9 | GND | PERI1_GPIO3[15] / PERI1_UART_11_RTS / PERI1_UART_12_RX / PERI1_I2C_14_SCL / 95 | 10 |
| 11 | (SAF_UART_2_RX) / PERI2_GPIO1[8] / PERI2_SPI_MST_1_SS0 / PERI2_SPI_SLV_1_SS / 144 | (SAF_SPI_MST_1_SS0) / PERI2_GPIO0[9] / PERI2_SPI_SLV_0_SS / 121 | 12 |
| 13 | (SAF_GPIO1) / PERI1_GPIO4[15] / 111 | GND | 14 |
| 15 | (SAF_QSPI_SS1) / PERI2_GPIO1[2] / 130 | PERI0_GPIO1[12] / I2S2_SCK / 28 | 16 |
| 17 | 3.3v | PERI0_GPIO1[13] / I2S2_WS / 29 | 18 |
| 19 | (SAF_SPI_MST_0_MOSI) / SAF_I2C_4_SCL / 116 | GND | 20 |
| 21 | (SAF_SPI_MST_0_MISO) / PERI2_GPIO0[3] / SAF_I2C_4_SDA / 115 | PERI0_GPIO1[15] / I2S2_DO / 31 | 22 |
| 23 | (SAF_SPI_MST_0_SCLK) / PERI2_GPIO0[1] / 113 | (SAF_SPI_MST_0_SS0) / PERI2_GPIO0[2] / 114 | 24 |
| 25 | GND | (SAF_SPI_MST_0_SS1) / PERI2_GPIO0[0] / GP_CLK0 / SAF_PWM_0 / 112 | 26 |
| 27 | PERI1_GPIO3[1] / PERI1_UART_5_CTS / PERI1_UART_6_TX / PERI1_I2C_8_SDA / 81 | PERI1_GPIO3[2] / PERI1_UART_5_RTS / PERI1_UART_6_RX / PERI1_I2C_8_SCL / 82 | 28 |
| 29 | (SAF_GPIO2) / 131 | GND | 30 |
| 31 | PERI1_GPIO4[8] / SAF_I2C_1_SCL / 104 | (SAF_GPIO5)/ -- / PERI2_UART_1_CTS / PERI2_I2C_1_SDA / 136 | 32 |
| 33 | (SAF_GPIO6 ) / -- / PERI2_UART_1_RTS / PERI2_I2C_1_SCL / 137 | GND | 34 |
| 35 | (SAF_SPI_MST_1_MISO) / PERI2_GPIO0[10] / SAF_I2C_5_SDA / PERI2_SPI_SLV_0_MOSI / 122 | PERI0_GPIO1[14] / I2S2_DI / 30 | 36 |
| 37 | PERI1_GPIO4[9] / SAF_I2C_1_SDA / 105 | ( SAF_SPI_MST_1_MOSI ) / PERI2_GPIO0[11] / SAF_I2C_5_SCL / PERI2_SPI_SLV_0_MISO / 123 | 38 |
| 39 | GND | (SAF_SPI_MST_1_SCLK) / PERI2_GPIO0[8] / PERI2_SPI_SLV_0_SCLK / 120 | 40 |

0 comments on commit 4ca33d8

Please sign in to comment.