Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MFRC522 Datasheet(PDF) 67 Page - NXP Semiconductors

Part # MFRC522
Description  Contactless Reader IC
PDF  109 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

MFRC522 Datasheet(HTML) 67 Page - NXP Semiconductors

Back Button MFRC522 Datasheet HTML 63Page - NXP Semiconductors MFRC522 Datasheet HTML 64Page - NXP Semiconductors MFRC522 Datasheet HTML 65Page - NXP Semiconductors MFRC522 Datasheet HTML 66Page - NXP Semiconductors MFRC522 Datasheet HTML 67Page - NXP Semiconductors MFRC522 Datasheet HTML 68Page - NXP Semiconductors MFRC522 Datasheet HTML 69Page - NXP Semiconductors MFRC522 Datasheet HTML 70Page - NXP Semiconductors MFRC522 Datasheet HTML 71Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 67 / 109 page
background image
112132
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 3.2 — 22 May 2007
67 of 109
NXP Semiconductors
MFRC522
Contactless Reader IC
13. Timer Unit
A timer unit is implemented in the MFRC522. The external host may use this timer to
manage timing relevant tasks. The timer unit may be used in one of the following
configurations:
• Time-out counter
• Watch-dog counter
• Stop watch
• Programmable one-shot
• Periodical trigger
The timer unit can be used to measure the time interval between two events or to indicate
that a specific event occurred after a specific time. The timer can be triggered by events
which will be explained in the following, but the timer itself does not influence any internal
event (e.g. A time-out during data reception does not influence the reception process
automatically). Furthermore, several timer related bits are set and these bits can be used
to generate an interrupt.
The timer has an input clock of 6.78 MHz (derived from the 27.12 MHz quartz). The timer
consists of two stages: 1 prescaler and 1 counter.
The prescaler is a 12 bit counter. The reload value for TPrescaler can be defined between
0 and 4095 in register TModeReg and TPrescalerReg.
The reload value for the counter is defined by 16 bits in a range of 0 to 65535 in the
register TReloadReg.
The current value of the timer is indicated by the register TCounterValReg.
If the counter reaches 0 an interrupt will be generated automatically indicated by setting
the TimerIRq bit in the register CommonIRqReg. If enabled, this event can be indicated on
the IRQ line. The bit TimerIRq can be set and reset by the host. Depending on the
configuration the timer will stop at 0 or restart with the value in register TReloadReg.
The status of the timer is indicated by bit TRunning in register Status1Reg.
The timer can be manually started by TStartNow in register ControlReg or manually
stopped by TStopNow in register ControlReg.
Furthermore the timer can be activated automatically by setting the bit TAuto in the
register TModeReg to fulfil dedicated protocol requirements automatically.
The time delay of a timer stage is the reload value +1.
Maximum time: TPrescaler = 4095, TReloadVal = 65535
=> 4096
× 65536/6.78 MHz = 39.59 s
Example:
To indicate 100 us it is required to count 678 clock cycles. This means the value for
TPrescaler has to be set to TPrescaler = 677.The timer has now an input clock of
100 us. The timer can count up to 65535 timeslots of each 100 us.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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