Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This manual provides comprehensive instructions on how to use the SP7350 IO Board. The SP7350 IO Board, when combined with the Core Board, serves as a demonstration platform for showcasing the hardware and software capabilities of the SP7350. Additionally, it offers customers a robust environment to develop their own software and applications.

For Chinese language users, a corresponding version of this documentation is available in the PDF file named "SP7350_IO_Board使用手册v1.1".

View file
nameSP7350_IO_Board使用手册v1.1.pdf

Table of Contents

Table of Contents
stylenone

1. Description of Main Equipment or Interfaces

Refer to the photo below, which shows the IO Board with the Core Board mounted on it:

...

The table below describes: 

...

Item

...

Description

...

1

...

12V DC power input. The DC Jack plug diameter is 5.5mm, and the adapter power supply current must be greater than 1A.

...

2

...

Ethernet RJ-45 socket, supports 10M/100M/1000M transmission.

...

3

...

Ethernet Giga PHY, Realtek RTL8211FD chip.

...

4

...

HDMI output interface, supports 1080P, 720P, 480P.

...

5

...

MIPI/DSI to HDMI bridge chip, LT8912B

...

6

...

4-pole, 3.5mm, TRRS headphone jack, Apple type (L, R, G, M).

...

7

...

Analog microphone input.

...

8

...

Audio output, can only output either to headphones or speakers.

...

9

...

Audio codec chip, ES8316

...

10

...

Wake-up button. Functions as follows:

  1. (When powered off) Short press for 1 second: Power on (hardware action)

  2. (When powered on) Short press for 1 second: Enter deep sleep mode (software function)

  3. (During sleep mode) Short press for 0.3 seconds: Resume from deep sleep mode (software function).

  4. (When powered on) Long press for more than 7 seconds: Force shutdown (hardware function).

...

11

...

Reset button, resets CM4 and MAIN-DOMAIN Power, but cannot reset RTC.

...

12

...

USB3.1 Type C socket, supports Low/Full/High/Super speeds. Please note, USB3.1 Type A and Type C are multiplexed, and both interfaces cannot be used simultaneously.

...

13

...

Serial port Type C socket, supports UA0/UA6/UADBG 3 serial ports through jumper switch from Type C output.

...

14

...

CH340 USB to serial chip.

...

15

...

Dual USB3.1 Type A socket, supports Low/Full/High/Super speeds.

...

16

...

Dual USB3.1 Type A socket, supports Low/Full/High/Super speeds.

...

17

...

4-port USB3.1 Gen. 1 Hub chip, VL817-Q7S

...

18

...

SPI-NOR flash chip, MX25L512, used with USB3 hub chip.

...

19

...

Dual USB2.0 Type A socket, supports Low/Full/High speeds.

...

20

...

Dual USB2.0 Type A socket, supports Low/Full/High speeds.

...

21

...

4-port USB2.0 Hub chip, SPD104

...

22

...

EEPROM chip, used with USB2 Hub chip.

...

23

...

M.2 E-key interface SDIO wireless network card. Refer to Appendix I for pin definitions.

...

24

...

MIPI2-RX interface, 22-pin, 0.5mm, top-contact FFC connector (not supported in version A chip).

...

25

...

MIPI3-RX interface, Raspberry Pi 15-pin, 1.0mm camera FFC connector compatible. Refer to section 8.2 for pin definitions.

...

26

...

MIPI5-RX interface, 22-pin, 0.5mm, top-contact FFC connector. Refer to section 8.4 for pin definitions.

...

27

...

MIPI4-RX interface, Raspberry Pi 15-pin, 1.0mm camera FFC connector compatible. Refer to section 8.3 for pin definitions.

...

28

...

MIPI-TX (1c2d) interface, Raspberry Pi 15-pin, 1.0mm display FFC connector compatible. Refer to section 8.6 for pin definitions.

...

29

...

MIPI-TX (1c4d) interface, 30-pin, 0.5mm, top-contact FFC connector. Refer to section 8.5 for pin definitions.

Note: Both MIPI-TX connectors share signals with the HDMI interface; all 3 interfaces cannot be used simultaneously.

