EasyManuals Logo
Home>Renesas>Computer Hardware>RL78 Series

Renesas RL78 Series User Manual

Renesas RL78 Series
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1488 background imageLoading...
Page #1488 background image
RL78/F13, F14 CHAPTER 19 DTC
R01UH0368EJ0210 Rev.2.10 1456
Dec 10, 2015
(2) Example 2 of using repeat mode: Outputting a sine wave using the 8-bit D/A converter
The DTC is activated by an interval timer interrupt and the table of the sine wave stored in the data flash memory is
transferred to the 8-bit D/A conversion value setting register.
The timer interval time is set to the D/A output setup time.
ï‚· The vector address is FFC17H and control data is allocated at FFCD8H to FFCDFH.
ï‚· The timer interrupt is assigned to source bumber 23.
ï‚· Transfers 255-byte data of F1200H to F12FEH of the data flash memory to the D/A conversion value setting
register (FFF34H).
ï‚· A repeat mode interrupt is disabled.
Figure 19-25. Example 2 of Using Repeat Mode: Outputting a Sine Wave Using the 8-bit D/A Converter
Caution A D/A converter is provided in the products with 96 Kbytes or more of code flash memory.
DTCCT19 = 01H?
Vector address (FFC17H) = D8H
DTCCR19 (FFCD8H) = 03H
DTBLS19 (FFCD9H) = 01H
DTCCT19 (FFCDAH) = FFH
DTRLD19 (FFCDBH) = FFH
DTSAR19 (FFCDCH) = 1200H
DTDAR19 (FFCDEH) = FF34H
Interval timer interrupt?
D/A conversion value
setting register
DTCBAR = FCH
DTCEN20 = 1
Timer setting
Enabling D/A conversion
Starting timer operation
Data transfer
DTCCT19 = DTRLD19
Data transfer
Data flash
The processing shown inside the dotted
line is automatically executed by the DTC.
To stop the output, stop the timer first and then clear DTCEN20.
12FFH
1200H
No
No
Yes
Yes

Table of Contents

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78 Series and is the answer not in the manual?

Renesas RL78 Series Specifications

General IconGeneral
BrandRenesas
ModelRL78 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals