Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

M37151M6 Datasheet(PDF) 22 Page - Renesas Technology Corp

Part # M37151M6
Description  SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Download  138 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M37151M6 Datasheet(HTML) 22 Page - Renesas Technology Corp

Back Button M37151M6 Datasheet HTML 18Page - Renesas Technology Corp M37151M6 Datasheet HTML 19Page - Renesas Technology Corp M37151M6 Datasheet HTML 20Page - Renesas Technology Corp M37151M6 Datasheet HTML 21Page - Renesas Technology Corp M37151M6 Datasheet HTML 22Page - Renesas Technology Corp M37151M6 Datasheet HTML 23Page - Renesas Technology Corp M37151M6 Datasheet HTML 24Page - Renesas Technology Corp M37151M6 Datasheet HTML 25Page - Renesas Technology Corp M37151M6 Datasheet HTML 26Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 138 page
background image
M37151M6/M8/MA/MC/MF-XXXFP, M37151EFFP
Rev.1.00
Nov 01, 2002
page 22 of 136
REJ03B0129-0100Z
8.4 TIMERS
This microcomputer has 6 timers: timer 1, timer 2, timer 3, timer 4,
timer 5, and timer 6. All timers are 8-bit timers with the 8-bit timer
latch. The timer block diagram is shown in Figure 8.4.3.
All of the timers count down and their divide ratio is 1/(n+1), where n
is the value of timer latch. By writing a count value to the correspond-
ing timer latch (addresses 00F016 to 00F316 : timers 1 to 4, addresses
00EE16 and 00EF16 : timers 5 and 6), the value is also set to a timer,
simultaneously.
The count value is decremented by 1. The timer interrupt request bit
is set to “1” by a timer overflow at the next count pulse, after the
count value reaches “0016”.
8.4.1 Timer 1
Timer 1 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
f(XIN)/4096 or f(XCIN)/4096
External clock from the TIM2 pin
The count source of timer 1 is selected by setting bits 5 and 0 of
timer mode register 1 (address 00F416). Either f(XIN) or f(XCIN) is
selected by bit 7 of the CPU mode register.
Timer 1 interrupt request occurs at timer 1 overflow.
8.4.2 Timer 2
Timer 2 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
Timer 1 overflow signal
External clock from the TIM2 pin
The count source of timer 2 is selected by setting bits 4 and 1 of
timer mode register 1 (address 00F416). Either f(XIN) or f(XCIN) is
selected by bit 7 of the CPU mode register. When timer 1 overflow
signal is a count source for the timer 2, the timer 1 functions as an 8-
bit prescaler.
Timer 2 interrupt request occurs at timer 2 overflow.
8.4.3 Timer 3
Timer 3 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
f(XCIN)
External clock from the TIM3 pin
The count source of timer 3 is selected by setting bit 0 of timer mode
register 2 (address 00F516) and bit 6 at address 00C716. Either f(XIN)
or f(XCIN) is selected by bit 7 of the CPU mode register.
Timer 3 interrupt request occurs at timer 3 overflow.
8.4.4 Timer 4
Timer 4 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
f(XIN)/2 or f(XCIN)/2
f(XCIN)
The count source of timer 3 is selected by setting bits 1 and 4 of the
timer mode register 2 (address 00F516). Either f(XIN) or f(XCIN) is
selected by bit 7 of the CPU mode register. When timer 3 overflow
signal is a count source for the timer 4, the timer 3 functions as an 8-
bit prescaler.
Timer 4 interrupt request occurs at timer 4 overflow.
8.4.5 Timer 5
Timer 5 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
Timer 2 overflow signal
Timer 4 overflow signal
The count source of timer 3 is selected by setting bit 6 of timer mode
register 1 (address 00F416) and bit 7 of the timer mode register 2
(address 00F516). When overflow of timer 2 or 4 is a count source
for timer 5, either timer 2 or 4 functions as an 8-bit prescaler. Either
f(XIN) or f(XCIN) is selected by bit 7 of the CPU mode register.
Timer 5 interrupt request occurs at timer 5 overflow.
8.4.6 Timer 6
Timer 6 can select one of the following count sources:
f(XIN)/16 or f(XCIN)/16
Timer 5 overflow signal
The count source of timer 6 is selected by setting bit 7 of the timer
mode register 1 (address 00F416). Either f(XIN) or f(XCIN) is selected
by bit 7 of the CPU mode register. When timer 5 overflow signal is a
count source for timer 6, the timer 5 functions as an 8-bit prescaler.
Timer 6 interrupt request occurs at timer 6 overflow.
At reset, timers 3 and 4 are connected by hardware and “FF16” is
automatically set in timer 3; “0716” in timer 4. The f(XIN) /16 is se-
lected as the timer 3 count source. The internal reset is released by
timer 4 overflow in this state and the internal clock is connected.
At execution of the STP instruction, timers 3 and 4 are connected by
hardware and “FF16” is automatically set in timer 3; “0716” in timer 4.
However, the f(XIN) /16 is not selected as the timer 3 count source.
So set both bit 0 of timer mode register 2 (address 00F516) and bit 6
at address 00C716 to “0” before the execution of the STP instruction
(f(XIN) /16 is selected as timer 3 count source). The internal STP
state is released by timer 4 overflow in this state and the internal
clock is connected.
As a result of the above procedure, the program can start under a
stable clock.
✽: When CPU Mode Register bit 7 (CM7) = 1, f(XIN) becomes f(XCIN).
The timer-related registers is shown in Figures 8.4.1 and 8.4.2.
The input path for the TIM2 pin can be selected between ports P16 or
P24. Use Port P3 Direction Register (address 00C716) bit 7 to select
either port.


Similar Part No. - M37151M6

ManufacturerPart #DatasheetDescription
logo
Renesas Technology Corp
M37151M6-XXXFP RENESAS-M37151M6-XXXFP Datasheet
1Mb / 139P
   SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
More results

Similar Description - M37151M6

ManufacturerPart #DatasheetDescription
logo
Renesas Technology Corp
M37150M6 RENESAS-M37150M6 Datasheet
1Mb / 141P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M306H5MG-XXXFP RENESAS-M306H5MG-XXXFP Datasheet
2Mb / 324P
   SNGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M37225M6 RENESAS-M37225M6_15 Datasheet
1Mb / 128P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37225M6 RENESAS-M37225M6 Datasheet
1Mb / 126P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
logo
Sony Corporation
CXP85890A SONY-CXP85890A Datasheet
167Kb / 6P
   CMOS 8-bit Single Chip Microcomputer
CXP87240A SONY-CXP87240A Datasheet
635Kb / 32P
   CMOS 8-bit Single Chip Microcomputer
CXP872P48A SONY-CXP872P48A Datasheet
638Kb / 32P
   CMOS 8-bit Single Chip Microcomputer
CXP80712B SONY-CXP80712B Datasheet
567Kb / 24P
   CMOS 8-bit Single Chip Microcomputer
CXP818P48A SONY-CXP818P48A Datasheet
547Kb / 26P
   CMOS 8-bit Single Chip Microcomputer
CXP81900 SONY-CXP81900 Datasheet
545Kb / 8P
   CMOS 8-bit Single Chip Microcomputer
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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