...

30

...

KEY button detection. Refer to section 7 for details.

...

31

...

SP7350 boot configuration switch. Refer to section 3 for details.

...

32

...

Micro SD card socket.

1.1. Explanation of pins or jumpers.

...

The table below describes: 

...

Items

...

Descriptions

...

Remarks

...

1

...

HDMI/MIPITX selection jumper

...

Refer to section 7

...

2

...

Pin-header (2x13, 2.0mm) of LVDS output of LT8912B

...

Refer to Appendix II

...

3

...

USB3 Type-C and Type-A (all 4 ports) selection jumper

...

Refer to section 6

...

4

...

UA0/UA6/UADBG output, and selecting serial port via USB

...

Default is UA0 tol USB

...

5

...

USB2.0 hub debug serial port

...

Default not connected

...

6

...

Selecting GPIO output level selection (1.8V/3.3V).

...

Default 3.3V output

...

7

...

Reserved IO ports

...

Refer to section 5

...

8

...

Plug a jumper in to turn on power automatically.

Otherwise, required to press wake-up key to turn on power.

...

Default short circuit

...

9

...

Fan power supply, speed configured via I2C

...

 

...

10

...

12V DC power supply

...

 

2. Boot Devices and Configurations

The SP7350 IO board supports booting either from eMMC or an SD card.

3.1. eMMC Boot 

To initiate booting from eMMC, configure the boot switch as [1 1 1 1]. Please refer to Figure 3 for visual guidance.

image-20240528-082211.pngImage Removed

The eMMC chip is situated on the Core board, indicated by the red rectangle. For precise location, consult Figure 4 below.

...

3.2. SD Card Boot

For booting from an SD card, set the boot switch to [1 1 0 0]. For assistance, refer to Figure 5.

...

Insert your SD card into the micro SD card socket, as demonstrated in Figure 6.

...

3.3. Boot Configuration Switch Definitions

Table 3 outlines the interpretation of boot configuration switch settings.

...

 Boot Devices

...

Boot Configuration Switch

...

1

...

2

...

3

...

4

...

eMMC Boot

...

1

...

1

...

1

...

1

...

SDC Boot / ISP

...

1

...

1

...

0

...

0

...

USB ISP

...

1

...

1

...

0

...

1

In the above table, “1” signifies switch OFF, while “0” indicates switch ON.

4. In-System Program (ISP)

The SP7350 chip supports in-system programming (ISP) of the eMMC device. Users can copy the compiled output file (ISPBOOOT.BIN, ISPBOOT1.BIN, …) to a USB drive or SD card and directly program it onto the eMMC device. The programming process is as follows:

4.1. ISP from an SD card

For ISP from an SD cardThis manual provides comprehensive instructions on how to use the SP7350 IO Board. The SP7350 IO Board, when combined with the SP7350 Core Board, serves as a demonstration platform for showcasing the hardware and software capabilities of the SP7350. Additionally, it offers customers a robust environment to develop their own software and applications. Please refer to the picture of the SP7350 IO Board below:

...

Table of Contents

Table of Contents
stylenone

1. Description of Main Equipment or Interfaces

Refer to the photo below, which shows the SP7350 IO Board with the SP7350 Core Board (covered by the black heat-sink) mounted on it:

...

The table below describes:

Item

Descriptions

1

12V DC power input. The DC Jack plug diameter is 5.5mm, and the adapter power supply current must be greater than 1A.

2

Ethernet RJ-45 socket, supports 10M/100M/1000M transmission.

3

Ethernet Giga PHY, Realtek RTL8211FD chip.

4

HDMI output interface, supports 1080p, 720p, 480p.

5

MIPI/DSI to HDMI bridge chip, LT8912B

6

4-pole, 3.5mm, TRRS headset jack, Apple type (L, R, G, M).

7

Analog microphone input.

8

Speaker output, can only output either to headset or speakers.

9

Audio codec chip, ES8316

10

