Electronic Components Datasheet Search
  English  ▼

X  

UPD17062 Datasheet(PDF) 147 Page - Renesas Technology Corp

Part # UPD17062
Description  MOS INTEGRATED CIRCUIT
PDF  298 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

UPD17062 Datasheet(HTML) 147 Page - Renesas Technology Corp

Back Button UPD17062 Datasheet HTML 143Page - Renesas Technology Corp UPD17062 Datasheet HTML 144Page - Renesas Technology Corp UPD17062 Datasheet HTML 145Page - Renesas Technology Corp UPD17062 Datasheet HTML 146Page - Renesas Technology Corp UPD17062 Datasheet HTML 147Page - Renesas Technology Corp UPD17062 Datasheet HTML 148Page - Renesas Technology Corp UPD17062 Datasheet HTML 149Page - Renesas Technology Corp UPD17062 Datasheet HTML 150Page - Renesas Technology Corp UPD17062 Datasheet HTML 151Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 147 / 298 page
background image
145
µPD17062
12.4.3
If the BTM0CY flag is checked at the same time with a CE reset
As described in Section 12.4.2, a CE reset occurs at the same time the BTM0CY flag is set to 1.
If the BTM0CY flag read instruction happens to occur at the same time a CE reset occurs, the BTM0CY flag
read instruction takes precedence.
Once a CE pin goes from a low to a high, if the setting of the BTM0CY flag (at the positive-going edge of
the timer carry FF set pulse) and a BTM0CY flag read instruction occur at the same time, a CE reset occurs
next time the BTM0CY flag is set.
This operation is shown in Fig. 12-7.
Fig. 12-7
Operation That Occurs When a CE Reset and a BTM0CY Flag Read Instruction Coincide
So, if your program checks the BTM0CY flag cyclically and the BTM0CY flag check time interval coincides
with the BTM0CY flag setting time interval, a CE reset will not occur forever.
Note the following point:
Because one instruction cycle is 2
µs (1/500 kHz), a program that checks the BTM0CY flag once at every 500
instructions reads the BTM0CY flag at every 1 ms (2
µs × 500).
Under this condition, whichever timer interval set pulse, 5 ms or 100 ms, is selected, a CE reset will not
occur for ever, once the setting and checking of the BTM0CY flag occur at the same time.
To be specific, avoid creating a cyclic program that satisfies the following condition.
tSET
× 500 = n (n is any integer)
x
where tSET : BTM0CY flag setting time interval
x
: BTM0CY flag read instruction cycle time x number of steps
In other words, the program should not contain x steps when the above calculation produces any integer.
SKT 1
BTM0CY
SKT 1
BTM0CY
CE reset
SKT1 BTM0CY
(PEEK…)
(SKT…)
CE pin
Timer carry FF
set pulse
BTM0CY flag
Timer carry FF set pulse
BTM0CY flag
Instruction
Built-in macro
2 s
If the BTM0CY flag is read
during this period, a CE
reset is deferred by one cycle.
Normally, the program starts at address 0000H at this
point, but a CE reset does occur because the program to
read the BTM0CY flag also happens to run.
PEEK WR, . MF. BTM0CY SHR 4
SKT WR, #, DF. BTM0CY AND 000FH
µ



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