Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

R8C/20 Datasheet(PDF) 240 Page - Renesas Technology Corp

Part # R8C/20
Description  MCU R8C FAMILY / R8C/2x SERIES
PDF  501 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/20 Datasheet(HTML) 240 Page - Renesas Technology Corp

Back Button R8C/20 Datasheet HTML 236Page - Renesas Technology Corp R8C/20 Datasheet HTML 237Page - Renesas Technology Corp R8C/20 Datasheet HTML 238Page - Renesas Technology Corp R8C/20 Datasheet HTML 239Page - Renesas Technology Corp R8C/20 Datasheet HTML 240Page - Renesas Technology Corp R8C/20 Datasheet HTML 241Page - Renesas Technology Corp R8C/20 Datasheet HTML 242Page - Renesas Technology Corp R8C/20 Datasheet HTML 243Page - Renesas Technology Corp R8C/20 Datasheet HTML 244Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 240 / 501 page
background image
R8C/20 Group, R8C/21 Group
14. Timers
Rev.2.00 Aug 27, 2008
Page 224 of 458
REJ09B0250-0200
i = 0 or 1, j = either A, B, C or D
NOTE:
1. After a count starts, the PWM period is stable.
Table 14.31
Complementary PWM Mode Specifications
Item
Specification
Count Sources
f1, f2, f4, f8, f32, fOCO40M
External signal input to the TRDCLK pin (valid edge selected by a program)
Set the TCK2 to TCK0 bits in the TRDCR1 register to the same value (same count
source) as the TCK2 to TCK0 bits in the TRDCR0 register.
Count Operations
Increment or decrement
The TRD0 and TRD1 registers are decremented with the compare match in the
TRD0 and TRDGRA0 registers during increment. The TRD1 register is set from
0000h to FFFFh during decrement, the TRD0 and TRD1 registers are incremented.
PWM Operations
PWM period: 1/fk × (m + 2 - p) × 2(1)
Dead time: p
Active level width of normal-phase: 1/fk × (m - n - p + 1) × 2
Active level width of counter-phase: 1/fk × (n + 1 - p) × 2
fk: Frequency of count source
m: Setting value in the TRDGRA0 register
n: Setting value in the TRDGRB0 register (PWM output 1)
Setting value in the TRDGRA1 register (PWM output 2)
Setting value in the TRDGRB1 register (PWM output 3)
p: Setting value in the TRD0 register
Count Start Condition
Write 1 (count starts) to the TSTART0 and TSTART1 bits in the TRDSTR register.
Count Stop Conditions
Write 0 (count stops) to the TSTART0 and TSTART1 bits in the TRDSTR register
when the CSEL0 bit in the TRDSTR register is set to 1.
(The PWM output pin holds output level before the count stops.)
Interrupt Request Generation
Timing
• Compare match (the content in the TRDi register matches with the content in the
TRDGRji register.)
• The TRD1 register undeflows
TRDIOA0 Pin Function
Programmable I/O port or TRDCLK (external clock) input
TRDIOB0 Pin Function
PWM output 1 normal-phase output
TRDIOD0 Pin Function
PWM output 1 counter-phase output
TRDIOA1 PIn Function
PWM output 2 normal-phase output
TRDIOC1 Pin Function
PWM output 2 counter-phase output
TRDIOB1 Pin Function
PWM output 3 normal-phase output
TRDIOD1 Pin Function
PWM output 3 counter-phase output
TRDIOC0 Pin Function
Output inversed every 1/2 period of PWM
INT0 Pin Function
Programmable I/O port, pulse output forced cutoff signal input or INT0 interrupt input
Read from Timer
The count value can be read by reading the TRDi register.
Write to Timer
The value can be written to the TRDi register.
Selection Functions
• Pulse output forced cutoff signal input (refer to 14.3.4 Pulse Output Forced
Cutoff
)
• The active level of normal-phase and counter-phase and initial output level
selected individually.
• Transfer timing from the buffer register selected
• A/D trigger generated
n + 1
Normal-phase
(When “L” is selected for the active level)
Counter-phase
m + 2 - p
n + 1 - p
p
m - p - n + 1



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   |   Datasheet Upload   |   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