Wake-up button. Functions as follows:

  • (When powered off) Short press for 1 second: Power on (hardware action)

  • (When powered on) Short press for 1 second: Enter deep sleep mode (software function)

  • (During deep sleep mode) Short press for 0.3 seconds: Resume from deep sleep mode (software function).

  • (When powered on) Long press for more than 7 seconds: Shutdown (software function).

  • (When powered on) Long press for more than 10 seconds: Force shutdown (hardware function).

11

Reset button, resets CM4 and Main-power domain, but does not reset RTC.

12

USB3.0 Type-C socket, supports Low/Full/High/Super speeds. Please note, 4-port USB3.0 Type-A and Type-C are multiplexed, and they cannot be used simultaneously.

13

Serial port Type-C socket, supports UA0, UA6 or UADBG ports through jumpers. Refer to section 9.

14

USB to serial bridge chip, CH340N.

15

Dual USB3.0 Type-A socket, supports Low/Full/High/Super speeds.

16

Dual USB3.0 Type-A socket, supports Low/Full/High/Super speeds.

17

4-port USB3.0 Hub chip, VL817-Q7S

18

SPI-NOR flash chip, MX25L512, used with USB3 hub chip.

19

Dual USB2.0 Type-A socket, supports Low/Full/High speeds.

20

Dual USB2.0 Type-A socket, supports Low/Full/High speeds.

21

4-port USB2.0 Hub chip, SPD104

22

EEPROM chip, used with USB2 Hub chip.

23

M.2 E-key socket for interfacing SDIO wireless network card. Refer to Appendix I for pin definitions.

24

MIPI-RX2 interface, Raspberry Pi camera compatible, 22-pin, 0.5mm FFC connector. Note that version A chip of SP7350 does not support this channel.

25

MIPI-RX3 interface, Raspberry Pi camera compatible, 15-pin, 1.0mm, FFC connector compatible. Refer to section 7.2 for pin definitions.

26

MIPI-RX5 interface, Raspberry Pi camera compatible, 22-pin, 0.5mm FFC connector. Refer to section 7.4 for pin definitions.

27

MIPI-RX4 interface, Raspberry Pi camera compatible, 15-pin, 1.0mm, FFC connector compatible. Refer to section 7.3 for pin definitions.

28

MIPI-TX (1c2d) interface, Raspberry Pi display compatible, 15-pin, 1.0mm, FFC connector compatible. Refer to section 7.6 for pin definitions.

29

MIPI-TX (1c4d) interface, Forlinx Embedded compatible, 30-pin, 0.5mm, top-contact, FFC connector. Refer to section 7.5 for pin definitions.

Note: Both MIPI-TX connectors share signals with the HDMI interface. All 3 interfaces cannot be used simultaneously.

30

Three key buttons. Refer to section 8 for details.

31

SP7350 boot configuration switch. Refer to section 2 for details.

32

Micro SD card socket.

1.1. Explanation of Pin-Headers or Jumpers.

...

The table below describes: 

Items

Descriptions

Remarks

1

Pin-header for selecting HDMI or MIPI DSI TX

Refer to section 6

2

Pin-header (2x13, 2.0mm-pitch) of LVDS output of LT8912B

Refer to Appendix II

3

Pin-header for selecting USB3.0 Type-C and 4-port Type-A

Refer to section 5

4

Pin headers (3-pin, 100 mil) for UA0, UA6 and UADBG, and selecting serial port via USB2.0 Type-C

Default is UA0 to USB2.0 Type-C

5

USB2.0 hub debug serial port

Default not connected

6

Pin-header for selecting GPIO output level (1.8V/3.3V).

Default 3.3V output

7

IO ports

Refer to section 4

8

Plug a jumper in to turn on power automatically.

Otherwise, required to press wake-up key for 1 second to turn on power.

Plug a jump in by default

9

Fan power supply, speed configured via I2C

 

10

12V DC power supply

 

2. Boot Devices and Configurations

The SP7350 IO Board supports booting either from on-board eMMC device or an SD card.

2.1. eMMC Boot 

To initiate booting from on-board eMMC device, configure the boot switch as [1 1 1 1]. Please refer to Figure 3 for visual guidance.

image-20240528-082211.pngImage Added

The eMMC chip is situated on the SP7350 Core board, indicated by the red rectangle. Refer to Figure 4 below.

...

2.2. SD Card Boot

For booting from an SD card, set the boot switch to [1 1 0 0]. Refer to figure 5 below.

...

Insert your SD card into the micro SD card socket, as demonstrated in figure 6 below.

...

2.3. Definitions of Boot Configuration Switch

Table 3 outlines the interpretation of boot configuration switch settings.

 Boot Devices

Boot Configuration Switch

1

2

3

4

eMMC Boot

1

1

1

1

SDC Boot / ISP

1

1

0

0

USB ISP

1

1

0

1

In the above table, “1” signifies switch OFF, while “0” indicates switch ON.

3. In-System Program (ISP)

The SP7350 chip supports in-system programming (ISP) of the on-board eMMC device. Users can copy the ISP image file ISPBOOOT.BIN, (ISPBOOT1.BIN, ISPBOOT2.BIN, …) to a USB flash drive or SD card and directly program it onto the eMMC device. The programming process is as follows:

3.1. ISP from an SD card

For ISP from an SD card, set the boot switch to [1 1 0 0]. Refer to Figure 7 below.

...

Copy the ISP image file ISPBOOOT.BIN (ISPBOOT1.BIN, ISPBOOT2.BIN, …) to the SD card and insert the SD card into the Micro SD card socket as shown in the Figure 8 below:

...

Note that the first partition of the SD card should be formatted with FAT32 file-system.

Power on the system, and the system will automatically program the images into the eMMC device.

3.2. ISP from a USB flash drive

For ISP from a USB flash drive, set the boot switch to [1 1 0 01]. Refer to Figure 79 below.

...

Copy the compiled eMMC output ISP image file ISPBOOOT.BIN (ISPBOOT1.BIN, ISPBOOT2.BIN, …) to the SD card a USB flash drive and insert the SD card into the Micro SD card slot as shown in the figure 8 below:

...

Power on the system, and USB flash drive into the USB3.0 Type-C socket. Note that the first partition of the USB flash drive should be formatted with FAT32 file-system.

...

Remember to plug in the USB3.0 Type-A or Type-C selection jumper.

...

After powering on, the system will automatically program the images into the eMMC device.

4.

...

For ISP from a USB flash drive, set the boot switch to [1 1 0 1]. Refer to Figure 9.

...

Copy the compiled eMMC output file ISPBOOOT.BIN (ISPBOOT1.BIN, ISPBOOT2.BIN, …) to a USB flash drive (should be formatted as FAT32) and insert the USB flash drive into the USB3 Type-C socket (refer to section 6 for the use of USB3 Type-A).

...

After powering on, the system will automatically program the images into the eMMC device.

5. Configuring GPIO Voltage

The SP7350 IO board supports 22 GPIO pins that can be configured for either 1.8V or 3.3V output voltage. These GPIO pins can be utilized individually for general-purpose input/output (GPIO) functions or configured for specific functionalities such as SPI/I2C/UART, among others. For detailed configurations, please refer to the pinmux table. The GPIO wiring diagram for CN16/CN17 is provided below:

...

GPIO output voltage is configured as follows:

...

Jumper

...

GPIO Output Voltage

...

1.8V

...

3.3V

6. USB3 Type-A and Type-C Selection

USB3 supports one Type C port or four Type A ports (through a 4-port USB3.0 Hub).

...

USB3.0 can be selected to use either 4 Type-A ports or Type-C port via a jumper.

...

Configuring GPIO Voltage

The SP7350 IO Board features 22 GPIO pins, which can be configured for either 1.8V or 3.3V input/output voltage. These GPIO pins offer flexibility and can be used individually for general-purpose input/output (GPIO) functions. Additionally, they can be configured for specific functionalities such as SPI, I2C, UART, and more. For detailed configuration options, please refer to the pin-mux table. Figure 12 below shows the photo of the two pin-headers, CN16 and CN17, on the SP7350 IO Board.

...

The GPIO wiring diagram for CN16/CN17 is provided below:

...

GPIO output voltage is configured as follows:

