upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 846

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Chapter 24
846
Initial Value
Address
Access
Note
(2)
SG0FL - SG0 frequency low register
The 16-bit SG0FL register is used to specify the target value for the PWM
frequency. It holds the target value for the 9-bit counter SG0FL.
This register is can be read/written in 16-bit units. It cannot be written if bit
SG0CTL.PWR = 0.
The SG0FL register can also be read/written together with the SG0FH register
by 32-bit access via the SG0F register.
<base>
0000
For the calculation of the resulting PWM frequency refer to “PWM calculations“
on page 852.
The value written to SG0FL defines also the reference value for the maximum
sound amplitude (100% PWM duty cycle). A 100 % duty cycle (continually
high) will be generated if the SG0PWM value is higher than the SG0FL value.
For details see “PWM calculations“ on page 852).
1.
2.
3.
Preliminary User’s Manual U17566EE1V2UM00
15
R
0
The bits SG0FL[15:9] are not used.
The maximum value to be written is 510 (01FE
frequency of 31.3 KHz. The minimum value to be written depends on the
capability of the external circuit. A value of 255 (00FF
frequency of 62.5 KHz.
The value read from this register does not necessarily reflect the current
PWM frequency, because this frequency is determined by the frequency
compare buffer value. The buffer might not be updated yet.
For details see “Updating the frequency buffer values“ on page 849.
H
14
. This register is cleared by any reset.
R
0
13
R
0
12
R
0
11
R
0
10
R
0
R
9
0
8
7
Counter SG0FL target value
6
H
5
). This yields a PWM
R/W
Sound Generator (SG)
4
H
) would yield a PWM
3
2
1
0

Related parts for upd70f3422gj-gae-qs-ax