Project

General

Profile

Bug #698

485(ttyAMA1)的TX不通

Added by 培旭 about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Driver
Start date:
12/13/2024
Due date:
% Done:

0%

Estimated time:
型号:
LB700
CPU:
hisi3403
产品:
扩展/功能板硬件版本:
01
核心板硬件版本:
固件版本:
\\192.168.1.250\03-image\hisi3403\imageOS\ubuntu\ubuntu_V1.1-20241218
系统:
Ubuntu
内核版本:
Linux Hi3403 4.19.90 #3 SMP Sat Dec 7 17:52:22 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
APP版本:
-
复现概率:
无线网卡:
FD7352S
以太网模组:
YT8521SC
EMMC颗粒:
FORESEE(FSEIASLD-32G)

Description

485(ttyAMA1)的TX不通
如下图:
RX:可以接收数据

TX:无法发送数据,串口工具接收不到


Files

#1

Updated by sun about 2 months ago

1.
7.RS485-ttyAMA1
方向控制-gpio5_6,46
UART1_RTSN/GPIO5_6/MDCK1 ,46 >./bspmd.l 0x0102f0068 3:0>0

#2

Updated by 培旭 about 2 months ago

  • Status changed from New to Closed
  • 固件版本 changed from https://forum.neardi.com/d/126-hisi3403-xia-zai-gu-jian to \\192.168.1.250\03-image\hisi3403\imageOS\ubuntu\ubuntu_V1.1-20241218
  • 内核版本 changed from Linux Hi3403 4.19.90 #3 SMP Sat Dec 7 17:52:22 CST 2024 aarch64 aarch64 aarch64 GNU/Linux to Linux Hi3403 4.19.90 #3 SMP Sat Dec 7 17:52:22 CST 2024 aarch64 aarch64 aarch64 GNU/Linux

固件地址:\\192.168.1.250\03-image\hisi3403\imageOS\ubuntu\ubuntu_V1.1-20241218

通过以下命令控制485(ttyAMA1):
echo 46 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio58/direction

发:
echo 1 > /sys/class/gpio/gpio46/value

收:
echo 0 > /sys/class/gpio/gpio46/value

Also available in: Atom PDF