找回密码
 注册
关于网站域名变更的通知
查看: 410|回复: 6
打印 上一主题 下一主题

stm32 uart 总能读到数据

[复制链接]
  • TA的每日心情
    开心
    2021-11-22 15:33
  • 签到天数: 81 天

    [LV.6]常住居民II

    跳转到指定楼层
    1#
     楼主| 发表于 2025-1-11 14:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

    EDA365欢迎您登录!

    您需要 登录 才可以下载或查看,没有帐号?注册

    x
    是LPUART,偶尔会出现悬空状态下能不停接收到数据,是什么原因?
    2 |# s3 X1 P5 g* n: r4 Y/ f. T硬件上只连接了tvs,没有其他电路。
    + U: z$ N' P* v7 k7 `. s

    点评

    谢谢分享!: 5.0
    谢谢分享!: 5
    應該是內部沒上拉(Pull-Up)或下拉(Pull-Down),電路浮接(Floating)雜訊造成的。  发表于 2025-1-13 17:53

    评分

    参与人数 1威望 +5 收起 理由
    超級狗 + 5 鬼來訊安撫金!

    查看全部评分

    该用户从未签到

    推荐
    发表于 2025-1-15 10:19 | 只看该作者
    Noise and Frequency Shift
    / K% {$ z" ]" i- |& ?, R
    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.4 V6 H9 k. P) O3 I: x& K% t

    ' }. d/ l2 V, A. C- E! T2 ]& q3 L5 b/ Q0 j6 a, G2 p6 y6 p1 M

    & E( @$ E) s6 J0 H
    0 X4 w# a* Q/ a8 p3 @+ [) i# B5 }  Y
    1 g! r# S( R/ P- X- J/ H

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

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

  • TA的每日心情
    开心
    2021-11-22 15:33
  • 签到天数: 81 天

    [LV.6]常住居民II

    3#
     楼主| 发表于 2025-4-2 17:41 | 只看该作者
    是的,软件同事将内部上拉后正常。
    9 }/ D! e8 Q' t5 U+ y

    点评

    谢谢分享!: 5.0
    狗版主,求回复最新求助帖https://www.eda365.com/thread-771554-1-1.html  详情 回复 发表于 2025-4-3 09:11
    谢谢分享!: 5
    前爛公司的軟賤攻城獅,一天到晚也忘了!^oo^  发表于 2025-4-2 19:56

    评分

    参与人数 1威望 +5 收起 理由
    超級狗 + 5 感谢分享!

    查看全部评分

  • TA的每日心情
    开心
    2021-11-22 15:33
  • 签到天数: 81 天

    [LV.6]常住居民II

    4#
     楼主| 发表于 2025-4-3 09:11 | 只看该作者
    庚0209 发表于 2025-4-2 17:41
    # W, I+ [, T& c" A* w是的,软件同事将内部上拉后正常。
    5 T' n% Q5 L# v3 F1 }1 Q. K7 j
    狗版主,求回复最新求助帖https://www.eda365.com/thread-771554-1-1.html
    ) ]/ n' h( d  g. H
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    关闭

    推荐内容上一条 /1 下一条

    EDA365公众号

    关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

    GMT+8, 2025-8-19 17:08 , Processed in 0.125000 second(s), 28 queries , Gzip On.

    深圳市墨知创新科技有限公司

    地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

    快速回复 返回顶部 返回列表