• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    Coolpi 4b debug console串口接线配置说明

    Scheduled Pinned Locked Moved Pi 4B
    1 Posts 1 Posters 804 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 大法师大
      大法师
      last edited by 大法师

      1. 串口引脚说明

      40PIN引脚,其中第8、10、14引脚信号分别对应TXD RXD GND,3.3V TTL电平,请连接到USB转TTL模块上。
      如下图:
      tty.png

      图中标号1连接GND
      图中标号2连接USB串口模块TXD
      图中标号3连接USB串口模块RXD

      333a2e93-85c3-40f0-adb3-dd15fbbf5b36-1666345742(1).png

      上图中40 pin排母功能定义如下表(图中左下为编号1,左上为编号2,右下为编号39,右上为编号40)

      默认信号功能 引脚编号 引脚编号 默认信号功能
      3.3V 1 2 5V
      /dev/i2c1 sda 3 4 5V
      /dev/i2c1 scl 5 6 GND
      gpio 47 7 8 /dev/ttyS0 uart txd 3.3V TTL
      GND 9 10 /dev/ttyS0 uart rxd 3.3V TTL
      gpio 128 11 12 gpio 39
      gpio 129 13 14 GND
      gpio 130 15 16 /dev/ttyS2 uart txd 3.3V TTL
      3.3V 17 18 /dev/ttyS2 uart rxd 3.3V TTL
      spi mosi 19 20 GND
      spi miso 21 22 gpio 40
      spi clk 23 24 spi cs 0
      GND 25 26 spi cs 1
      /dev/i2c6 sda 27 28 /dev/i2c6 scl
      gpio 131 29 30 GND
      gpio 132 31 32 pwm2
      gpio 133 33 34 GND
      gpio 134 35 36 gpio 138
      gpio 135 37 38 gpio 139
      GND 39 40 gpio 115

      2. 串口工具putty

      串口工具不限,附件仅作为参考使用
      putty.zip

      电脑串口工具设置串口波特率115200,8比特数据位,1个停止位,无校验,关闭流控。
      putty串口工具配置参考
      a985cb09-4e54-4832-9682-26235e2b20ea-1666258394(1).png

      jack@cool-pi.com

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post