Jumper

GPIO Output Voltage

image-20240528-082730.pngImage Added

1.8V

image-20240528-082826.pngImage Added

3.3V

5. USB3.0 Type-C and 4-Port Hub (Type-A) Selection

The USB 3.0 interface can support either one Type-C port (with DRD) or four Type-A ports (via a 4-port USB 3.0 Hub) through a USB 3.0 switch. As shown in Figure 14, when the SEL pin is set to HIGH, the USB 3.0 Hub is selected, enabling the four Type-A ports. Otherwise, the Type-C socket is selected.

...

Figure 15 shows the USB 3.0 Type-C socket, the four Type-A sockets, and the pin-header (jumper) used to control the USB 3.0 switch.

...

The following table illustrates how to select Type-C or 4-port hub (Type-A).

Pin-header

Ports

image-20240527-181300.png

USB3.0 Type-C

image-20240527-181315.png

USB3.0 Type-A

...

6. HDMI and

...

The MIPI-TX can be selected to output using either HDMI or MIPI DSI.

...

MIPI DSI Selection

The MIPI-TX interface can be configured to output to either HDMI or native MIPI DSI. Refer to Figure 16 for the hardware connections of the MIPI-TX interface. When the SEL pin is set to HIGH, HDMI is selected. Otherwise, the native MIPI DSI signal is routed to the FFC connectors.

...

A MIPI/DSI-to-HDMI bridge chip

...

(LT8912B) is used to convert

...

MIPI DSI: The MIPI-TX of SP7350 is routed to an FFC connector for external connections directly.

...

the native MIPI DSI signal to an HDMI interface. The FFC connectors (native MIPI DSI) are for connecting to external LCD panels or devices.

Note that HDMI and MIPI DSI cannot be used simultaneously because they share the same MIPI DSI source from SP7350. A jumper the same MIPI DSI source from the SP7350.

Figure 17 shows the HDMI connector, the pin-header (jumper), and the two MIPI DSI FFC connectors.

...

A pin-header is used to select to the output to either HDMI or MIPI DSI, as outlined in table below:

Jumper

Pin-header

Output

image-20240527-181438.pngImage Removedimage-20240529-082650.pngImage Added

HDMI

image-20240527-181449.pngImage Removedimage-20240529-082536.pngImage Added

MIPI DSI (30-pin or 15-pin FFC)

...

7. MIPI

...

7.1. MIPI-RX2

Note that version A chips of SP7350 does not support this channel.

MIPI-RX2 is connected to a Raspberry Pi camera compatible, 22-pin, 0.5mm, camera FFC connector. For pin definitions of the FFC connector, please refer to Figure 1618.

...

Jumpers are required across GPIO74, GPIO75, GPIO77, and GPIO76 on CN17, as depicted in Figure 17:

...

, and GPIO76 on CN17, as depicted in Figure 19:

...

Since Raspberry Pi uses 3.3V for I2C and IO, please select GPIO voltage to 3.3V. Refer to figure 20 below:

...

7.2. MIPI-RX3

MIPI-RX3 is connected to a Raspberry Pi camera compatible, 15-pin, 1.0mm, camera FFC connector. For pin definitions of the FFC connector, please refer to Figure 1821.

...

Jumpers need to be placed across GPIO70, GPIO71, GPIO72, and GPIO73 on CN17, as illustrated in Figure 1922:

...

Since Raspberry Pi uses 3.3V for I2C and IO, please select GPIO voltage to 3.3V.

7.3. MIPI-RX4

MIPI-RX3 is connected to a Raspberry Pi camera compatible, 15-pin, 1.0mm, camera FFC connector. For pin definitions of the FFC connector, please refer to Figure 2023.

...

Jumpers are required across GPIO63, GPIO19, GPIO68, and GPIO69 on CN16, as depicted in Figure 2024:

...

Since Raspberry Pi uses 3.3V for I2C and IO, please select GPIO voltage to 3.3V.

7.4. MIPI-RX5

MIPI-RX5 is connected to a Raspberry Pi camera compatible, 22-pin, 0.5mm, camera FFC connector. For pin definitions of the FFC connector, please refer to Figure 2225.

