ST意法半导体
直播中

张昂笙

8年用户 1007经验值
私信 关注
[问答]

怎样去解决MCOSEL[3:0]的RM0432 Rev 9出错的问题

在手册 P 263 中:
  • Bits 27:24 MCOSEL[3:0]: Microcontroller clock output
  • Set and cleared by software.
  • 0000: MCO output disabled, no clock on MCO
  • 0001: SYSCLK system clock selected
  • 0010: MSI clock selected.
  • 0011: HSI16 clock selected.
  • 0100: HSE clock selected
  • 0101: Main PLL clock selected
  • 0110: LSI clock selected
  • 0111: LSE clock selected
  • 1000: Internal HSI48 clock selected
但真正的顺序是
  • 0000: MCO output disabled, no clock on MCO
  • 0001: LSE clock selected
  • 0010: LSI clock selected
  • 0011: HSE clock selected
  • 0100: HSI16 clock selected.
  • 0101: Main PLL clock selected
  • 0110: SYSCLK system clock selected
  • 0111: MSI clock selected.
  • 1000: HSI48 clock selected
这是 MCO 输出的 CubeMX 多路复用器设置中的顺序。



回帖(1)

陈涛

2022-12-9 11:16:24
是不是误读了代码
手册上没有错误。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分