3211 views|8 replies

3255

Posts

0

Resources
The OP
 

Is it necessary to add a π-type filter circuit for serial communication? If the board is small and the space is limited, this must be considered. [Copy link]

Is it necessary to add a π-type filter circuit for serial communication? If the board is small and the space is limited, this must be considered.

串口通讯的π型滤波电路.png (25.11 KB, downloads: 0)

串口通讯的π型滤波电路.png
This post is from Discrete Device

Latest reply

  Details Published on 2021-7-7 12:11
 
 

1w

Posts

25

Resources
2
 

The serial port is a low-speed device. Unless there is large interference in the system or there are EMC requirements, it is not necessary.

This post is from Discrete Device

Comments

If you want to add resistance and capacitance, how do you calculate the value?  Details Published on 2021-7-5 15:40
 
 
 

3255

Posts

0

Resources
3
 
dcexpert posted on 2021-7-3 19:07 The serial port is a low-speed device. Unless there is a large interference in the system or there are requirements for EMC, it is not necessary.

If you want to add resistance and capacitance, how do you calculate the value?

This post is from Discrete Device

Comments

It is usually not necessary, but adding it can make the waveform change less steep. For serial port data, the hardware usually samples it three times, and the data bit width can be calculated based on the baud rate. After adding RC, it should be wide enough to avoid bit errors.  Details Published on 2021-7-5 17:30
 
 
 

1w

Posts

25

Resources
4
 
QWE4562009 posted on 2021-7-5 15:40 If you want to add resistance and capacitance, how do you calculate the value? Moderator

It is generally not necessary, but adding it can make the waveform change less steep.

The hardware generally samples the serial port data three times, and the data bit width can be calculated based on the baud rate. After adding RC, it must be wide enough to avoid bit errors.

This post is from Discrete Device

Comments

If the baud rate is 9600b/S, then the period is 1/9600≈104us, and the time constant of the π filter is RC=100*100*10^-12=10^-8S=0.01uS? Is this the calculation?  Details Published on 2021-7-5 18:38
 
 
 

3255

Posts

0

Resources
5
 
dcexpert posted on 2021-7-5 17:30 It is generally not necessary. Adding it can make the waveform change less steep. For serial port data, the hardware generally samples three...

If the baud rate is 9600b/S, then the period is 1/9600≈104us, and the time constant of the π filter is RC=100*100*10^-12=10^-8S=0.01uS? Is this the calculation?

This post is from Discrete Device

Comments

For serial communication, the requirements are not so strict. The baud rate is allowed to have a 2% error, as long as it is kept within this range.  Details Published on 2021-7-6 17:41
 
 
 

1w

Posts

25

Resources
6
 
QWE4562009 posted on 2021-7-5 18:38 If the baud rate is 9600b/S, then the period is 1/9600≈104us, and the time constant of the π filter RC=100*100*10^-12=10^-8S ...

For serial communication, the requirements are not so strict. The baud rate is allowed to have a 2% error, as long as it is kept within this range.

This post is from Discrete Device
 
 
 

6069

Posts

4

Resources
7
 

Serial communication sampling generally samples data 4, 8, or 16 times (digital filtering) to determine whether a bit is correct.

So the hardware filtering proposed by the OP is actually redundant. Almost no one uses it. Especially on a board. It is even more redundant.

This post is from Discrete Device

Comments

Just a direct connection?  Details Published on 2021-7-7 11:28
 
 
 

3255

Posts

0

Resources
8
 
damiaa posted on 2021-7-7 08:49 Serial communication sampling is generally 4, 8, 16 times sampling data (digital filtering) to determine whether a bit is correct. So the original poster's hardware filtering is actually...

Just a direct connection?

This post is from Discrete Device
 
 
 

6069

Posts

4

Resources
9
 
QWE4562009 posted on 2021-7-7 11:28 Is it a direct connection?

This post is from Discrete Device
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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