数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3140 数据表(PDF) 10 Page - STMicroelectronics

部件名 AN3140
功能描述  How to configure the SPEAr3xx general purpose timers
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3140 数据表(HTML) 10 Page - STMicroelectronics

Back Button AN3140 Datasheet HTML 6Page - STMicroelectronics AN3140 Datasheet HTML 7Page - STMicroelectronics AN3140 Datasheet HTML 8Page - STMicroelectronics AN3140 Datasheet HTML 9Page - STMicroelectronics AN3140 Datasheet HTML 10Page - STMicroelectronics AN3140 Datasheet HTML 11Page - STMicroelectronics AN3140 Datasheet HTML 12Page - STMicroelectronics AN3140 Datasheet HTML 13Page - STMicroelectronics AN3140 Datasheet HTML 14Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 10 / 14 page
background image
Status register interrupt bit clear issue
AN3140
10/14
Doc ID 16997 Rev 1
6
Status register interrupt bit clear issue
This section provides a technical explanation of the problem reported during the Puppy
Linux project debugging about the usage of the GPT and suggests a safe solution for it.
6.1
Problem description
During the usage of the GPT inside SPEAr3xx an issue can be faced when the timer is used
in AutoReload mode. For more details on GPT usage, please refer to SPEAr3xx user
manual.
The unexpected behavior might occur when the CPU tries to clear the interrupt request bit
inside the status register of the timer (TIMER_STATUS_INT_ACK). This clear operation is
performed through a write '1' command from the CPU to the APB interface of the GPT. It
could happen that this write fails, the interrupt request bit is not cleared and the GPT is not
able to generate further interrupts until a new successfully write '1' operation is performed.
The risk in this case, as the GPT is in AutoReload mode, is to lose some interrupt events.
The source of this weakness is in the asynchronism between the APB_clk (75 MHz in the
Puppy Linux application) of the write command and the Timer_clk (48MHz in Puppy Linux
application) of the status register. To better understand the mechanism of this interrupt clear
operation, please refer to Figure 5.
Figure 5.
Status register control logic
When a match condition is reported, the structure of the MATCH1_reg and MATCH1_S_reg
generates a pulse 0 to 1 to 0, which lasts one TIMER_clk cycle, on the input D of the



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com