The OP
Published on 2024-7-23 19:18
Only look at the author
This post is from stm32/stm8
Latest reply
This post was last edited by damiaa on 2024-7-25 08:54
You can use an ordinary probe to measure the uart rx tx signal end.
To measure the signal output by the RS485 chip to the 485 bus, a differential probe is probably needed (because it is a differential signal).
Generally, it is easier to measure the signal of the RS485 bus after it passes through the RS485 chip and becomes the RX, TX TTL signal, and no differential probe is required.
[attach]826849[/attach]
Details
Published on 2024-7-25 08:47
| ||
|
||
lugl4313820
Currently offline
|
2
Published on 2024-7-23 20:32
Only look at the author
This post is from stm32/stm8
| |
|
||
|
3
Published on 2024-7-24 10:28
Only look at the author
This post is from stm32/stm8
Comments
Before, it was connected to the positive and negative ends of 485. It may be that it was not connected properly, or it may be that the twisted pair I used was longer than 1 meter. The host computer set the parameters and sent and received messages normally when it was not connected to the logic analyzer computer USB port, but it only sent but not received when it was connected to the logic analyzer.
Details
Published on 2024-7-24 11:42
| ||
|
||
|
This post is from stm32/stm8
Comments | ||
|
||
|
5
Published on 2024-7-24 11:46
Only look at the author
This post is from stm32/stm8
Comments
[attachimg]826745[/attachimg] The logic analyzer received a frame of data as shown above. I sent 01 03 00 0A 00 01 A4 08 (the last four are CRC check), 19200 baud rate, 8 data bits, even parity, 1 stop bit, but it feels that the detected bit is wrong.
Details
Published on 2024-7-24 19:48
| ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
Comments
01 03 00 0A 00 01 A4 08 converted to binary is 0000 0001 0000 0011 0000 0000 0000 1010 0000 0000 0000 0001 1010 0100 0000 0100. There are three bits in the middle of every two bytes of data information: a start bit, a check bit, and a stop bit. The start bit is always
Details
Published on 2024-7-25 09:02
| ||
|
||
|
8
Published on 2024-7-25 08:47
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190