799 views|1 replies

17

Posts

0

Resources
The OP
 

Newly Defined Button Evaluation Kit - Low Frequency Timer Test [Copy link]

 

The frequency of the low-frequency clock timer is 32kHz, and an external 32.768kHz crystal oscillator can be connected for more accurate timing and providing real-time time.

Low frequency timer, the maximum frequency is 15.6ms to generate an interrupt, and the minimum frequency is 32s to generate an interrupt

The following parameters should be based on 32.768Hz. The time output by the 32kHz timer will have deviations.

Here you can use an oscilloscope to roughly check whether the time is the same as the setting. The test method is to flip the IO port in the interrupt processing callback function of the timer. The flipping of the IO port has almost no effect on the millisecond-level delay. The position of P05 can be seen from the PCB board provided by the official.

Let me capture it with my low-profile oscilloscope. Any errors may be caused by the oscilloscope.

The signal with the highest test frequency here has a BTM period of 15.625ms, and the period read out by the oscilloscope is about 15.425ms, which is basically consistent.

The setting is 250ms, and the oscilloscope reading is 244ms, which is basically consistent.

This post is from Domestic Chip Exchange

Latest reply

There is still a big error between 32kHz and 32.768kHz, and the timing error will accumulate over a long period of time.   Details Published on 2023-8-3 09:06
 
 

6027

Posts

6

Resources
2
 

There is still a big error between 32kHz and 32.768kHz, and the timing error will accumulate over a long period of time.

This post is from Domestic Chip Exchange
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list