![](/user_photo/_userpic.png)
- •Preface
- •About this document
- •Intended audience
- •Organization
- •Typographical conventions
- •Timing diagram conventions
- •Further reading
- •ARM publications
- •Feedback
- •Feedback on this document
- •Introduction
- •1.2 AMBA compatibility
- •Functional Overview
- •2.2.1 AMBA APB interface
- •2.2.2 Control logic
- •2.2.3 Drive output logic
- •2.2.4 Synchronizing registers and logic
- •2.2.5 Test registers and logic
- •2.3.1 Interface reset
- •2.3.2 Clock signals
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.3 Register descriptions
- •3.3.1 PMPCON0 [8] (+0x00)
- •3.3.2 PMPCON1 [8] (+0x04)
- •3.3.3 PMPFREQ [8] (+0x08)
- •Programmer’s Model for Test
- •4.2 Scan testing
- •4.3 Test registers
- •4.3.2 PMPTCR [5] (+0x80)
- •4.3.3 PMPTMR [2] (+0x84)
- •4.3.4 PMPTISR [6] (+0x88)
- •4.3.5 PMPTOCR [3] (+0x8c)
- •4.3.6 PMPFC0 [5] (+0x90)
- •4.3.7 PMPFC1 [5] (+0x98)
- •4.3.8 PMPDRVCNT [8] (+0xa0)
- •A.1 AMBA APB signals
- •A.2 On-chip signals
- •A.3 Signals to pads
![](/html/616/253/html_crHd4GIe6r.s1w5/htmlconvd-OPljMF15x1.jpg)
Chapter 2
Functional Overview
This chapter describes the major functional blocks of the ARM PrimeCell DC-DC Converter Interface (PL160) and contains the following sections:
•ARM PrimeCell DC-DC Converter Interface (PL160) overview on page 2-2
•PrimeCell DC-DC Converter Interface functional description on page 2-3
•PrimeCell DC-DC Converter interface operation on page 2-6.
ARM DDI 0147D |
© Copyright ARM Limited 1999. All rights reserved. |
2-1 |
![](/html/616/253/html_crHd4GIe6r.s1w5/htmlconvd-OPljMF16x1.jpg)
Functional Overview
2.1ARM PrimeCell DC-DC Converter Interface (PL160) overview
The PrimeCell DC-DC Converter Interface is a dual-output Pulse Width Modulation (PWM) controller. It can be configured under software control by writing control data via the AMBA APB interface to configure frequency and duty cycle of each output.
The two outputs DCDCDRIVE0OUT and DCDCDRIVE1OUT, can be configured to switch at one of four fixed frequencies with a duty cycle varying from 0 to 15/16 in increments of 1/16.
The module requires a clock signal to be applied to the DCDCCLK input since there is no internal oscillator. The DCDCCLK is internally divided by fixed factors of 16, 32, 128, or 304. If, for example, DCDCCLK is driven with a 28.8MHz nominal frequency, then the selectable drive output frequencies will be 1.8MHz, 900kHz, 225kHz, or 94.7kHz respectively.
This module can be used to implement a DC-DC converter by using the outputs to drive external power MOSFETs in an appropriate power conversion circuit.
The DCDCDRIVE0OUT and DCDCDRIVE1OUT pulses are enabled by the
DCDCFB0 and DCDCFB1 power supply monitor feedback pins.
During power-on reset, the DCDCDRIVE0OUT and DCDCDRIVE1OUT outputs are forced into a high-impedance state. Whilst in this state, the outputs are driven by weak pull-up or pull-down resistors and these values are registered to determine the subsequent drive polarity in each case. Registered LOW values will result in positive pulses, whilst registered HIGH values will result in negative pulses appearing on the respective drive output signals.
It is also possible for each drive output to switch between a pair of preprogrammed frequency/duty cycle combinations. To accomplish this, the external signals DCDCR0SEL and DCDCDR1SEL select one of two frequency and duty cycle configurations for each drive output.
2-2 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0147D |
![](/html/616/253/html_crHd4GIe6r.s1w5/htmlconvd-OPljMF17x1.jpg)
Functional Overview
2.2PrimeCell DC-DC Converter Interface functional description
A block diagram of the PrimeCell DC-DC Converter Interface is shown in Figure 2-1:
PRDATA [7:0] |
PWDATA[7:0] |
PWRITE |
PSEL |
PENABLE |
PADDR [7:2] |
BnRES |
PCLK |
SCANMODE
DCDCCLK
nDCDCRST
|
|
|
|
|
|
|
|
DCDCDRIVEOE |
||||
|
|
|
|
|
Drive 0 Duty |
|
|
|
|
|
||
|
|
|
|
|
|
DCDCDRIVE0OUT |
||||||
|
|
|
|
Control |
Freq Sel 0 |
|
Drive |
|||||
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
DCDCDRIVE1OUT |
||||||||
AMBA |
logic/ |
Drive 1 Duty |
|
output |
||||||||
|
|
|
|
|||||||||
|
|
|
|
|||||||||
APB |
|
registers |
Freq Sel 1 |
logic |
DCDCDRIVE0IN |
|||||||
interface |
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|||||
|
|
|
|
DCDCDRIVE1IN |
||||||||
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DCDCDR0SEL |
|
|
DCDCDR1SEL |
Note: For clarity, test logic is not represented. |
|
DCDCFB0 |
|
||
|
|
DCDCFB1 |
Figure 2-1 PrimeCell DC-DC Converter Interface block diagram
The functions of the PrimeCell DC-DC Converter Interface are described in the following sections:
•AMBA APB interface
•Control logic on page 2-4
•Drive output logic on page 2-5
•Synchronizing registers and logic on page 2-5
•Test registers and logic on page 2-5.
2.2.1AMBA APB interface
The AMBA APB interface generates read and write decodes for accesses to status and control registers (see Figure 2-2 on page 2-4 and Figure 2-3 on page 2-4).
The AMBA APB is a local secondary bus which provides a low-power extension to the higher bandwidth AMBA Advanced High-Performance Bus (AHB), or AMBA Advanced System Bus (ASB), within the AMBA system hierarchy. The AMBA APB groups narrow-bus peripherals to avoid loading the system bus. It provides an interface using memory-mapped registers which are accessed under programmed control.
ARM DDI 0147D |
© Copyright ARM Limited 1999. All rights reserved. |
2-3 |
![](/html/616/253/html_crHd4GIe6r.s1w5/htmlconvd-OPljMF18x1.jpg)
Functional Overview
PCLK
PADDR
PWRITE
PSEL
PENABLE
PWDATA
PCLK
PADDR
PWRITE
PSEL
PENABLE
PRDATA
2.2.2Control logic
DATA
Figure 2-2 AMBA APB write access
DATA
Figure 2-3 AMBA APB read access
The control logic block contains normal and test mode registers which store data written across the AMBA APB. The read/write registers also allow data to be read back on the AMBA APB.
2-4 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0147D |