4678 views|3 replies

31

Posts

1

Resources
The OP
 

sp485 communication reception is 0x00 [Copy link]

S485, no matter how much data is sent, the serial assistant receives 0x00. Please find the s485 communication code connected to stm8s.

This post is from MCU

Latest reply

Is there something wrong with the baud rate setting?  Details Published on 2021-11-2 10:32
 

9702

Posts

24

Resources
2
 

485 is the original UART with 485 PHY added. You should first test whether the serial communication is normal, rule out software setting problems such as baud rate, and then hang up the 485 chip. Note that the power supply voltage is 5V, A and B cannot be connected incorrectly, there must be a 120 ohm resistor, and RE and DE must be configured reasonably.

This post is from MCU
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 

85

Posts

0

Resources
3
 
Is the baud rate determined correctly? For chips like stm8s, the clock can be modified and the baud rate will change accordingly.
This post is from MCU
 
 
 

1412

Posts

3

Resources
4
 
Is there something wrong with the baud rate setting?
This post is from MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
MATLAB APP Designer serial port debugging tool writing

This post was last edited by lb8820265 on 2019-5-9 23:11 Previously, we introduced two ways to use VC6 to make serial ...

About the original picture and packaging

Does anyone have the original picture and package of STM32F103 series?

How to use CPLD to collect asynchronous signals

Scenario: Use CPLD to decode a serial data channel. The data has no accompanying clock and has a fixed frequency but a d ...

Measuring poles and zeros from a Bode plot

This post was last edited by Jack315 on 2021-1-25 00:52 The transfer function of a single zero is: 522846 The Bode plot ...

Encoder counting principle and motor speed measurement principle - multi-picture analysis

This post was last edited by DDZZ669 on 2021-2-14 23:30 Encoder is a sensor used to measure mechanical rotation or displ ...

35 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (Realizing Hello World)

The best way to learn ROS is to use it. The ROS official website has a Chinese version of the tutorial . After install ...

36 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (VSCode to Implement Hello World)

It is very convenient to run ROS projects in VSCode. In this section, we use ROS to write and run the "Hello world" pro ...

[The strongest open source] Hand-rubbed 120W switching power supply

I recently took the time to make a switching power supply 645265 645262 645263 645264 645261 645260

Record a blue screen pit

I mentioned a while ago that my company's computers would occasionally blue screen. Now I think about it, the blue scree ...

ESP8266 01+DHT11 acquisition

Could anyone give me some advice? When I collect DHT11 data through one of GPIO 0 and 2, the 8266 01 keeps restarting. O ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list