EDA365电子论坛网

标题: stm32 uart 总能读到数据 [打印本页]

作者: 庚0209    时间: 2025-1-11 14:11
标题: stm32 uart 总能读到数据
是LPUART,偶尔会出现悬空状态下能不停接收到数据,是什么原因?. @$ f$ o4 t9 B+ {0 p6 v* N- h0 G
硬件上只连接了tvs,没有其他电路。
7 l& n& Q  X3 h' h
作者: 超級狗    时间: 2025-1-15 10:19
Noise and Frequency Shift
4 {4 ~% I6 b" ~; N: Q5 ~
Line noise usually causes no issues at the low communication speed typical of low-power applications. In some cases, random noise can be mitigated by adding a weak pull-up, at the expense of additional energy. For example, the internal pull-up (no extra parts) increases power consumption by approximately 30 µA during transmission in the example described in Section 8.Framing errors occur as result of incorrect base frequency (speed setting) at one of the communication participants. The LSE clock source, which is best suited for low-power applications, is very accurate. The framing errors are likely only if the LPUART peripheral clock is derived from MSI clock. The LPUART cannot auto detect the uncalibrated communication speed of its counterpart, relying only on the precise speed settings with framing reliability.
+ V9 V% `/ f( s$ g: ^* z% L* d2 s! l  p) K7 t
) k+ P. {) Y1 x) H  E1 X4 e# v
8 R2 c5 Y$ H4 ^: M8 y1 A
, ]6 A( t5 m; B+ n0 G

4 |5 g' x' C/ m/ a* d. w8 y" t- y

an4635-how-to-optimize-lpuart-power-consumption-on-stm32-mcus-stmicroelectronics.pdf

1.64 MB, 下载次数: 0, 下载积分: 威望 -5


作者: 庚0209    时间: 2025-4-2 17:41
是的,软件同事将内部上拉后正常。; z+ F, [4 ~! c: M, q6 ~/ O

作者: 庚0209    时间: 2025-4-3 09:11
庚0209 发表于 2025-4-2 17:41
. t. i& g' n! i( u8 A是的,软件同事将内部上拉后正常。
6 r" a3 ^! X5 y6 ^+ \: q7 r! m$ }
狗版主,求回复最新求助帖https://www.eda365.com/thread-771554-1-1.html
; ?$ ]* S4 R7 N3 V( M




欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2