CDC3205G-C Micronas, CDC3205G-C Datasheet - Page 206

no-image

CDC3205G-C

Manufacturer Part Number
CDC3205G-C
Description
Automotive Controller Family The Device is a Microcontroller For Use in Automotive Applications.the On-chip Cpu is an Arm Processor ARM7TDMI with 32-bit Data And Address Bus, Which Supports Thumb format Instructions.
Manufacturer
Micronas
Datasheet
CDC 32xxG-C
30.2. Registers
A write access to this register starts or stops the gong sound,
while the value written is the initial amplitude. Writing the
value 0x0 into this register during an active gong sound
deactivates the gong sound immediately, while writing a
value > 0x0 is restarting the gong sound immediately with
the new Initial Amplitude.
wnn:
w00:
AMA
This flag indicates an active Audio Module generating a gong
sound.
r1:
r0:
With this register the gong sound frequency is programmed.
The PWM frequency is divided by twice the register value
increased by one.
The value which has to be written, resp. the resulting gong
sound frequency is calculated with:
It’s possible to write a new gong sound frequency during an
active audio module (AMA = ’1’).
AMMCA
w1:
w0:
With the flag AMMCA the Audio Module Maximum Constant
Amplitude mode is selected. If this Flag is set, the gong
sound with the maximum, not decreasing amplitude is avail-
able at the audio module output pin. The only difference
between this tone and a ’normal’ gong sound is the constant,
not decreasing amplitude. The handling of this tone (i.e.
204
w
w
w AMMCA
AMAS
AMF
AMDEC
r
AMA
0
x
0
7
7
-
7
x
0
x
6
x
6
6
-
(Re-)Start gong sound with initial amplitude.
Audio Module Active Flag
Audio Module Maximum Constant
Initial Amplitude
Stop gong sound.
Audio Module is active.
Audio Module is not active.
Amplitude Flag
Activate the AMMCA mode.
Deactivate the AMMCA mode.
AMF
Audio Module Amplitude and Status
Register
Audio Module Frequency Register
Audio Module Decrement Register
x
x
0
x
5
5
5
-
=
Initial Amplitude
F
--------------------------------- 1
AMTrigger
x
0
2F GONG
x
4
x
4
4
-
Sound Frequency
x
x
0
x
3
3
3
-
x
0
0
2
x
2
2
GDF
x
x
0
0
1
1
1
June 12, 2003; 6251-579-1PD
x
0
0
0
x
0
0
Res
Res
Res
Note
Note
Note
start, stop, frequency, duration) is the same. The tone is
started by writing an initial value to AMAS, but this value will
only influence the duration of the tone, not its amplitude.
GDF
This register sets the gong sound duration in dependence of
F
F
frequency of F
tion:
A value of 6 or 7 disables decrease of the amplitude, so a
continuous tone with the initial amplitude will be generated
(F
AMAS or change the gong sound duration factor to let the
tone decay. It’s possible to change GDF during an active
gong sound (AMA = ’1’).
Table 30–1:
AMPRE defines the frequency of the trigger input of the
Audio Module. The AM clock input is divided by the Prescale
Value plus one to derive the trigger frequency F
AMPRE must be greater than zero.
Gong
Gong
Decrement
GDF
0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
w
AMPRE
. With GDF=0 the amplitude will be decreased every
- cycle, values 1 to 5 will result in a amplitude update
1
F Decrement
7
= 0). To stop the continuous tone write a 0x00 to
1
6
Gong sound Duration Factor
Gong
Definition of GDF
AMPRE
gong sound duration factor
1
2
4
8
16
32
continuous tone
Audio Module Prescaler
/ 2 to F
1
5
=
F GONG
---------------------
2
=
Prescale Value
GDF
1
4
------------------------------ - 1
F
PRELIMINARY DATA SHEET
Gong
F AMClock
AMTrigger
/ 32 according to this equa-
1
3
GDF
1
2
=
0
1
1
PWM
5
Micronas
.
1
0
Res
Note

Related parts for CDC3205G-C