Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

Is method for switching TPU counter clock from φ/256 to φ/16 valid?

Latest Updated:03/11/2008

Question:

Is the following method for switching the TPU counter clock from φ/256 to φ/16 valid: set the TGRA of the 16-bit TPU to toggle output, generate a TGRA compare match interrupt, and switch the current TPU counter clock during that interrupt?

Answer:

Yes. However, the counter clock can only be modified by methods which reactivate count after the counter clock has been changed after a count stop.
Suitable Products
H8S/2678, 2678R
H8S/2668
H8S/2655
H8S/2649
H8S/2648, 2646
H8S/2643
H8S/2630, 2639, 2638, 2636, 2635
H8S/2633
H8S/2628
H8S/2615
H8S/2612
H8S/2609
H8S/2607
H8S/2604
H8S/2602
H8S/2556, 2552, 2506
H8S/2472, 2463, 2462
H8S/2378, 2378R
H8S/2368
H8S/2398, 2357
H8S/2355
H8S/2350
H8S/2345
H8S/2339
H8S/2329
H8S/2319
H8S/2282, 2280
H8S/2276
H8S/2268, 2264
H8S/2258, 2239, 2238, 2237, 2227
H8S/2245
H8S/2215
H8S/2214
H8S/2218, 2212
H8S/2189R
H8S/2117, 2117R
H8S/2114R
H8SX/1720S (H8SX/1720, H8SX/1720S)
H8SX/1668R, H8SX/1668M
H8SX/1663
H8SX/1658R, H8SX/1658M
H8SX/1657
H8SX/1653
H8SX/1650, H8SX/1651
H8SX/1648A, H8SX/1648L
H8SX/1638, H8SX/1638L
H8SX/1622
H8SX/1580
H8SX/1568
H8SX/1558
H8SX/1544
H8SX/1520R