Genio 520/720-EVK

UART

There are 4 UART devices on Genio 520/720-EVK. The supported baud is from 300 bps to 3000000 bps:

  • UART0: Connect to USB bridge(FT232RL), USB Type-C UART0 connector

  • UART1: Connect to USB bridge(FT232RL), USB Type-C UART1 connector

  • UART2: Shared with pin header(J477) and Raspberry Pi HAT

    • J470/J471/J514/J515 pin1,pin2 short: Pin Header(J477)

    • J470/J471/J514/J515 pin2,pin3 short: Raspberry Pi HAT Pin #8(Tx) #10(Rx) #11(RTS) #36(CTS)

  • UART3: Connect to pin header(J490)

pin definition of UART2 Pin Header(J477)

Pin #

Pin source

1

GND

2

UART2_RTS

3

UART2_VIO

4

UART2_RXD

5

UART2_TXD

6

UART2_CTS

pin definition of UART3 Pin Header(J490)

Pin #

Pin source

1

GND

2

UART3_RTS

3

UART3_VIO

4

UART3_RXD

5

UART3_TXD

6

UART3_CTS

Note

UART0 is used for AP debug console

Raspberry Pi HAT

There is a 40-pin Raspberry Pi HAT on Genio 520/720-EVK. It contains several peripheral interfaces. By default, it follows the official Raspberry Pi setting. For more details about RPi HAT, please refer to GPIO and the 40-pin Header. You can use the header to connect your external devices.

pin definition of Raspberry Pi HAT

Pin #

Main

Pin #

Main

1

VDD_3V3

2

VDD_5V

3

I2C1_SDA

4

VDD_5V

5

I2C1_SCL

6

GND

7

GPIO107

8

UART2_TXD

9

GND

10

UART2_RXD

11

UART2_RTS

12

PCM_CLK

13

GPIO108

14

GND

15

GPIO109

16

GPIO110

17

VDD_3V3

18

GPIO42

19

SPI1_MOSI

20

GND

21

SPI1_MISO

22

GPIO106

23

SPI1_SCLK

24

SPI1_CS

25

GND

26

GPIO85

27

I2C0_SDA

28

I2C0_SCL

29

GPIO104

30

GND

31

GPIO105

32

PWM0

33

PWM1

34

GND

35

PCM_SYNC

36

UART2_CTS

37

GPIO103

38

PCM_DI

39

GND

40

PCM_DO

Note

  1. VDD_5V power can provide 5V/2A maximum but share with USB Host VBUS 5V output.

  2. VGPIOEXT_3V3 power can deliver 3.3V/300mA

  3. Black words are ground pins.

  4. Red words are power pins.

  5. Green words are special function pins.

  6. Blue words are GPIOs.

  7. Pink words are pins, which are default used by other modules. Please refer to function select of Raspberry Pi HAT jumper for more detailed information.

Warning

The default input/output voltage of the GPIO pins on the header is 3.3V. Before using them, please make sure the voltage is suitable for your external device. Otherwise, the unmatched voltage may destroy both Genio 520/720-EVK and external devices.

On the Genio 520/720-EVK, there are several jumpers used to select the pinout of Raspberry Pi HAT pins. To select the function, please short the pins according to the table below:

function select of Raspberry Pi HAT jumper

Jumper #

Pin source

1-2

2-3

J470

UART2_RXD

Pin Header(J477)

RasPi Header #10

J471

UART2_TXD

Pin Header(J477)

RasPi Header #8

J514

UART2_CTS

Pin Header(J477)

RasPi Header #36

J515

UART2_RTS

Pin Header(J477)

RasPi Header #11

J474

BT_RST

WIFI_BT_RST_R

RasPi Header #26

J475

I2SOUT0_BCK

EDP_BL_EN_1V8

RasPi Header #13

J476

I2SOUT0_LRCK

EDP_3V3_EN

RasPi Header #15

J478

I2SIN0_MCK

I2SIN0_MCK_T

RasPi Header #37

J479

I2SIN0_BCK

I2SIN0_BCK_T

RasPi Header #29

J480

I2SIN0_LRCK

I2SIN0_LRCK_T

RasPi Header #31

J481

PCM_SYNC

MT7921_PCM_SYNC

RasPi Header #35

J482

PCM_CLK

MT7921_PCM_CLK

RasPi Header #12

J483

I2SOUT0_DO

EDP_12V_EN

RasPi Header #16

J484

JTDO

DBG1_TDO

RasPi Header #18

J485

I2SIN0_DI

I2SIN0_DI_T

RasPi Header #22

J487

PCM_DI

MT7921_PCM_DI

RasPi Header #38

J488

PCM_DO

MT7921_PCM_DO

RasPi Header #40

J502

SPIM1_MOSI

WCN_3V3_EN

RasPi Header #19

J503

SPIM1_MISO

CAN_INT_GPIO

RasPi Header #21

J504

SPIM1_CLK

CMMPDN0

RasPi Header #23

J505

SPIM1_CSB

CMMPDN1

RasPi Header #24

J506

I2SOUT0_MCK

CSR_EN_GPIO107

RasPi Header #5