Electronic Components Datasheet Search |
|
M37225M6 Datasheet(PDF) 89 Page - Renesas Technology Corp |
|
M37225M6 Datasheet(HTML) 89 Page - Renesas Technology Corp |
89 / 128 page M37225M6/M8/MA/MC-XXXSP, M37225ECSP Rev.1.00 Nov 01, 2000 page 87 of 124 REJ03B0136-0100Z 8.13 CLOCK GENERATING CIRCUIT The built-in clock generating circuit is shown in Figure 8.13.3. When the STP instruction is executed, the internal clock φ stops at HIGH. At the same time, timers 3 and 4 are connected by hardware and “FF16” is set in timer 3 and “0716” is set in the timer 4. Select f(XIN)/16 as the timer 3 count source (set bit 0 of the timer mode register 2 to “0” before the execution of the STP instruction). Moreover, set the timer 3 and timer 4 interrupt enable bits to disabled (“0”) before ex- ecution of the STP instruction). The oscillator restarts when external interrupt is accepted. However, the internal clock φ keeps its HIGH until timer 4 overflows, allowing time for oscillation stabilization when a ceramic resonator or a quartz-crystal oscillator is used. When the WIT instruction is executed, the internal clock φ stops in the HIGH but the oscillator continues running. This wait state is re- leased when an interrupt is accepted (See note). Since the oscillator does not stop, the next instruction can be executed at once. When returning from the stop or the wait state, to accept an interrupt, set the corresponding interrupt enable bit to “1” before executing the STP or the WIT instructions. Note: In the wait mode, the following interrupts are invalid. • VSYNC interrupt • OSD interrupt • Timer 2 interrupt using external clock input from TIM2 pin as count source • Timer 3 interrupt using external clock input from TIM3 pin as count source • Timer 4 interrupt using f(XIN)/2 as count source • Timer 1 interrupt using f(XIN)/4096 as count source • f(XIN)/4096 interrupt • Multi-master I2C-BUS interface interrupt • A-D conversion interrupt • SPRITE interrupt A circuit example using a ceramic resonator (or a quartz-crystal os- cillator) is shown in Figure 8.13.1. Use the circuit constants in accor- dance with the resonator manufacture’s recommended values. A cir- cuit example with external clock input is shown in Figure 8.13.2. In- put the clock to the XIN pin, and open the XOUT pin. Fig.8.13.1 Ceramic Resonator Circuit Example Fig.8.13.2 External Clock Input Circuit Example XIN XOUT CIN Microcomputer COUT XIN Microcomputer Vcc Vss External oscillation circuit Fig.8.13.3 Clock Generating Circuit Block Diagram Interrupt request Interrupt disable flag I Reset SQ R STP instruction SQ R WIT instruction S Q R STP instruction Reset Internal clock φ 1/2 1/8 Timer 3 Timer 4 XOUT XIN TM20 TM22 Selection gate : Connected to black side at reset. TM2 : Timer mode register 2 |
Similar Part No. - M37225M6_15 |
|
Similar Description - M37225M6_15 |
|
|
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 |
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 |