- 打卡等级:初来乍到
- 打卡总天数:4
- 最近打卡:2025-05-01 06:58:22
金牌会员
- 积分
- 1333
|
发表于 2023-10-11 10:22:38
|
显示全部楼层
本帖最后由 jmg 于 2023-10-15 05:51 编辑
newl*** Published on 2023-10-10 10:39
Or I can directly connect an external high-precision crystal oscillator as the main clock, and then the internal 32768 will not be affected by temperature drift and become accurate. ...
Yes, you can connect a high frequency crystal 4~36Mhz as per figure 6.4.1 in the data.
You can also use a low frequency crystal
See XOSCCR and X32KCR registers
No, that does not automatically calibrate the on chip 32kHz oscillator, as usually that is used with the XTAL paused to save power.
on only some STC8H variants, you can optionally use the 32kHz Crystal , to calibrate the HIRC, via the CRECR register
more info :
https://www.stcaimcu.com/forum.php ?mod=viewthread&tid=4421
|
|