...

Jumpers are required across GPIO61, GPIO60, GPIO85, and GPIO84 on CN16, as depicted in Figure 23:

...

26:

...

Since Raspberry Pi uses 3.3V for I2C and IO, please select GPIO voltage to 3.3V.

7.5. MIPI-TX (4d1c)

MIPI-TX (4d1c)5 is connected to a Forlinx LT8912B Embedded “LT8912B MIPI-to-HDMI Bridge Board CompatibleBoard” compatible, 30-pin, 0.5mm FFC connector. For pin definitions of the FFC connector, please refer to Figure 2427.

image-20240528-101453.png

Jumpers are required across GPIO78, GPIO79, GPIO88, GPIO89, GPIO91, and GPIO90 on CN16, as depicted in Figure 2528:

...

Note that the :

  • MIPI-TX (4d1c), MIPI-TX (2d1c), and HDMI outputs all share the same input source. Therefore, these three interfaces cannot be used simultaneously.

  • If connecting to a Forlinx Embedded “LT8912B MIPI-to-HDMI Bridge” board, please select GPIO voltage to 3.3V.

...

7.6. MIPI-TX (2d1c)

MIPI-TX (2d2c) is connected to a Raspberry Pi display compatible, 15-pin, 1.0mm, display FFC connector. For pin definitions of the FFC connector, please refer to Figure 2629.

...

Jumpers are required across GPIO91, and GPIO90 on CN16, as depicted in Figure 2730:

...

Note:Note that the

  • MIPI-TX (4d1c), MIPI-TX (2d1c), and HDMI outputs all share the same input source and I2C channel. Therefore, these three interfaces cannot be used simultaneously.

  • Since Raspberry Pi uses 3.3V for I2C and IO, please select GPIO voltage to 3.3V.

...

8. Keys

The SP7350 IO Board has 3 key buttons that can trigger different software functions when pressed.

...

The SP7350 IO Board uses one ADC channel to detect the three key buttons. When a key is pressed, the corresponding ADC input (ADKEY) voltage changes. The schematic is shown below:

...

ADC Sample Value

Key Pressed

0V

KEY1

0.9V

KEY2

1.2V

KEY3

1.8V

No Key Pressed

...

Code of key-event can be set in device-tree source.

9. Serial Ports

The SP7350 IO Board includes three UART ports: UART6, UART0, and UADBG. Each UART port can connect to a UART terminal (a PC) via a 3-pin, 100100mil-mil pitch pin-header, as illustrated in Figure 3033. The pin-out for each pin-header, from left to right, is GND, RX, and TX. All signals are in 3.3V level.

...

The SP7350 IO Board also supports UART to USB2.0 conversion using the CH340N bridge chip. This enables one serial port to connect directly to a PC via a USB2.0 Type-C cable. Refer to the table below for connecting a UART port to the UART-to-USB bridge (CH340N). Connecting one UART port requires plugging in two jumpers.

image-20240528-105505.pngImage Removed

Channel

image-20240528-105517.pngImage Removedimage-20240528-105527.pngImage Removed

Jumpers

Connect UA6 to Type-C

.

socket

image-20240528-105505.pngImage Added

Connect UA0 to Type-C

.

socket

image-20240528-105517.pngImage Added

Connect UADBG to Type-C

.

socket

image-20240528-105527.pngImage Added

Note:

  • Only one UART can be connected to the UART

...

Before using the CH340N, you need to download and install its driver.

...

  • -to-USB bridge at a time.

  • Before using the CH340N, you need to download and install its driver. Refer to attached Windows and Linux drivers.

    View file
    nameCH341SER.7z
    View file
    nameCH341SER_LINUX.ZIP

  • Before using UADBG, please mount position R412 and R413 with 0Ω resistor.

Appendix I Pin Definitions of Wireless Network

...

Card

The pin definitions of the wireless (M.2 E-key) module card are as follows:

...

...

Appendix II Pin Definitions of LVDS Output of LT8912B

The pin definitions of the pin-header of the LVDS output of LT8912B are as follows:

...