23 lines
24 KiB
Markdown
23 lines
24 KiB
Markdown
|
---
|
|||
|
title: STM8注意事项
|
|||
|
updated: 2022-01-11 00:52:49Z
|
|||
|
created: 2022-01-08 13:18:08Z
|
|||
|
---
|
|||
|
|
|||
|
体积小 STM8S003F3
|
|||
|
|
|||
|
UFQFPN20 - HMC1060同大小3x3mm,非常便于小型化集成
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
需反复查看手册,==避免先入为主==的想法,如以下两个指标
|
|||
|
## 复位电阻
|
|||
|
复位端口自带上拉电阻,典型值为55k,故而外置上拉电阻为选配
|
|||
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAC5CAIAAAAqIZgXAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3deSCU6R8A8OdFSY6QykySlXQglaNaKkeN7Ga1o622RKW22qVW5djO3e1ybbVot1NRKVqzSb9EkYqSELExk5WQUe4x7jHz+2MkxwyGec1ov5+/xnt+32O+nnne53kfjMPhIAAAAPiQEHUAAADwKYMkCwAAOIIkK1Ts3CArIvYR0Sool0ULssIMPeLLhb83etJxRz0MwzDz3RQaA6FGWtAKrOPuPeIZ3deiBVl1WsjxeAqdLfTg8MGmBVlhRKug3B4D5p6HFUG0RuHunEmLOR6U1P2U8tg7cXc8A4+T2scY2jFod88GJZTjHBXoCSRZHJDOU1s5HA6HwymJ2TBVSntDDCfV20JF2LspTzixfUepK7W1LM441s7lLxp7hPaGcA6Hw+E0FUf8QCD8ELjNVIH3ugbucWUcDofDqUrdUbFjWUACfPd6xaaFu6z3pTb1ttwI7Q3hnJIjFgo4fLn6GkP74n+5kE5T2ThHBXoEZxx37I8lWQaNstscwzDznX4eVhhxdzzjfbyHYVuZixHvQcQwqyBaVbwHkWi+c6cjkWgVlMtm5lI8rHgVOVUsvFM5MRu0UV11eRNhpoZq+8VkZlwNSLYOdFs2fnhv0SlMnj2DQM8rKG3+GB6m53g8ic5GCDFod487EjEMI5p7UGhMNk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IUKSBYNPauzn1mRK9OP3rObs+5dGfmkxVZpZlJ32oojJQQi1dvgMQC+wERo2fglVyX9
|
|||
|
## Vcap取值
|
|||
|
Vcap端外接电容的容量很重要,可选1uF,经测过低会导致MCU循环复位
|
|||
|
> pll_cell 设计中随手取了经验值0.1uF,导致MCU循环复位
|
|||
|
|
|||
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAc8AAABHCAIAAADujlt9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAfLUlEQVR4nO2dfVyTZffAz72BCmy8iAQMEgQC5BHTIK0wYRgQgmjMBx81nWIKP0VTA0zU0qfCkj1KgYYZJBiW5pYYZqC8aJKJTEwQYQGBwsbEF9gm8rLd+/2xAbt5E3C8OK7vh89Ht133dc79du7rPte5zsHkcjn0AoZhffw6OlHqjLdA468gr1dPp2R7ABLIStXT21hAxwt0pij++zxeRRrMcJ6O4T/1I3uxPVU6adhUGVYkhWoztQAg4yFTOzCenAe8ZaSVQCBGF5pobWWPQXpzpJUY8zRXj7QGCMToQhOtbUtt+/+aeTkXmE4hmHEI5vTdgeuN+EiqpQouSE+1i6+W4o3cX3k8yRC9+8glNy7QjUOwxXm8fuw5LqxOuySUPItAYSHTNZMrBQCAtrpn6QmB0Dw00dpKHyr+qU3/2eOAZOGZL+UPEsSnHW+8e+JoedsI66aEZO6/vDzMSgtvyPnoWvHjIbK2rWWXb437ao/slJt9P84zLij74Ee+WF3Cke8FgSCiidZWJgAAwO9nHL27IvytQLsJABjFfuaO4+8E2Wn3vxvpjUy7jpEaAEjqOHu+xIxDMKeUJF5z50fjL7el10mEhUynr5khezDjSPqeQp4El5QXbguIxIxDsIDTnPJmgGZe+mm6cQhmvIeZepeXnmoXX/pnwqmIfy4x/C5wG7v3to/uG4kZh9DWXymVyHuVrjpmxxvzv/6OZhyi0KHkUs6Sj0syN31sH18tBQCQd6hEW5+bLxSXpqb6xFdJoIkbn8j8LnfHe+yKEwlvxlc1EJpJQVjIDEhkBkRii09E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